After the last update, GRUB timeout was set to 5 seconds (previously it was 0). Will an update be released to fix the issue or do I have to fix it manually?
It is unusual for an update to change grub defaults. You will likely have to fix that manually.
edit /etc/default/grub and edit the line
GRUB_TIMEOUT=0
to
GRUB_TIMEOUT=5
Afterwards, do a grub2-mkconfig -o /boot/grub2/grub.cfg
(if your system is EFI-based) and reboot âŚ
Thanks for your support.
I followed your directions with one further addition:
GRUB_TIMEOUT=0
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Now the countdown has disappeared, but a lyric âBooting FedoraâŚâ appears at boot.
This is the current grub file configuration:
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=â$(sed âs, release .*$,gâ /etc/system-release)â
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=âconsoleâ
GRUB_CMDLINE_LINUX=ârd.luks.uuid=luks-436ff516-5a44-495f-94af-6c27d27754c6 rhgb quietâ
GRUB_DISABLE_RECOVERY=âtrueâ
GRUB_ENABLE_BLSCFG=true
That can be a cause of a future problem. You are not supposed to touch /boot/efi/EFI/fedora/grub.cfg
. You can restore its contents this way.
- remove
/boot/efi/EFI/fedora/grub.cfg
- run
sudo dnf reinstall grub2-common
Then check that the contents looks similar to
search --no-floppy --fs-uuid --set=dev 56a83e29-1e98-44f6-a33e-8988906ef2a1
set prefix=($dev)/boot/grub2
export $prefix
configfile $prefix/grub.cfg
This was an error and has been since about the release of Fedora 34.
Since you overwrote a pointer file you now have to manually repeat the grub2-mkconfig command with each and every kernel update.
To repair the issue please follow the instructions given by @vekruse above.
@vekruse @computersavvy Thank you very much for your precise instructions. I followed everything to the letter and everything seems resolved.
Can I rest assured that I wonât have problems in the future?
We cannot guarantee problems will not occur.
What we can assure you of is that as long as you do not overwrite that file again then normal upgrades should not have the same issue.
@vekruse @computersavvy Allow me to disturb you once again because I noticed that sometimes the lyric âBooting Fedora Linux ⌠Workstationâ still appears. Is there anything I can do?
You get that message when you let the timeout expire to tell you which entry grub has selected for you. If you select and entry before the timeout expires you donât get the message.
Ok but I removed timeout.
GRUB_TIMEOUT=0
That simply means the timeout is 0, thus it times out instantly.
What can I do to hide that text and return to the situation in which it never appeared?