Bug#1002870: grub2: Please add package grub-rescue-efi-amd64

Christoph Pleger Christoph.Pleger at cs.tu-dortmund.de
Thu Dec 30 13:58:56 GMT 2021


Package: grub2
Version: 2.04-20
Severity: wishlist

Dear Maintainer,

the current grub2 source package creates a grub-rescue-pc binary
package, but not a grub-rescue-efi-amd64 package. Please consider to
add the latter. My attachment shows how that can be done.

I my opinion, a main advantage of that package would be that, as I
found out by searching through the grub2 source code and by
experimenting a little, with xorriso 1.2.9 or later, if one takes the
file eltorito.img from the ISO in grub-rescue-pc and the efi.img from
the ISO in grub-rescue-efi-amd64, an ISO that can be burned on CD/DVD
or dd'ed to an USB stick and in both cases is bootable with BIOS and
with UEFI, can easily produced with a command similar to this:

xorriso -as mkisofs -V 'INST_IMAGE' -o ../inst.iso 
--grub2-boot-info --grub2-mbr usr/lib/grub/i386-pc/boot_hybrid.img
-b boot/grub/i386-pc/eltorito.img -boot-load-size 4 -boot-info-table
-no-emul-boot -eltorito-alt-boot -e boot/grub/x86_64-efi/efi.img
-no-emul-boot .

This way, installation and live CDs/DVDs and USB-Sticks can be created
only with Grub, so that isolinux with its own menu configuration file
is not needed anymore.

Regards
  Christoph

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-10-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages grub2 depends on:
ii  grub-common  2.04-20
pn  grub-pc      <none>

grub2 recommends no packages.

grub2 suggests no packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2_2.04-21.debian.tar.xz
Type: application/x-xz-compressed-tar
Size: 1161372 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20211230/7c3cc0a3/attachment-0001.bin>


More information about the Pkg-grub-devel mailing list