Saturday 4 April 2015

How to change your GRUB background image on your Linux machine

How to change your GRUB background image on your Linux machine :



When linux is booting up you will see GRUB splash box with black background color which is having multiple option to choose which linux version you want to run. You can change that background image by following trick.

I am currently using fedora 20 with grub-2. I think for all linux distribution this procedure will be same.

Changing background image:

Grub2 generally support PNG, JPG/JPEG, TGA image for the background.

1. First download one awesome HD wallpaper image for background. You can even download background image with your choice. for changing my grub background image i downloaded image from http://wallpapers55.com/wp-content/uploads/2013/11/hd-wallpaper-paradise-beach.jpg 

2. Then put this image in   /boot/grub2/themes/system/   folder of your linux machine.

3. Then open "/boot/grub2/themes/system/theme.txt"    file and replace desktop-image entry to 
 desktop-image: "your image name.png/jpg/jpeg"

4. Have a patience, you are almost done :) 

5. Then open   /etc/default/grub  file  and see the  "GRUB_TERMINAL_OUTPUT="console"  "  entry. This entry for secure boot stuff. If this entry present then add #  at start of line. "# " is for disabling console output for grub menu. Now your grub will use graphic mode again.

6. After that you will need to run 'grub2-mkconfig -o /boot/grub2/grub.cfg' command.  This command to update the live grub config after changing the file in /etc/default

 7. Congratulation!!!! you have successfully change your grub background image.