Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want my computer automatically boot my Ubuntu system. But it always starts with this list:

Linux 3.2.0-57-generic-pae
Linux 3.2.0-57-generic-pae (recovery mode)
Linux Privous
Memory test (memtest86+)

I want my computer to automatically boot into Linux 3.2.0-57-generic-pae.

This is my /etc/default/grub file:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem=4G video=LVDS-1:d"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

# Uncomment to disable graphical terminal (grub-pc only)

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux

# Uncomment to disable generation of recovery mode menu entries

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
share|improve this question
Does this help? – Wilf Dec 31 '13 at 7:05
Does that link help? Look at the duplicate as well. – Wilf Jan 2 '14 at 9:27

Run this:

sudo nano /etc/default/grub

and set this line to saved, and remove any # from it as well:


also, set this line to true:


If these lines are not in the file, add them in.

Edit: To get rid of GRUB completely, set this to 0:


but as it is sometimes useful for GRUB to be shown, to recover the system, or boot to a different kernel, you may want to set this to 1 or 2 seconds:


you could also hide the menu unless a key is pressed during the 2 seconds time period:


Then save with Ctrl+O, and exit with Ctrl+X.

Then run:

sudo update-grub

which will update the configuration. Now, it should automatically select as default the entry you selected previously, and disappear after a timed delay, and hide if you wish it.

More on editing grub here

share|improve this answer
Depening on your approach, I still didn't solve the problem. Thank you. – Jeffrey Dec 31 '13 at 8:34
It is still not work out. – Jeffrey Jan 2 '14 at 1:49
Try sudo grub-reboot 0 command on terminal. – Avinash Raj Jan 2 '14 at 12:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.