#677 Describes issue #639
Closed 2 years ago by pbokoc. Opened 3 years ago by quiet.
Unknown source iss639  into  f34

@@ -3,3 +3,13 @@

  

  [[select-distribution]]

  = Distribution-wide Changes

+ 

+ == Unify the location of GRUB configuration files across all supported CPU architectures

+ 

+ This change simplifies the GRUB configuration file, improves overall user experience, and also provides the following notable benefits:

+ 

+ * Allow the same installation to be booted with either EFI or legacy BIOS

+ * Use the same documentation and commands for all architectures

+ * Make GRUB configuration tools more robust by not relying on symbolic links to be created and not having to handle platform specific cases

+ * Align with images generated by CoreOS Assembler (COSA) and OSBuild on how the GRUB configuration files are used

+ * Align with other Linux distributions on how the GRUB configuration files are used

Hello @javierm,

could you please review my draft for a release note of Changes/UnifyGrubConfig?

Thanks,

@quiet looks good to me. Thanks!

BTW, I think that https://fedoraproject.org/wiki/GRUB_2#Create_a_GRUB_2_configuration will need to be updated too.

We should add a warning that /boot/efi/EFI/fedora/grub.cfg is a special stub file that forwards to the real grub.cfg in /boot/grub2/ and it should not be replaced. The proper command to refresh grub.cfg on any firmware type is grub2-mkconfig -o /boot/grub2/grub.cfg For making routine changes to boot parameters and default kernel, it is recommended to use the grubby utility.

@quiet looks good to me. Thanks!

BTW, I think that https://fedoraproject.org/wiki/GRUB_2#Create_a_GRUB_2_configuration will need to be updated too.

@pbokoc should i try to take care of that?

Looks good to me; if anyone has anything to add, please open an issue or a PR, or just ping me on IRC.

Merged locally due to conflicts.

@quiet If you want to then go right ahead :) You should have wikiedit permissions. If you don't have permissions, or if you don't have time to fix it on wiki, then ping me and I'll handle it.

Pull-Request has been closed by pbokoc

2 years ago

We should add a warning that /boot/efi/EFI/fedora/grub.cfg is a special stub file that forwards to the real grub.cfg in /boot/grub2/ and it should not be replaced. The proper command to refresh grub.cfg on any firmware type is grub2-mkconfig -o /boot/grub2/grub.cfg For making routine changes to boot parameters and default kernel, it is recommended to use the grubby utility.

@chrismurphy

I think I will use your ticket issue #352 as a source of instructions on what needs to be done. Because /boot/efi/EFI/fedora/grub.cfg file is only in Fedora 33 and older. Therefore in https://fedoraproject.org/wiki/GRUB_2#Create_a_GRUB_2_configuration, we would have to produce content specific to Fedora 34, and content specific to older versions.

Metadata