Created attachment 1508659 [details]
flat file (/boot/grub2/grub.cfg); no compression...
Description of problem:
grub.cfg does NOT point to most recent kernel. Rebuilt grub.cfg with grub2-mkconfig -o /boot/grub2/grub.cfg but problem still exists. Current kernel is 4.20.0-0.rc3.git1.1.fc30.x86_64
Version-Release number of selected component (if applicable):
Steps to Reproduce:
grub2 list of kernels appears but does not point to most current kernel. the default kernel entry is about 8 entries below the current kernel.
boot produces a grub2 menu of available kernels. the most current kernel is usually/always at the top.
It's fairly possible it's related to:
I also observe a broken pre-selection problem with current Rawhide,
see the bottom of [bug 1598523 comment 9].
(In reply to George R. Goffe from comment #0)
> Created attachment 1508659 [details]
> flat file (/boot/grub2/grub.cfg); no compression...
> Description of problem:
> grub.cfg does NOT point to most recent kernel. Rebuilt grub.cfg with
> grub2-mkconfig -o /boot/grub2/grub.cfg but problem still exists. Current
> kernel is 4.20.0-0.rc3.git1.1.fc30.x86_64
Can you please provide the output of the following commands:
grub2-editenv list | grep saved_entry
grubby --info ALL
Also, can you try setting the default with:
grubby --set-default /boot/vmlinuz-4.20.0-0.rc3.git1.1.fc30.x86_64
Or whatever is your latest kernel.
If that fail, can you please try to set the saved_entry variable:
grub2-editenv - set saved_entry=$id
where $id is the "id" field shown by grubby --info ALL.
Thank you for your response.
A few days after writing this bug report, I re-installed this system onto a different and larger hard drive. I still have the original hard drive though.
The enclosed file is from the "new" system which I suspect doesn't do you any good. In case I'm wrong, I'm including the log of these commands.
I can send you files from the older system if you'd like to see them. Just give me a list of their names.
Also, in an attempt to resolve the problem, I modified /etc/default/grub (see below). I think that this resolved the problem. I added a commented line "GRUB_SAVEDAFAULT=true" and commented the next line as well.
Here's what that file looks like now.
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_CMDLINE_LINUX="nomodeset net.ifnames=0 biosdevname=0 rd.shell rd.debug log_buf_len=1M"
GRUB_CMDLINE_LINUX="nomodeset net.ifnames=0 biosdevname=0"
I'm concerned that I have muddied the water enough to make trouble shooting difficult to accomplish. I hope not.
Created attachment 1511906 [details]
uncompressed flat modified script file of commands and output.
I have not seen this problem since reporting this bug (and the reinstall of fc30). Dare I suggest that the problem doesn't exist any more?
Thanks for your help!
I’m glad that’s working for you now.
You're welcome and again, thanks for your help/time.
Closing this bug since the reporter said that it works on the current release.