[Bug 797544] Re: grub2 waits forever for keystroke before booting default OS. headless server. hang.

RaymondDay raymondday at hotmail.com
Wed Nov 19 16:43:06 UTC 2014


Not sure if this will help but the start of my /etc/default/grub looks
like this:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

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=""
GRUB_CMDLINE_LINUX=""
GRUB_RECORDFAIL_TIMEOUT=5

The rest after is just starts with # so it don't do any thing.

-Raymond Day

-- 
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/797544

Title:
  grub2 waits forever for keystroke before booting default OS.  headless
  server. hang.

Status in “grub2” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: grub2

  After a seemingly-routine "apt-get update" on an Ubuntu 10.10  server, the machine hangs on boot. 
  It is sitting at the grub2 prompt, waiting in vain for someone to come along and press <enter>.

  I have tried two workarounds:

  ---------------------------------------------
  Edit /etc/grub.d/00_header to remove the check for recordfail in:

  make_timeout ()
  {
      echo "set timeout=1"
  }
  --------------------------------------------------------------------
  In /etc/default/grub set
   GRUB_HIDDEN_TIMEOUT=2
  ---------------------------------
  Then "sudo update-grub"

  Now I'm pretty dang stuck.  There is plenty of forum activity on this
  issue, but no true solutions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/797544/+subscriptions



More information about the foundations-bugs mailing list