Change default GRUB 2 options in Ubuntu 9.10

With Ubuntu 9.10, GRUB 2 is installed by default as the boot loader (although it is still in beta version). The files and commands have been changed.

GRUB 2 settings can be viewed using the command:

sudo gedit /boot/grub/grub.cfg

(You can replace gedit with vim or whichever editor you prefer). This grub.cfg contains the menu entries but it is NOT recommended to change anything in this file. Infact, this file is compiled.

To alter the default menu item, timeout etc, open the grub file using the command:

sudo gedit /etc/default/grub

Make the required changes, for instance in my case I made you changes:

GRUB_DEFAULT=4
GRUB_GFXMODE=1280x800

After making the changes, save the file and compile the output using the command:

sudo update-grub

Reboot and see the results!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s