Faild to boot VC loader from rescue disk in UEFI mode
Latest Stable Release - 1.26.20
When encrypting system drive(UEFI) VC creates zip archive with rescue disk. I extracted the archive to usb drive(fat 32) and booted PC from it. It shows boot menu with several options, among them there is option 'v' - Boot VeraCrypt loader from rescue disk. When I chose this option, VC loader actually was loaded from system disk(EFI partition), also DcsProp did. I inspected code in file DcsRe.c and found out that on choosing option 'v' funtion ActionDcsBoot is run which is used to run VC loader directly from hard drive. What is sense ? I expected VC loader would run from usb drive as It happens in DiskCryptor. I inspected code in file DcsRe.c of DiskCryptor project for comparation and found out that DCS loader has different function for option 'v' - ActionDcsRecoveryBoot which actually start loader from usb drive instead of system drive.
Why VS rescue disk has such strange behavior? Is it a bug?
I can explain why I need starting loader from usb. In config file we colud set wthis options:
<config key="Pim">0</config>
<config key="PimRqt">0</config>
<config key="AutoLogin">1</config>
<config key="AutoPassword">ХХХ</config>
and encrypted OS will run unatendently without password prompt. It works fine with system disk, but I watned to use external VC loader(on usb drive) with AutoPassword in config and boot OS from usb, but it fails because DcsBoot.efi and DcsProp run from system drive instead of usb.
This scheme works fine with DiskCryptor, but not with VeraCrypt.
Ok, I tried to run DcsBoot.efi manually from usb drive and it ran succesfully, loaded DcsProp from usb, but could not boot OS with error "Password incorrect..." My gues is DcsBoot.efi cann't correctly detect encrypted system drive when runs from usb.
Any idea how to fix it ?
Any idea?