Set the default GRUB entry to boot from GRUB menu

19/06/2009

You easily set the default GRUB entry to boot to in in Debian or Ubuntu by editing

/boot/grub/menu.lst

and changing ‘default’ to the number of the record you want to boot from by default.  (Note: It is 0 indexed.)

# You can specify ‘saved’ instead of a number. In this case, the default entry
# is the entry saved with the command ‘savedefault’.
# WARNING: If you are using dmraid do not change this entry to ‘saved’ or your
# array will desync and will not let you boot your system.
default        2

No comments yet.

Write a comment: