On 2026-01-11 04:12 PM, "Michael" <[email protected]> wrote: > When you chrooted into your system, did you mount the ESP at /efi and > the XBOOTLDR partition at /boot?
Yes, of course. > In addition, you need to check the SysRescCD kernel has > CONFIG_EFI_STUB=y - I haven't used it since it moved away from OpenRC. I don't know how to do that, but it has worked well up to now. > > Next, I ran isohybrid from syslinux to make the iso bootable in UEFI, > > dd'd the now UEFI image to USB and tried again. Same result. > > > > One last try: I repartitioned the USB as GPT with a UEFI FAT-32 > > partition and a blank partition, then ran dd again into the blank > > partition. > > > > I still get the same error. > > If the error was about the system *loader*, then I would guess your /efi > and /boot mountpoints were not correctly set. ESP on /efi, the boot partition on /boot. Both FAT32. > In the first instance you can use the efibootmgr command to set up the > desired gentoo kernel image to boot with natively. Once you've booted > back into your restored system you can reinstall/configure your bootctl > setup in the way you're familiar with, without SysRescueCD interfering. I did think of that but something distracted me before I got to it, I'll go back to it. > Alternatively, the UEFI firmware (BIOS) menu may recognise the bootctl > binary in your EFI partition and boot from it, as long as its config is > set up as desired. Nope. It doesn't. Regards, Peter.

