Ubuntu server 12 stuck at the grub boot menu waiting for key press
Our local headless VirtualBox server (Ubuntu 12.04.2 LTS) fails to boot some mornings, waiting for a key-press. It appears that grub is configured, out of the box, to halt, if there are prior boot failures. Here’s the fix to ignore the boot failures as we always need this box to boot:-
Edit default grub config:
$> vim /etc/default/grub
Add the line:
GRUB_RECORDFAIL_TIMEOUT=2
Finally update grub:
$> update-grub
A big thanks to slm, Andrea Barcellona and ServerFault