Bug#767037: Grub EFI fallback - patches for review

Steve McIntyre steve at einval.com
Sun Dec 21 20:24:08 UTC 2014


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'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.

Definitely, yes. dpkg directly on VFAT is a no-go.

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
Can't keep my eyes from the circling sky,
Tongue-tied & twisted, Just an earth-bound misfit, I...



More information about the Pkg-grub-devel mailing list