This shows you the differences between two versions of the page.
| — |
tips:avoid-having-grub-wait-for-input-after-failed-boot [17.02.2014 23:34] (current) vergo created |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Avoid having Grub wait for input after failed boot ====== | ||
| + | By default, if the boot process fails in Ubuntu, the Grub timeout for the next boot will be disabled and the menu shown instead. This results in a situation that some keyboard input will be required in order to proceed. Obviously, this isn't convenient for headless machines, servers and virtual machines. | ||
| + | |||
| + | This default behaviour is easy to disable. Add the following to < | ||
| + | |||
| + | < | ||
| + | # disable getting stuck in menu after fail | ||
| + | GRUB_RECORDFAIL_TIMEOUT=0 | ||
| + | </ | ||
| + | |||
| + | and execute | ||
| + | |||
| + | < | ||
| + | update-grub | ||
| + | </ | ||