Bug#1026915: grub-install --removable uses CD boot image instead of normal disk boot image
Pascal Hambourg
pascal at plouf.fr.eu.org
Fri Dec 23 21:03:18 GMT 2022
Package: grub-efi-amd64-bin
Version: 2.06-3~deb11u5
Tags: patch
When installing GRUB for UEFI secure boot, "grub-install --removable"
uses the CD boot image gcd{arch}.efi.signed which is designed for CD
boot and lacks encryption, LVM and RAID support. Such image cannot read
/boot on LUKS, LVM or Linux RAID.
The attached patch uses the normal disk boot image grub{arch}.efi.signed
instead. This is now possible because the normal disk image embeds a
config file which searches grub.cfg in $prefix (/EFI/debian) then
$cmdpath (/EFI/BOOT), instead of $prefix only in previous versions. IMO
it would be better to reverse the order, cf. patch attached to bug #925309.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-normal-signed-EFI-disk-boot-image-with-removable.patch
Type: text/x-patch
Size: 2614 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20221223/efa9c85a/attachment.bin>
More information about the Pkg-grub-devel
mailing list