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…


Attachment: pgpwzWZGSWtPD.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to