Am 20.04.24 um 23:16 schrieb George N. White III:
I assume you can still boot with manual grub commands.
Yes, linux ..., initrd ..., boot or: >configfile (hd0,1)/grub2/grub.cfg which immediately brings back the grub menu.
Retrace your steps and double check UUID's, other typos, and misplaced quotes. Recheck /etc/fstab and /etc/default/grub. You can also check for errors in the /etc/grub.d/10_linux section of /boot/grub2/grub.cfg.
The only configuration file that I had edited manually was /etc/fstab, all the other ones were created/altered by commands to update grub. As far as I remember, the system simply wouldn't boot if there were a typo in fstab. As described earlier, I always ended up at the grub prompt. What I found: If I write the "real" grub.conf directly to the efi partition (*|grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg), then I boot to the grub menu as desired (I have read in the fedora wiki that I should refrain from this ...). If I reinstall the grub rpms (|*dnf reinstall shim-* grub2-efi-* grub2-common), then a small grub.cfg is written to the efi partition, which simply should point to the location of grub.cfg in /boot/grub2/ - but it doesn't. So the errors seems to be in this file /boot/efi/EFI/fedora/grub.cfg: search --no-floppy --root-dev-only --fs-uuid --set=dev 206c0b5f-eddf-42e8-96f1-e666c5635cd0 set prefix=($dev)/grub2 export $prefix configfile $prefix/grub.cfg But here I am stuck. The UUID above definitely points to the boot partition: [root@localhost ~]# blkid|grep 206c0b5f-eddf-42e8-96f1-e666c5635cd0 /dev/sda1: LABEL="Boot" UUID="206c0b5f-eddf-42e8-96f1-e666c5635cd0" BLOCK_SIZE="1024" TYPE="ext4" PARTUUID="2924c08b -e043-4e4c-94e8-317dfab8b84e" So, writing the actual grub.cfg to the efi partition as mentioned above might be a workaround, but I don't know if this will survive an update of the grub binaries. *||* -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue