Jump to content

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
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...