On Mon, 17 Jun 2019 07:34:43 +0200 François Patte francois.patte@mi.parisdescartes.fr wrote:
]# grub2-editenv - list
saved_entry=Fedora (4.10.8-200.fc25.x86_64) 25 (Twenty Five) boot_success=1 boot_indeterminate=1
What does it mean?
I think it means that your last booted kernel is not saved.
f25 is over since years now, why this reference?
Because of a setting in /etc/default/grub.
What's in there?
I recall that my problem occurs since f29 and when I upgraded to f29 kernel updates had not this problem, it occurs only since a few months.
Can't speak to this, I wonder if it was kernel version shift from 5.0 to 5.1, but don't know.
Try adding this to /etc/default/grub GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true And of course removing any other directives like this.
Run grub2-mkconfig -o grub.cfg in /boot/grub2 to generate a new grub.cfg with the changes. Then reboot and select the kernel you want to run.
Then edit /etc/default/grub and remove GRUB_SAVEDEFAULT=true
Then run again grub2-mkconfig -o grub.cfg in /boot/grub2 to generate a new grub.cfg with the change.
From now on, you should default to the kernel you selected. I think. I haven't had this problem, so I can't be sure.