[Bug 428570] Re: Default grub2 configuration won't boot through to default OS
alfa
428570 at bugs.launchpad.net
Tue Jan 6 19:48:45 UTC 2015
I have the same issue under 14.04 LTS (amd64, fresh install). My
environment is:
root at PC:/etc/grub.d# dpkg -l | grep grub
ii grub-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files)
ii grub-gfxpayload-lists 0.6 amd64 GRUB gfxpayload blacklist
ii grub-pc 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files for version 2)
root at PC:/etc/grub.d# cat /etc/issue
Ubuntu 14.04.1 LTS \n \l
In my /etc/default/grub file the settings are the same as those in the
first page (setting to 0 the timeouts).
--
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/428570
Title:
Default grub2 configuration won't boot through to default OS
Status in GRand Unified Bootloader:
Unknown
Status in grub2 package in Ubuntu:
Confirmed
Status in grub2 source package in Karmic:
Invalid
Bug description:
Binary package hint: grub-common
The default settings for /etc/default/grub won't allow the machine to
boot through automatically to the default OS -- someone must hit
<Enter> on the console, which is almost never an appropriate
configuration for a server. Here is the default /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="2"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
with just a bit of trial and error I discovered that a non-zero value
must be set for GRUB_HIDDEN_TIMEOUT in order for the machine to boot
through to the first OS after timeout; e.g.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=1
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="2"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
Looking over the documentation for grub2, it seems clear that
GRUB_HIDDEN_TIMEOUT shouldn't have anything to do with whether or not
the machine boots through after timeout. I'm guessing this is a grub2
bug? Ubuntu/package versions listed below:
root at ibis:/home/pgoetz# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"
root at ibis:/home/pgoetz# dpkg -l | grep grub
ii grub-common 1.97~beta2-2ubuntu2 GRand Unified Bootloader, version 2 (common
ii grub-pc 1.97~beta2-2ubuntu2 GRand Unified Bootloader, version 2 (PC/BIOS
To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/428570/+subscriptions
More information about the foundations-bugs
mailing list