Closed acoul closed 9 months ago
Hi Acoul we are meeting again, here it looks like I have problems with booting multi disk multi system, I hope we will finally solve our troubles.
greetings again,
FWIW, I got a workaround for my issue.
I did rename on the NVME on the EFI/FAT16 partition the EFI\Boot\bootx64.efi to EFI\Boot\bootx64.bak.efi & EfiGuard on the usb key jumped to my external usb win8 system
so for me this is now a feature request rather a bug issue. a menu selection on multiple windows systems found would be handy, but the above workaround works
Hi,
I'm not planning to add a boot selection menu to EfiGuard's loader at the moment, mainly because this is something that would be quite complex to actually do correctly and in a way that covers all use cases. The entire loader app consists of a single C file. Just like the user mode executable, the loader is mostly just a helper tool to make the driver do things. It is definitely not a full blown boot manager like rEFInd or Clover and I'm not planning to make it one.
Reading your description, I do think that what you're trying to do should be possible in some other ways:
Driver####
UEFI variable using bcfg
. To do this you should copy the driver file to the system ESP (not a USB stick) and run in the UEFI shell:
bcfg driver add 00 EfiGuardDxe.efi "EfiGuardDxe"
Assuming your firmware supports this correctly, EfiGuard should now be automatically loaded from the ESP on every boot. NOTE: I've seen systems on which you have to run this command with addp instead of add, and some on which you have to run it with add instead of addp. If it doesn't work with the first command, try again with addp
.
Why do I think doing this will help you here? Because using this setup you no longer need the loader app, which as you've noticed is fairly primitive and not really meant to support interactive boot selection. Instead you should be able to simply use your motherboard firmware's boot selection menu to choose either Windows 7 or 8, and EfiGuard will still be loaded automatically no matter which you choose.thank you so much for your answer and details (which are always) of great value.
reading your elaborate input is like going back to the (good old) university days (really)
best regards
just a quick follow-up on this. I mainly use EfiGuard on my portable usb toolkit disk, thereof a multi-boot feature is a must for my needs
my approach for loading EfiGuardDxe.efi as a device driver is to use ventoy along with GrubFM
when inside GrubFM you may easily navigate and first load EfiGuardDxe.efi as device driver and then navigate and load the desired OS
I have a system with two internal SSDs, one has windows 8 & the other-one windows 7. booting EfiGuard from USB it always defaults on the first system it finds. is there a way for EfiGuard to detect the different systems & have a prompt for specifying which system to boot ?
Edit:
let me try to describe a bit better my goal,
I have created a windows 8.1 using rufus as a Windows-to-Go for USB, meaning it can boot off usb, either on legacy/msdos/mbr or UEFI mode. In my case I am booting in UEFI mode and looking for a way to use EfiGuard & been able to select the OS that I am interested on using.
I have a laptop with an NVME & windows 11 installed along with a Gigabyte BRIX with also an NVME & windows 11 installed, so I don't have an easy access to the internal disks & Bios doesn't offer a disable function of the internal disks.
So I would like to use EfiGuard to UEFI boot the USB windows 8 OS on those systems and perform various tests & tasks. that's my goal
a similar concept to the findroot of SystemRescue