Removing or renaming entries from the GRUB menu

October 2016

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...

Related :

This document entitled « Removing or renaming entries from the GRUB menu » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.