Change GRUB timeout and default option on Ubuntu 12.10

If you use one PC with Ubuntu and other OS, sometimes maybe we need to change timeout of the GRUB before load OS or order of all OS. I will show you how to do that on Ubuntu 12.10
Open terminal /shortcut Ctrl+Alt+T/.
In terminal enter

gksudo gedit /etc/default/grub

Enter your password and you will see grub file in gedit editor.It will be something like that

GRUB_DEFAULT=4
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
  • GRUB_DEFAULT – default is 0 it corresponding to the first value in the grub menu loader. So for second option is 1, third is 2 and etc. In my case Windows 7 is 5 option in grub menu so I set GRUB_DEFAULT=4
  • GRUB_TIMEOUT – this is the option how many seconds to wait before start loading the selected option. Default value is 10, as you can see upper I change it to 30 seconds.

When you finish with editing save the document and close it. In the terminal enter this command to apply changes that you made.

sudo update-grub

Reboot and you should see your default and timeout options change.

Posted in Linux, Ubuntu at April 16th, 2013. No Comments.