Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit dual boot menu
#1

How do I edit the dual boot menu?

 

After, almost each, security update a new Linux option gets added. How do I erase the old ones? I looked under usr/bin for boot, menu, and screen. I could not find any of those directory names.

 

I also tried going to /boot/grub and found menu. It has a text document icon with an X on it and, to the right, says, "Link to unknown." After double-clicking on it I got:

Could not open the file /boot/grub/menu.lst.

You do not have the permissions necessary to open the file.

 

Following is the stuff under /boot

/boot/efi

/boot/grub

/boot/lost+found

/boot/config-2.6.29.5-191.fc11.x86_64

/boot/config-2.6.29.6-213.fc11.x86_64

/boot/config-2.6.29.6-217.2.3.fc11.x86_64

/boot/initrd-2.6.29.5-191.fc11.x86_64.img

/boot/initrd-2.6.29.6-213.fc11.x86_64.img

/boot/initrd-2.6.29.6-217.2.3.fc11.x86_64.img

/boot/System.map-2.6.29.5-191.fc11.x86_64

/boot/System.map-2.6.29.6-213.fc11.x86_64

/boot/System.map-2.6.29.6-217.2.3.fc11.x86_64

/boot/vmlinuz-2.6.29.5-191.fc11.x86_64

/boot/vmlinuz-2.6.29.6-213.fc11.x86_64

/boot/vmlinuz-2.6.29.6-217.2.3.fc11.x86_64

Reply
#2

Don't double-click on it in a graphical tool - try right-click and look for a "edit" option.

 

Failing that, try using a tool like "pico" or "nano", which is a text editor.

 

The file you need is something like grub.conf (or menu.lst) which is usually symlinked to a fail in the /etc directory (although it sounds like you have found it already).

 

Also, bear in mind that you'll need escalated privs to edit the file - switch to root (or use sudo) first.

Reply
#3

Quote:Don't double-click on it in a graphical tool - try right-click and look for a "edit" option.

 

Failing that, try using a tool like "pico" or "nano", which is a text editor.

 

The file you need is something like grub.conf (or menu.lst) which is usually symlinked to a fail in the /etc directory (although it sounds like you have found it already).

 

Also, bear in mind that you'll need escalated privs to edit the file - switch to root (or use sudo) first.
 

Ok, I finally got around to doing this. "nano menu.lst" is what works. You do have to do it root and it is VERY picky. Highlighting what you want and pressing CTRL-K does not do jack! Each menu item is 3 to 5 lines of text/code. The first is what you see in the boot menu. The following 2 to 4 are the related code. You have to arrow down to the title menu line you want to remove and hit CTRL-K. Then arrow though each following code line and hit CTRL-K for each one of those.

 

Once you're done with that; Exiting is easy! Hit CTRL-X. It will confirm that you want to exit and save to the same file name. Done!

 

Thank you all!

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)