Bug 1197315 - Timeout settings are ignored by grub2
Summary: Timeout settings are ignored by grub2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-28 09:55 UTC by mikey
Modified: 2015-02-28 16:09 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-28 16:09:38 UTC
Type: Bug


Attachments (Terms of Use)
grub settings (274 bytes, text/plain)
2015-02-28 10:01 UTC, mikey
no flags Details
generated grub 2 cfg (5.17 KB, text/plain)
2015-02-28 10:02 UTC, mikey
no flags Details

Description mikey 2015-02-28 09:55:36 UTC
Description of problem:

Setting grub2 time out setting in /etc/default/grub (and confirmed in /boot/grub2/grub.cfg) do not change the timeout behaviour of the grub2 menu - still 5s timeout. 


Version-Release number of selected component (if applicable):

Installed Packages
Name        : grub2
Arch        : x86_64
Epoch       : 1
Version     : 2.02
Release     : 0.13.fc21

How reproducible:

Always. Tested on 2 machines, running Fedora 21 Workstation x86_64

Steps to Reproduce:
1. sudo sed -i "s/^GRUB_TIMEOUT=[0-9]\+/GRUB_TIMEOUT=1/" /etc/default/grub
2. sudo grub2-mkconfig -o /boot/grub2/grub.cfg
3. reboot
4. look for timeout countdown on grub2 menu

Actual results:

5s countdown

Expected results:

1s countdown

Additional info:

Checked /boot/grub2/grub.cfg and confirmed that timeout is being set to 1s (see attached file). However it is being ignored. 

Also experimented with settings for GRUB_HIDDEN_TIMEOUT and it behaves in the same way.

Comment 1 mikey 2015-02-28 10:01:55 UTC
Created attachment 996421 [details]
grub settings

Comment 2 mikey 2015-02-28 10:02:39 UTC
Created attachment 996422 [details]
generated grub 2 cfg

Comment 3 mikey 2015-02-28 16:09:38 UTC
Ah.... just discovered that UEFI systems expect a different command to update grub2 than non UEFI systems:

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Running this and naturally the issue disappears. My mistake.


Note You need to log in before you can comment on or make changes to this bug.