GRUB_TIMEOUT isn't working as expected

Bug #1837948 reported by QkiZ
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have always same GRUB settings, like below (/etc/default/grub):

GRUB_DEFAULT="0"
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="splash"
GRUB_CMDLINE_LINUX=""
GRUB_INIT_TUNE="480 440 1"
export GRUB_MENU_PICTURE="/home/qkiz/Obrazy/tapety/wallhaven-360496.jpg"
export GRUB_COLOR_NORMAL="light-gray/black"
export GRUB_COLOR_HIGHLIGHT="red/black"

GRUB_TIMEOUT is set to 5 seconds but when GRUB is loaded I need to wait 30 seconds to load default OS if I didn't select by hand.

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: grub-pc 2.02+dfsg1-12ubuntu2
ProcVersionSignature: Ubuntu 5.0.0-20.21-lowlatency 5.0.8
Uname: Linux 5.0.0-20-lowlatency x86_64
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
Date: Thu Jul 25 23:42:22 2019
SourcePackage: grub2
UpgradeStatus: Upgraded to disco on 2019-05-01 (84 days ago)
modified.conffile..etc.default.apport:
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo service apport start force_start=1
 enabled=0
mtime.conffile..etc.default.apport: 2018-10-22T20:30:51.046565

Revision history for this message
QkiZ (qkiz) wrote :
Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

It looks like your last boot failed somehow.
Try to add this to /etc/default/grub to get 10 seconds recordfail timeout:
GRUB_RECORDFAIL_TIMEOUT=10

Perhaps your hard disk was not unmounted clean.
Could you check your hard disk with fsck from live usb or recovery mode?

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
QkiZ (qkiz) wrote :

After setting GRUB_RECORDFAIL_TIMEOUT=5 and update-grub command countdown is set to 5 seconds, as expected. System is closing or restarting without any problem. I'm using BTRFS on root partition and boot partitions and file system doesn't report any problems.

Changed in grub2 (Ubuntu):
status: Incomplete → New
Revision history for this message
Jouni Mettala (jouni-mettala) wrote :
Revision history for this message
QkiZ (qkiz) wrote :

Yes, I'm booting via UEFI and using LVM

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.