I am experimenting with EFI bootloaders and there's something I don't understand. That's the situation:
I compiled by scratch grub2.
Formatted a USB drive with an EFI partition and placed the obtained bootx64.efi and grub.cfg in /EFI/BOOT. The USB drives boots correctly.
If I replicate point 2 using an SSD drive, the system does not boot!
I found out that placing bootx64.efi in Microsoft/Boot/bootmgfw.efi makes the system bootable.
So, my question(s):
Is it possible that USB drives have a fallback different from hard drives? Or, why is not my system booting from SSD using the fallback /EFI/BOOT/bootx64.efi?
Thanks,
Alain.
bootx64.efi
? If so, you won't be able to use the fallback location to boot Ubuntu (without making your other OS unbootable). Also,grub.cfg
should be at/boot/grub/grub.cfg
(not necessarily on the EFI partition). – Daniel M. May 13 '20 at 11:36