User Tools

Site Tools


tips:avoid-having-grub-wait-for-input-after-failed-boot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 <​i>/​etc/​default/​grub</​i>​ (assuming it doesn'​t already exist
 +
 +<​code>​
 +# disable getting stuck in menu after fail
 +GRUB_RECORDFAIL_TIMEOUT=0
 +</​code>​
 +
 +and execute
 +
 +<​code>​
 +update-grub
 +</​code>​
tips/avoid-having-grub-wait-for-input-after-failed-boot.txt ยท Last modified: 17.02.2014 23:34 by vergo