When previous boot was failed. (because of power failure, hardware failure) booting will hang at the grub menu for human prompt.

Can you set option to force boot up no matter what happened?

Thanks

link|improve this question

80% accept rate
feedback

migrated from stackoverflow.com May 13 '11 at 13:05

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 2 down vote accepted

Ok I found solution myself via shlug mail list.

what you do is to modify the /etc/grub.d/00_header and find:

if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=3
fi

change timeout = -1 to 0.

-1 means manual selection.

also remember to update-grub afterward, to generate the actual grub.cfg

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.