On Tue, Oct 29, 2024 at 4:39 PM ToddAndMargo via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > That is what I did. Did ot work: > > # grub2-install /dev/nvme0n1 --force If you are using UEFI, grub2-install is essentially a no-op (unless something weird is going on). Here's why.... Take a look at the output of "sudo efibootmgr" - it will show you the UEFI boot variables and which one you are currently booted from. The variable you are booted from should look something like this: Boot0000* Fedora HD(1,GPT,166f3bf1-cd4a-487e-906a-2b0363cbabcd,0x800,0x64 000)/\EFI\FEDORA\SHIMX64.EFI - This tells you that UEFI used a "Hard Drive" to boot, Hard Drive #1, using a GPT partition table, and the partition with the specified UUID (166f3bf1-cd4a-487e-906a-2b0363cbabcd in this example). Note that this partition must be "vfat", so filenames are case-insensitive. - From that partition, it loads the file "\EFI\FEDORA\SHIMX64.EFI". - That file in turn continues the bootstrap. For this specific case, SHIMX64.EFI loads grubx64.efi from the same directory, which references grub.cfg from the same directory. - grub.cfg tells grub how to find /boot, which it uses to find /boot/grub2/grub.cfg - etc. Note something that is *not* referenced in this process - a MBR boot record. What does grub2-install do? It installs grub2 into the MBR boot record. (It *might* do other things as well, but I don't believe rebuilding the grub2 menu is not one of them.) Hope this helps you or anyone else trying to understand why grub2-install is not typically needed or useful on a UEFI system. -- _______________________________________________ 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