chenall / grub4dos

外部命令和工具源码:https://github.com/chenall/grubutils 下载:
http://grub4dos.chenall.net
GNU General Public License v2.0
654 stars 136 forks source link

Veracrypt Rescue Disk ISO does not work with G4D #441

Open dedededududu opened 1 month ago

dedededududu commented 1 month ago

Dear Maintainer @yaya2007 @a1ive @chenall,

The veracrypt rescue disk can boot from G4D. However the password entered is always incorrect and fails to decrypt the system.

title veracrypt
  find --set-root --ignore-floppies --ignore-cd /veracrypt.iso
  map /veracrypt.iso (hd32)
  map --hook
  root (hd32)
  chainloader (hd32)

I tried to swap the disks like below and the partition table is not found, so I can not type the password.

title veracrypt
  find --set-root --ignore-floppies --ignore-cd /veracrypt.iso
  map /veracrypt.iso (hd32)
  map (hd0) (hd1)
  map (hd1) (hd0)
  map --hook
  root (hd32)
  chainloader (hd32)

Now I found a tricky workaround that works like this: This workaround does not require swapping the disks with the map command.

First: Boot encrypted veracrypt main disk system bootloader (main regular hard drive) Second: Press ESC inside the veracrypt bootscreen and type the number to boot the USB partition containing Grub4DOS with veracrypt rescue disk ISO (no disk swapping) Third: Enter password, the password is correct and the system is booting

However this workaround is not good as it requires the main disk to work. The rescue disk is about repairing if something goes wrong on the main disk...

So I think there is a disk mapping problem. I tried many different ways to map the disks, and none would work.

Do you have an idea?

Thank you very much.