#839 grub2 reinstall information is out-of-date
Closed by bcotton. Opened by ctubbsii.

The current information for resetting and reinstalling grub2 is out of date:

https://docs.fedoraproject.org/en-US/fedora/latest/system-administrators-guide/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader/#sec-Resetting_and_Reinstalling_GRUB_2

This doesn't address the BootLoaderSpec layout or the fact that the grub.cfg file generated by grub2-mkconfig is in /boot/grub2/, not the EFI partition. There's a separate minimal grub.cfg in the fedora directory of the EFI partition, but that's not the file to edit if things are going to be reset.

It also references /etc/sysconfig/grub, which is removed in Fedora 36.


I also saw a recent kernel update (or maybe it was an update to F36) mangle my grub entries by putting stuff in the EFI partition instead of in /boot. When it did so, it also tried to create a subdirectory for the machine-id, and none of this new layout is described in these docs.

@ctubbsii can you please file this against the System Administrator Guide? https://pagure.io/fedora-docs/system-administrators-guide/new_issue?title=[f36]%20Doc%20issue%20in%20file%20modules/system-administrators-guide/pages/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader.adoc

The bug icon in the upper-right of each page will take to the appropriate repo for that page.

Metadata Update from @bcotton:
- Issue status updated to: Closed (was: Open)

https://pagure.io/fedora-docs/system-administrators-guide/issue/80

Metadata