[Bug 1273764] Re: Grub ignores options on /etc/default/grub
Edwin Pujols
edwinpm5 at gmail.com
Tue Jan 6 03:20:13 UTC 2015
@psusi, Please look in /etc/grub.d/30_os-prober. In particular, the last
line reads:
> adjust_timeout
And the definition of `adjust_timeout` is:
> adjust_timeout () {
> 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
> }
As you can see the `timeout` variable is set/reset to 10 (seconds).
--
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 options on /etc/default/grub
Status in grub2 package in Ubuntu:
Incomplete
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