Server Reboot

Petter Adsen petter at synth.no
Sat Jul 11 12:29:07 UTC 2015


On Sat, 11 Jul 2015 14:15:59 +0200
Nils Kassube <kassube at gmx.net> wrote:

> Dr. Mikeal Hughes wrote:
> > I am trying to figure out how to get my sever to come back up to
> > operation on a power failure. Right now it comes up and gives me
> > three choices. I don't want the bloody choices I just want it to
> > straight reboot so can run it headless! Any help appreciated.
> 
> Have a look at 
> <https://help.ubuntu.com/community/Grub2/Setup#Specific_Entries>.
> 
> As an example, here are the lines which might be relevant of my 
> /etc/default/grub of a headless server:
> 
> GRUB_DEFAULT=1
> GRUB_HIDDEN_TIMEOUT=1
> GRUB_HIDDEN_TIMEOUT_QUIET=true
> GRUB_TIMEOUT=1
> GRUB_TERMINAL=console
> GRUB_GFXMODE=640x480
> GRUB_RECORDFAIL_TIMEOUT=5

You don't even need to wait the single second for GRUB to display the
menu, and then another second for the default choice to be run - just
set GRUB_HIDDEN_TIMEOUT and GRUB_TIMEOUT to 0. And of course run
'update-grub' after editing.

Petter

-- 
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150711/5d9d107f/attachment.sig>


More information about the ubuntu-users mailing list