Improve EFI detection by checking for /sys/firmware/efi
It might be possible that we can load the efivars module, while /sys/firmware/efi still doesn't exist and efibootmgr then fails to execute. We noticed this on Hetzner's Dell PowerEdge™ R6515 DX181 server, which was booted in BIOS mode via PXE, while the hardware itself is EFI capable. Loading the efivars module worked there, but invoking efibootmgr then fails, and the resulting system isn't bootable. Thanks: Darshaka Pathirana for reporting and feedback
parent
8f673fa8
Please register or sign in to comment