[Bug 841009] Re: stuck on grub menu after power cut *very dangerous for servers*

Krzysztof Litka 841009 at bugs.launchpad.net
Sun Sep 4 13:42:58 UTC 2011


My suggestion is to make this hidden timeout default on Ubuntu Server,
but leave option to configure it.

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

Title:
  stuck on grub menu after power cut *very dangerous for servers*

Status in “grub2” package in Ubuntu:
  Confirmed

Bug description:
  As reported on stackoverflow at this page
  http://serverfault.com/questions/269387/how-to-force-grub-to-boot-no-
  human-input-regardless-previous-booting-failure if a power cut affects
  an ubuntu server it gets stuck on grub menu at next reboot waiting for
  a user to press "enter" to make the server boot.

  This is a very odd behavior expecially if there are not integrity
  problems and the system can boot without user intervention. I've
  tested this bug on ubuntu oneiric beta 1 but it seems that all the
  versions with grub2 are affected.

  To reproduce the bug just install a new ubuntu server, cause a power
  cut, make it boot.

  Surfing online i found two solutions to this problem.

  First solution involves to modify /etc/grub.d/00_header at line 233
  such that:

    set timeout=-1

  becomes:

    set timeout=0

  and then run update-grub.

  Second solution is to set GRUB_HIDDEN_TIMEOUT=-1 as suggested on
  ubuntu forums at this page
  http://ubuntuforums.org/showthread.php?t=1403517 but i've not tried
  this solution yet.

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




More information about the foundations-bugs mailing list