Got it working, but no clue what did it??
Had booted and just got menu list again.
Then went to grub command prompt and echo timeout 
value and nothing showed? So set it to 5, and then did 
exit. 
It then went back to menu, but did the timeout, but then 
it got in some loop? So had to hard reset it.
Then it seemed to boot, but grubenv had saved value as 
0.

Found instructions to reset saved entry, but they didn't 
work, since they were getting menu enter from grub.cfg, 
which no longer has the kernel entries.

Did this to set the grubenv to list the latest kernel.
Don't know if this would always work.

grub2-editenv - set saved_entry=$(ls -1 
/boot/loader/entries/ | tail -n 1 | sed 's/.conf//')

But now grubenv has this as beginning lines.
cat grubenv
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than 
grub-editenv!!!
saved_entry=be4e5629d05040d192af245eeace0de2-5.16.
17-100.fc34.x86_64
boot_success=1
boot_indeterminate=0

Noticed in a number of places it still shows grub- instead 
of the grub2-
Did also notice that sometimes shows boot_success=0 
right after boot, but then it changes to the =1??



On 29 Mar 2022 at 12:32, Samuel Sieb wrote:

Date sent:              Tue, 29 Mar 2022 12:32:43 -0700
Subject:                Re: Have one of 5 machines that no longer 
autoboots??
To:                     users@lists.fedoraproject.org
From:                   Samuel Sieb <sam...@sieb.net>
Send reply to:          Community support for Fedora 
users <users@lists.fedoraproject.org>

> On 3/29/22 06:37, Michael D. Setzer II via users wrote:
> > Have 5 Fedora Linux machines at home. 3 with Fedora 34
> > and 2 with Fedora 35.
> > One of the Fedora 34 machines after kernel upgrade two
> > times ago has stopped auto booting?? Comes up with
> > grub menu and sits there doing nothing?
> > Pressing the Enter key has it boot the highlighted top
> > latest kernel, and it then works fine.
> 
> I haven't seen this with any of the many computers I've upgraded.  Is 
> this EFI or BIOS boot?  Look in /boot/grub2/grub.cfg and see if there is 
> a "set timeout=5" section somewhat near the top.
> _______________________________________________
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure


_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to