VeraCrypt-DCS icon indicating copy to clipboard operation
VeraCrypt-DCS copied to clipboard

Feature Request: Veracrypt.cfg for bootloader

Open cerberii opened this issue 7 years ago • 1 comments

Need to specify change for firmwares without writable nvram. Without external bootloader, manual setup leads to bootloop.

Feature Request: Allow this option to be read from a text file or configuration file.

veracrypt/Veracrypt-dcs/DcsBoot/DcsBoot.c

line 28: CHAR16 *gEfiExecCmdDefault = L"\EFI\Microsoft\Boot\Bootmgfw.efi";

ex: installing ubuntu requires renaming ubuntu efi boot file in \EFI\Microsoft\Boot\Bootmgfw.efi , to allow to boot ubuntu, then chaning bootmgfw.efi to a different directory so ubuntu grub can load windows. FDE on these systems does not "work" without manually loading the veracrypt EFI file each time, and will fail preboot test, unless user intervene's and selects proper boot file for verqcrypt EFI loader.

cerberii avatar Dec 04 '17 18:12 cerberii

It's a bit late, but have you tried changing the DcsProp file on the external bootloader? It should allow you to specify the file() to boot into under the ActionSuccess property. https://github.com/veracrypt/VeraCrypt-DCS/blob/master/Library/VeraCryptLib/DcsProp

Sadly this file doesn't seem to be documented, like at all. I've only found out about it through various unrelated forum posts and checking the files on the EFI partition myself.

cerlestes avatar Dec 22 '19 17:12 cerlestes