[Bug 1273764] Re: Grub ignores TIMEOUT options on /etc/default/grub
Tony Beta Lambda
1273764 at bugs.launchpad.net
Sat Apr 7 14:44:45 UTC 2018
After reading quick_boot.patch, I think the environment variable
$quick_boot (set by default) was added in order to give the user an
option to force timeout to be 0. However, the test seems reversed to
me:
if [ "$quick_boot" = 1 ] && [ "x${found_other_os}" != "x" ]; then
cat << EOF
set timeout_style=menu
if [ "\${timeout}" = 0 ]; then
set timeout=10
fi
EOF
fi
meaning timeout is increased to 10 when $quick_boot is set, which is not
what I'll call "quick_boot". I suggest changing it to "$quick_boot" =
0.
And there should be a way to modify this variable somewhere else, since
any change to the file itself will get overridden in an upgrade.
** Patch added: "quick_boot_fix.patch"
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1273764/+attachment/5105706/+files/quick_boot_fix.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1273764
Title:
Grub ignores TIMEOUT options on /etc/default/grub
Status in grub2 package in Ubuntu:
Triaged
Status in grub2 source package in Vivid:
Triaged
Bug description:
This is a fresh install of trusty (amd64), without proposed (since
this grub package has reached the regular repos).
I have attached my `/etc/default/grub` file. After modifying it, I
make sure to run update-grub, but the changes won't take effect on
next reboot: the menu is shown with a timeout of 10 seconds even when
GRUB_TIMEOUT_STYLE is set to countdown.
After reading grub.cfg and googling a bit I found this:
https://gist.github.com/LeahCim/9332432
(30_os-prober is overriding the values of GRUB_TIMEOUT and
GRUB_TIMEOUT_STYLE.)
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
grub-pc:
Installed: 2.02~beta2-7
Candidate: 2.02~beta2-7
Version table:
*** 2.02~beta2-7 0
500 http://do.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1273764/+subscriptions
More information about the foundations-bugs
mailing list