Product SiteDocumentation Site

21.7.2. Reinstalling GRUB 2 on UEFI-Based Machines

When using the dnf reinstall grub2-efi shim command, the boot information is updated and missing files are restored. Note that the files are restored only if they are not corrupted.
Use the dnf reinstall grub2-efi shim command to reinstall GRUB 2 if the system is operating normally. For example:
~]# dnf reinstall grub2-efi shim