Uploaded image for project: 'Community Linux Engineering'
  1. Community Linux Engineering
  2. CLE-1121

[main] Doc issue in file modules/ROOT/pages/upgrading-fedora-offline.adoc

SetAsigneesSync from "Extern...update-metadata-from-f...XMLWordPrintable

    • rhel-cle-nucleus

      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`:
      ```shell
      $ 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](https://discussion.fedoraproject.org/t/dnf-system-upgrade-docs-grub-reinstall-query/81268) 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](https://fedoraproject.org/wiki/GRUB_2#Instructions_for_UEFI-based_systems) 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.

              Unassigned Unassigned
              cle_bot CLE bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: