Removing or renaming entries from the GRUB menu

GRUB is the boot loader available on GNU project under the Linux operating system. GRUB provides users with the flexibility to choose which OS to boot from a list of OS on a system as well as to select the relevant kernel configuration for that particular OS. Sometimes there are some irrelevant entries in the GRUB Menu which can be renamed or removed to save time. These entries are essentially commands that are validated in the boot process. All the manipulations have to be done as root by accessing the menu.lst file. Once the configuration file is open, one can edit the entries using the insert mode. After that it is easy to remove these unwanted commands from the GRUB Menu.


GRUB boot manager may contain unnecessary boot sequence. Here is a small tip on how to remove them.

What are entries?

These are the lines of commands that are being validated to start the system you have chosen. The GRUB boot process is done via the files that are contained in the /boot/grub folder. What we shall consider is the /boot/grub/menu.lst file.

Renaming/deleting entries

  • Perform all these manipulations as root:

  • To edit the menu.lst file found in /boot/grub ,type:

vi /boot/grub/menu.lst 
  • Opening the configuration file for GRUB( E.g on Mandriva 2009):

timeout 10      
color black/cyan yellow/cyan      
default 0      

title 2009.0 - Mandriva      
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=2009.0_-_Mandriva root=UUID=0627a70c-b0d0-11dd-9d39-ad8b2ff3b8cb resume=UUID=097e0806-b0d0-11dd-ae8c-9dfbc9a948c0 splash=silent vga=788      
initrd (hd0,0)/boot/initrd.img
  • Switch to insert mode and then change the names of entries that are located after the title in each paragraph.
  • Rename them according to your needs.To delete entries, simply delete the paragraph of the chosen entry...

Published by deri58. Latest update on October 31, 2012 at 06:02 PM by Jeff.
This document, titled "Removing or renaming entries from the GRUB menu," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (
TrueCrypt - Creating encrypted volumes under Linux
Install Dofus under Linux