Friday 20 December 2013

Headless Ubuntu 12.04 Server

13:48 Posted by Jurgens Krause , No comments
I deploy headless Ubuntu 12.04 server configurations on a regular basis. One of the things that I often forget to do is modifying Grub to try to boot every time regardless of whether or not previous boots were successful.
If you forget to do this, the server might get stuck at the Grub boot screen, forcing you to connect a keyboard and screen to get it going again.

Thankfully Grub 2 has made this a bit easier:

Log in to your server as root or use sudo,

$vim /etc/default/grub

Add the line:

Update the grub configuration:


The timeout value is in seconds, I use 10 seconds since that gives me ample time to enter recovery mode should it be necessary.


Post a Comment