After the last update, GRUB timeout was set to 5 seconds

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 …

See also Working with the GRUB 2 Boot Loader :: Fedora Docs

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
2 Likes

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?