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@xxxxxxxxxxxxxxxxxxxxxxx
From: Samuel Sieb <samuel@xxxxxxxx>
Send reply to: Community support for Fedora
users <users@xxxxxxxxxxxxxxxxxxxxxxx>
> 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.
In looking at stuff found something strange?
Don't recall any machine setup with efi boot, but found
this?
On the machine that doesn't boot
/boot/grub.env has
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
saved_entry=0
boot_success=1
boot_indeterminate=0
/boot/efi/EFI/fedora has
# GRUB Environment Block
saved_entry=be4e5629d05040d192af245eeace0de2-5.14.12-100.fc33.x86_64
boot_success=0
kernelopts=root=UUID=a6fe5146-7a91-4f6d-ad5f-b04f68d46316 ro
resume=UUID=bb597a53-7ccc-44b5-bf2c-9ebc40564f7f rhgb quiet
boot_indeterminate=1
Not sure what created that resume option, or why it
would cause a change in boot, since it isn't EFI??
Machine that isn't auto booting has
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 17498111 15398912 7.3G 82 Linux swap / Solaris
/dev/sda3 17498112 164298751 146800640 70G 83 Linux
/dev/sda4 164298752 976773119 812474368 387.4G 5 Extended
/dev/sda5 164300800 976773119 812472320 387.4G 83 Linux
So don't see an EFI partition?
On this noteboot
/boot/grub2/grubenv has
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
saved_entry=189711f94e78436d9618b891a8fce70e-5.16.17-100.fc34.x86_64
boot_success=1
boot_indeterminate=0
/boot/efi/EFI/fedora has
# GRUB Environment Block
saved_entry=189711f94e78436d9618b891a8fce70e-5.14.12-100.fc33.x86_64
boot_success=0
boot_indeterminate=1
kernelopts=root=UUID=12b58c6d-c9f1-4ffe-ba7a-aa816f762ba3 ro rhgb quiet
Original response I had started before I notice
boot/efi/EFI/fedora/grubenv issue??
Thanks.
Bios boot on all 5 machines.
terminal_output console
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style
feature is
# unavailable.
else
set timeout=5
fi
The grub.cfg file between two machines is identicle
between two machines with exception of one machine
having msdos5 instead of msdos1 because notebook
original had windows 7 partition, and windows 7 boot
option.
Only other difference are lines theses a6fe.. and 8410..
lines.
set kernelopts="root=UUID=a6fe5146-7a91-4f6d-ad5f-b04f68d46316 ro rhgb quiet "
search --no-floppy --fs-uuid --set=root 8410d98a-36ea-4189-80e0-8cd00f2eec66
The rest in the grub.cfg same.
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure