Change boot entry names and grub background?

How do i change the names of the boot entries and the background of the boot menu?


Solution 1:

Install Grub Customizer.

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer

Run it.

This program allows you to edit just about every aspect of Grub.
Have fun with it, but be careful! :)

Solution 2:

To change the GRUB2 background image, you should first get the splash image package:

sudo apt-get install grub2-splashimages

For 10.04, edit the 05_debian_theme file in /etc/grub.d:

gksu -b gedit /etc/grub.d/05_debian_theme

Look for the lines that identify the WALLPAPER and COLORS:

WALLPAPER="/usr/share/images/grub/Lake_mapourika_NZ.tga"
COLOR_NORMAL="white/black"
COLOR_HIGHLIGHT="black/cyan"

For 10.10 and up, edit the grub file in /etc/default:

gksu -b gedit /etc/default/grub

Look for the lines that identify the GRUB_BACKGROUND:

GRUB_BACKGROUND=/path_to_image/filename

As for modifying the menu colors on 10.10 and up; from what I can tell (GRUB2 wiki) it seems to be the same as I have listed above (/etc/grub.d/05_debian_theme). You might have to experiment with it. If someone knows for sure, please add a comment.

There are 16 colors available: Black, Blue, Brown, Cyan, Dark-Gray, Green, Light-Cyan, Light-Blue, Light-Green, Light-Gray, Light-Magenta, Light-Red, Magenta, Red, White, and Yellow. Just be careful with the combinations, because it's really easy to make your GRUB menu difficult/impossible to read.

Once you're done, be sure to update grub:

sudo update-grub

Also, I should add that I gleaned most of this information out of the GRUB2 wiki. Check that out if you have any questions.

Solution 3:

Grub customizer is a untested buggy and dangerous program. It simply duplicates entries and does not seem to work. Maintainers were wise enough to keep it out of the os, so beware. Just copy image to boot/grub and update-grub.

Solution 4:

To put a picture to the GRUB background,

1- Make sure you know your screen resolution.

2- Edit your picture (GIMP is very good for this) to the same resolution as the screen.

3- With root privilege, copy the picture to /usr/share/images/desktop-base/ which, on my system, is empty.

4- In terminal, update grub by execution of a command "sudo update-grub".

The new background will show on next startup.

Solution 5:

I'm new to linux but I used this site to change the background in grub. The website is really easy to understand and doesn't require you to install programs to edit grub. Its just step by step using the terminal

https://sites.google.com/site/easylinuxtipsproject/beautifygrub

One thing I would say though is I struggled to get the background to change when I was saving the image as a .jpg. It was the right resolution and appeared to be in the right folder but it just didn't appear when I booted my laptop. In the end when I used the image editor I saved the file as a .pgn file and works.

Also the site fails to mention that you need to save your image in the Downloads folder once you rescale it.

Hope this helps.