Re: Bug#767037: Grub EFI fallback - patches for review
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)
I'd also have some worries about packages installing to /boot/EFI since
that is by definition going to be a VFAT filesystem and I'm not
confident that dpkg will work fully/safely without all the POSIX-ish
semantics (hardlinks, atomic updates and the like), might want to handle
that by installing via the postinst instead of shipping in /boot/EFI.