grub2 always defaults to old kernel despite correct configuration

2019-11-05 Thread Not Random
Hello, I've had a confusing problem with grub2 for some time now. I'm now running Fedora 31, but ever since upgrading to to Fedora 30 grub has always defaulted to selecting the 3rd entry. This means that unless I stop it, Grub will always boot my oldest installed kernel. * My system is dual

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-07 Thread Not Random
Thank you! I wrote that post from memory, so please excuse the mistake with the grub2 switch, without that switch the correct kernel is returned as the default boot kernel. While I could remove the Fedora 30 kernel(s), that doesn't fix the problem. As soon as I end up with 3 bootable kernels

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-07 Thread Not Random
I just tested removing one of the old kernels again. It is still stubbornly booting the 3rd entry, which is now the Recovery option! ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-07 Thread Not Random
I bet it's something to do with the change to BootLoaderSpec-style configuration files in fedora 30! https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to u

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-07 Thread Not Random
Thanks! # grub2-editenv list saved_entry=2dc3a3c6f8494c8fb93c27f99dc3a246-5.3.8-300.fc31.x86_64 boot_success=1 boot_indeterminate=0 kernelopts=root=UUID=ac6336b1-7fd2-43d7-af44-51b592f3ab8f ro rhgb quiet For reference, I now have 2 Fedora 31 kernels: # rpm -q kernel kernel-5.3.7-301.fc31.x86_64

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-08 Thread Not Random
> What is the output of "grub2-editenv list"? As mentioned: # grub2-editenv list saved_entry=2dc3a3c6f8494c8fb93c27f99dc3a246-5.3.8-300.fc31.x86_64 boot_success=1 boot_indeterminate=0 kernelopts=root=UUID=ac6336b1-7fd2-43d7-af44-51b592f3ab8f ro rhgb quiet The saved_entry field matches what grubb

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-08 Thread Not Random
> I have no idea how it determines the newest, but the saved > kernel is saved in the grubenv file which you can edit > with the grub2-editenv command (but only after getting > hundreds of errors because the command line syntax > for editenv is very obscure and easy to scre up :-). Thank you. T

Re: grub2 always defaults to old kernel despite correct configuration

2019-11-09 Thread Not Random
> I think the problem is that just tells Fedora to use the previously > saved entry as its default, and there's other things (perhaps more than > one) that determine what will actually be the default. > > In the old grub (which was easier to follow the instructions) if you > wanted a particular bo