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

ivank 797544 at bugs.launchpad.net
Tue Mar 4 14:54:25 UTC 2014


I spent about 15 hours trying to figure out why my headless Ubuntu 14.04
Beta server wasn't booting.  No IPMI or remote hands were available in
this case, unfortunately.  I finally got on the right track when I
noticed in my identical test VM that grub2 wasn't always automatically
booting the first menuentry.  After a few more dead ends with some grub
options, a Google search for 'grub2 not automatic' led me to an
askubuntu answer that mentioned GRUB_RECORDFAIL_TIMEOUT.  Setting it to
a positive integer fixed my boot problems.

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