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

Package:
grub2
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (dummy package)
Submitter:
Christoph Pleger
Date:
2021-12-30 14:09:04 UTC
Severity:
wishlist
#1002870#5
Date:
2021-12-30 13:58:56 UTC
From:
To:
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