From 5fb01149ef1cecc36b261094b304ff0654bb7ae3 Mon Sep 17 00:00:00 2001 From: kavsrf Date: Sat, 17 Sep 2016 01:00:44 +0300 Subject: DcsRe select volume is added to boot from usb Notes (7.2, 7.4) --- DcsRe/DcsRe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'DcsRe') diff --git a/DcsRe/DcsRe.c b/DcsRe/DcsRe.c index 9c59dfc..7d08d50 100644 --- a/DcsRe/DcsRe.c +++ b/DcsRe/DcsRe.c @@ -151,7 +151,9 @@ ActionShell() { EFI_STATUS ActionDcsBoot() { - return EfiExec(NULL, L"EFI\\VeraCrypt\\DcsBoot.efi"); + SelectEfiVolume(); + if (EfiBootVolume == NULL) return EFI_NOT_READY; + return EfiExec(gFSHandles[EfiBootVolumeIndex], L"EFI\\VeraCrypt\\DcsBoot.efi"); } CHAR16* DcsBootBins[] = { -- cgit v1.2.3