Jump to content
Linux - Tutorials And How To's
Sign in to follow this  

Starting server automatic by passing grub choice screen

Recommended Posts

It is not uncommon when there is new updates to the OS or the kernel it self there will be a long list of choices to boot into after. and If you have a dedicated server with out access outside of SSH then you are in the dark unless you physically go to the location where the server is. Naturally this is not a good practice. We want to be able to reboot the server without any hang ups or timers to keep us from bringing the server back online. Well here is the solution for this. NOTE:: This is just a quick fix aka hack if you will. Currently there is an issue using grub2 and does not like to be tampered with and will cause these behaviors.

open the 00_header file:



sudo nano gedit /etc/grub.d/00_header

comment out the last if statement, except for the line with the normal set timeout:


#if [ \${recordfail} = 1 ]; then
#  set timeout=-1
  set timeout=${GRUB_TIMEOUT}

run update-grub again:


sudo update-grub

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this