Klaus-Peter Schrage composed on 2024-04-21 18:15 (UTC+0200): ... It really doesn't take much to load a kernel and initrd. All my EFI PCs have only one Grub installation, even though there are upwards of 12 distros installed on each PC, no VMs. One of the latest updated hosts this:
menuentry "Fedora 40 defkernel 3 on P14" { load_video set gfxpayload=keep search --no-floppy --set=root --hint-baremetal=ahci0,gpt14 --label tg1p14f40 3 linux /boot/vmlinuz root=LABEL=tg1p14f40 noresume audit=0 initrd /boot/initrd } That stanza lives in nvme0n1p7's /boot/grub2/custom.cfg, which is 100% under my own control, and is automatically offered by the installed Grub's /boot/grub2/grub.cfg. That file is pointed to by /EFI/<distroid>/grubx64.efi on the ESP, as directed by NVRAM, which ATM has only 2 entries: # efibootmgr BootCurrent: 0000 Timeout: 1 seconds BootOrder: 0000,0001 Boot0000* <distroid> HD(1,GPT,<...>1b27,0x800,0xa0000)/File(\EFI\<distroid>\grubx64.efi) Boot0001* UEFI OS HD(1,GPT,<...>1b27,0x800,0xa0000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f # Where you see <distroid> above is the actual value in /etc/default/grub's GRUB_DISTRIBUTOR= on EXT4-formatted nvme0n1p7. If you can correctly equate your installed values for those in my Grub stanza above, you should be able to boot by typing in each of the necessary lines from your grub> prompt to get booted. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue