View Full Version : [SOLVED] Trouble Editing GRUB settings

January 18th, 2011, 06:51 AM

I am a new Ubuntu user, and I am attempting to set Windows 7 64 bit as my default OS in the boot loader instead of Ubuntu 10.10.

I have entered the command
gksudo gedit /boot/grub/menu.lst
into terminal, and the menu.lst file does open. However, this file appears to be completely blank, which does not seem to make sense and is preventing me from changing the boot order.

If anyone could be of assistance it would be greatly appreciated.


January 18th, 2011, 06:56 AM
Welcome to UF.
If you are using 10.10 you will be using grub2. Grub2 does not use menu.lst
To change the default boot option you should edit the line
in the file /etc/default/grub
as explained in the etc/default/grub section of this guide, by drs305


Then run in the terminal
sudo update-grub

January 18th, 2011, 07:53 AM
Thank you for your help, it worked. It did take me a little effort to figure out how to edit the file, which I ended up editing in Kate.

January 18th, 2011, 07:54 AM
You're welcome :-)
You lost me there though, who's Kate?
Will you mark the thread as solved please, using the Thread Tools near the top of the page.

January 19th, 2011, 04:29 AM
Basically, when I entered the /etc/default/grub into terminal it just gave me the message:
access denied
I searched for more info about Grub2 and found a thread which said that I needed to use an advanced console such as one called Kate to edit the file.