Re: grubby --set-default LOLs at me

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

 



On 9/1/23 03:54, Sam Varshavchik wrote:
Stephen Morris writes:

And at boot/reboot, GRUB had to be configured to read the default
variable to see which menu item to boot.

I lack the perseverance to read through the conglomeration of GRUB menu
files to see what it does these days.

From a google check for the default grub kernel boots it seems that if you add the following two statements into /etc/default/grub and then run grub2-mkconfig grub will use the last selected kernel as the default boot kernel.

GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved

I have never diddled my /etc/default/grub. Currently it has only

GRUB_DEFAULT=saved

a bunch of other stuff, no explicit GRUB_SAVEDEFAULT=true. I wonder what that ends up doing…
My /etc/default/grub is the same. I only ever have 1 kernel entry in the main menu section for Fedora and Ubuntu, the other kernels are in sub-menus. When I boot the Fedora kernel is the first entry in the menu and when the count down timer expires Fedora is booted. I am assuming that if instead I booted into Ubuntu or Windows for that matter the combination of the two statements would cause all subsequent boots to boot either Ubuntu or Windows (depending on which one was booted in to) until such time as a different menu entry was selected and then it would become the default boot entry. Again from what I have read, these two statements don't work if you have booted from a sub-menu, other steps need to be taken to make that entry the default boot entry.

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