Ubuntu – How to Force GRUB to Boot Without Human Input After Failure

grubUbuntu

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?

Best Answer

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

Related Topic