Hello,
I have a standard multiboot setup with BIOS/MBR:

sda             8
├─sda1          8:1    0   1,2G  0 part  SYSTEM_DRV
├─sda2          8:2    0 136,1G  0 part  Windows10_OS
└─sda3          8:3    0    95G  0 part  
  └─cryptroot 253:0    0    95G  0 crypt /

I have successfully completed system encryption based on VeraCrypt's documentation.
In addition I have successfully created VeraCrypt Rescue Disk for MBR legacy boot mode on USB Stick.
(www.veracrypt.fr)
I can boot Windows 10 from this USB stick w/o any problems.

However after re-installing Grub bootloader to /dev/sda I can start VeraCrypts rescue disk, but I cannot boot Windows anymore; I get an error saying "password verification failed".

I created file /etc/grub.d/40_custom with this content based on this documentation:

menuentry "VeraCrypt Rescue Disk" {
   insmod part_msdos
   insmod fat
   insmod ext2
   insmod search_fs_uuid
   search --fs-uuid --no-floppy --set=boot <UUID of /dev/sda1>
   linux16 ($boot)/memdisk iso raw
   initrd16 ($boot)/veracrypt.iso
}

I could repair MBR with VeraCrypt boot loader.
But this would destroy Grub installation and then Grub fails to start.
In my opinion there's a conflict when installing Grub in MBR of /dev/sda with VeraCrypt.

Can you please advise how to fix this?

THX

 

Last edit: Thomas Schneider 2023-11-18