Hi Carl! On Mon, Mar 09, 2026 at 12:21:40PM -0500, Carl Karsten wrote: >I am trying to replace syslinux with grub to support efi on hd-media >some background: >https://salsa.debian.org/installer-team/debian-installer/-/merge_requests/7# >note_75072 > >In poking around, I got lost. I suspect I need help with grub.conf, where to >put it and what goes in it. > >I wrote a script that builds an image, but doesn't ... boot grub I think? > >I see gen-hd-image and efi-image which seems like things I should use. > >Here is my failing attempt >https://salsa.debian.org/carlfk-guest/debian-installer/-/blob/hd-grub/build/ >util/mk_hd_grub.sh > >I test with qemu -bios OVMF.fd >I end up at an efi shell > >UEFI Interactive Shell v2.2 >EDK II >UEFI v2.70 (Debian distribution of EDK II, 0x00010000) >Mapping table > FS0: Alias(s):HD1a0b:;BLK2: > PciRoot(0x0)/Pci(0x1,0x2)/USB(0x0,0x0)/HD(1,MBR,0x69AD6B31) > BLK0: Alias(s): > PciRoot(0x0)/Pci(0x1,0x1)/Ata(0x0) > BLK1: Alias(s): > PciRoot(0x0)/Pci(0x1,0x2)/USB(0x0,0x0) >Press ESC in 4 seconds to skip startup.nsh or any other key to continue. >Shell>
If you're seeing this, then you don't have a bootloader in the removable media path [1]. You're not even getting as far as loading grub here. You'll need to copy one of the grub binaries from grub-efi-$ARCH-signed into place. There's a selection of different grub binaries in that package to choose from, depending on what modules you want included. [1] https://wiki.debian.org/UEFI#Booting_from_removable_media -- Steve McIntyre, Cambridge, UK. [email protected] Into the distance, a ribbon of black Stretched to the point of no turning back

