View Full Version : [ubuntu] Editing GRUB

February 12th, 2010, 08:30 AM
I wanted to edit the grub menu.
But nothing shown in gedit when i typed the command in terminal:
sudo gedit /boot/grub/menu.lst

February 12th, 2010, 08:36 AM
you need to edit /etc/default/grub instead.

gksudo gedit /etc/defualt/grub
sudo update-grub

February 12th, 2010, 08:36 AM
If you are using Ubuntu 9.10 that file doesnt exist any more.

Basic Grub configuration is done in /etc/default/grub, and more detailed stuff about menu entries etc. are in /etc/grub.d/ directory.

February 12th, 2010, 03:24 PM
As mcduck said, there are now two locations to edit the grub menu. /etc/default/grub (for configuration options), and /etc/grub.d/ (to add custom boot options).

This post explains very clearly how Grub 2 works and where all the configuration files are. It's very well written and easy to understand.

EDIT: Or if you could be a bit more specific about what you want to change in your grub menu, we may be able to help you here.