On 7/6/21 11:32 AM, Jonathan Billings wrote:
On Tue, Jul 06, 2021 at 10:11:01AM -0400, Robert McBroom via users wrote:
grub seems to now ignore the settings in /etc/default/grub. What is needed
to restore the function of setting a specific boot option?
I've noticed that GRUB2 on Fedora uses BootLoaderSpec (see this page:
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault ),
however, if you (or an RPM scriptlet) uses the 'grubby' command to
change the kernel parameters, in the individual /boot/loader/entries/
files, the 'options $kernelopts' line is replaced with the full kernel
options, and they're never updated again even if you change the
/etc/default/grub settings. FWIW, the nvidia packages use grubby in
an RPM post script, so people who use those often run into this.
It looks like this has been reported:
https://bugzilla.redhat.com/show_bug.cgi?id=1651686
I'm not sure if Fedora needs to do a better job documenting this
behavior, or if it should just be fixed so people aren't confused by
this. Maybe something like "These settings only affect when the system
is loaded and changing them won't affect a running system's grub" in
the /etc/default/grub file?
I typically have several different OS in stanzas in
/etc/grub.d/06_custom. They don't go through
/boot/loader/entries/
GRUB_DEFAULT
in /etc/default/grub would select the system I wanted to use for a session from the menuentry until edited.
typically these were CENTOS systems that had the legacy support the codes I use needed.
That functionality appears to have been lost.
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure