[Bug 428570] Re: Default grub2 configuration won't boot through to default OS
Marcus Tomlinson
marcus.tomlinson at canonical.com
Thu Mar 5 12:33:23 UTC 2020
This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.
** Changed in: grub2 (Ubuntu)
Status: Confirmed => Incomplete
--
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 grub:
Unknown
Status in grub2 package in Ubuntu:
Incomplete
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