Bug#767037: Grub EFI fallback - patches for review

David Härdeman david at hardeman.nu
Mon Dec 22 20:21:40 UTC 2014


On Sun, Dec 21, 2014 at 08:24:08PM +0000, Steve McIntyre wrote:
>On Sun, Dec 21, 2014 at 10:49:59AM +0000, Ian Campbell wrote:
>>On Sat, 2014-12-20 at 09:45 +0100, David Härdeman wrote:
>>> one option that doesn't seem to have been considered would be to create
>>> a separate package (let's call it UEFIx) that installs an UEFI binary to
>>> EFI/boot/bootx64.efi. That binary could then do what the UEFI BIOS
>>> should've done (i.e. look at the EFI vars for bootorder, bootnext, etc
>>> and then go on to load the right bootloader).
>>
>>Interesting idea, does this stub bootloader already exist, or is it
>>something someone would need to write? (Either way I think it's likely
>>too late for Jessie, but perhaps something to think about for Stretch)
>
>Exactly. :-/

I tried writing a stub bootloader. It works fine in a TianoCore QEMU
environment....unfortunately it's a no go on my HP laptop (8570p). The
HP UEFI BIOS helpfully deletes the BootOrder variable altogether :/

So...it was a promising idea, but one that won't work :(

-- 
David Härdeman



More information about the Pkg-grub-devel mailing list