Make the traditional grub look and feel better


Are you bored with all default entries in the grub menu as shown in the image above?
As you know these are some of the options grub provides in case of any errors. Most
of you may be familiar with the memory_test option which is used for checking the errors
in RAM or the main memory. The recovery mode entry in the grub menu is set for enabling
reovery in case of any crashes in the normal working of the linux system. But these
entries doesn’t seeem good for me. I think it is also the case with some of the linux
users. So I decided to edit the grub menu by doing some tricks. Following
are some of them. It may be helpful for some of you.

  • Removing the memory_test option

sudo chmod -x /etc/grub.d/20_memtest86+
sudo update-grub

  • Removing the recover mode entry

sudo nano /etc/default/grub
Uncomment the folowing line
to look like
and save the file.
sudo update-grub

  • Inserting background image

Move to the directory where required image is stored.
sudo cp example.png /usr/share/images/
sudo nano /etc/default/grub
add a line
and save the file.
sudo update-grub
Note: grub can use PNG, JPG/JPEG and TGA images for
the background. The image must meet the
following specifications:
a) JPG/JPEG images must be 8-bit (256 color)
b) Images should be non-indexed, RGB

You can also edit the menu text colors under /boot/grub/grub.cfg.
Don’t forget to run update-grub after making changes.

  • Edit the menu titles

sudo nano /boot/grub/grub.cfg
Search for the lines starting with menuentry.
Following that you can see something
written in single quotes or double quotes.
You can edit inside those qoutes to what you
want to appear in grub menu. And now save the
Note: Don’t execute update-grub after saving the file.