Tuesday 18 August 2015

CHANGING GRUB2 BACKGROUND IMAGE


      Tired of looking at the same purple background image of GRUB2? Well, now is the time to change it and have a background image of your own.

This is a pretty simple operation completed in few steps as listed below :-


Step 1 : Open the terminal(Ctrl+Alt+t) and then open the file '/etc/default/grub' with superuser privileges by typing the following command :
     
                            sudo gedit /etc/default/grub

This file defines the settings for GRUB2.
 

Step 2 :  Add a line to the file :

                        GRUB_BACKGROUND="<full path of your image>"

(Note : I believe that there are certain specifications that an image must pass in order to qualify for the grub background image. So don't loose hope if your image is not set as grub background image, just try another image with different specifications).


Step 3 : These changes are not reflected into the GRUB2 until the following command is run:

                         sudo update-grub

The file that configures GRUB2 is grub.cfg which inherits settings from the grub file we have been making changes to. So this command replaces the old grub.cfg file with new grub.cfg file with the settings we just defined in grub file.


      

   Now every time I start my laptop, I can look at a cool image of my choice. What do you want to see?

No comments:

Post a Comment