Re: GRUB_DEFAULT entry

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

 



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



[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