Re: Grub2 now Using the Wrong grub.cfg File?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27/11/22 17:03, Samuel Sieb wrote:
On 11/26/22 21:10, Stephen Morris wrote:
Hi,
     With the install of grub2 2.06.67 in F37 and playing around with trying to eliminate the unicode font signing issue highlighted in another thread, I've now found that grub2 when displaying its boot menus is no longer reading /boot/grub2/grub.cfg, which I believe was introduced into F36 and still continued in F37 until now, but has reverted back to reading /boot/efi/EFI/fedora/grub.cfg.      Does anyone know why this version of grub seems to have moved away from the philosophy of UEFI and legacy boots using the same config file?

On my F37 system, I see this:
# cat /boot/efi/EFI/fedora/grub.cfg
search --no-floppy --fs-uuid --set=dev 45c212f1-cae8-4149-998e-b2cff3447769
set prefix=($dev)/root/boot/grub2

export $prefix
configfile $prefix/grub.cfg

So yes, it might be reading /boot/efi/EFI/fedora/grub.cfg, but all that does is redirect it back to /boot/grub2/grub.cfg.

The /root/boot/grub2 confused me for a moment until I realized that it will be looking at the base btrfs partition and needs to look in the /root volume.
Thankyou Samuel, I had overwritten the file in /boot/efi/EFI/fedora. Removing the file from that folder and downgrading grub2 from 2.06.67 to 2.06.58 put the grub.cfg file back and also created grub.cfg.rpmsave in that folder which was a copy of /boot/grub2/grub.cfg. Also the downgrade to 2.06.58 does not rectify the loadfont secure boot issues, the GRUB_TERMINAL_OUTPUT=gfxterm and GRUB_GFXMODE=3840x2160 issue with them being ignored, the non-display of grub theme issues, and in fact make the secure boot issue introduced in 2.06.63 worse. Grub2 2.06.63 and 2.06.67 seem to potentially be trying to rectify the secure boot font load vulnerability in grub2, but in my view the solutions have stuffed things up. I'm going to reply to the bugzilla note that they have made things worse with their patches. At the moment I don't understand how 2.06.67 could be released to stable when it makes things worse.

regards,
Steve

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux