#716 [main] Doc issue in file modules/ROOT/pages/upgrading-fedora-offline.adoc
Opened a month ago by viniliuti. Modified a month ago

Hello!

Under Optional post-upgrade tasks the Update GRUB bootloader on BIOS systems section doesn't mention how would that GRUB update could be done if the user has UEFI instead of BIOS.

I was getting the following error when trying to execute grub2-install:

$ sudo grub2-install /dev/nvme0n1p5
grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.

I've found this discussion regarding the same issue and installed grub2-efi-x64-modules which solved the issue above, but a different error happened after that.
Reading the discussion carefully someone links to this doc on how to update GRUB on a UEFI system and that has a big warning to not use grub2-install:

Do not use the grub2-install command on UEFI systems. On those systems, bootloaders are in the shim and grub-efi RPM packages. By reinstalling those packages, the bootloaders are reinstalled to their proper location in /boot/efi/ on the EFI System volume.

I almost broke my installation trying to make the BIOS update work so maybe the docs could have improved information on this topic.


Login to comment on this ticket.

Metadata