Change GRUB Background image

GRUB is abbreviation of GNU GRand Unified Bootloader. GRUB is a program by GNU that let the user choose the operating system if there are multiple operating systems installed on a single system. So if you have installed ubuntu or other distribution of linux then you must have seen the GRUB screen. On ubuntu, usually it is a purple colored screen. If you got bored from that simple, old purple background or you want to impress your friends, then read on. So in this post, I am telling you about changing the background image of GRUB.

#STEP 1

Its better to paste the image first in this folder using terminal:

sudo su
cd /usr/share
mkdir image
cp <---your image path like /home/mandeep/Desktop/ubuntu.jpg---> image/ubuntu.jpg

1

You can see the above screenshot. In this I have image in my /usr/share/image folder and the image is ubuntu.jpg . Firstly, my image ubuntu.jpg was in /home/mandeep/Desktop folder. Then I copied it to image folder in /usr/share.

 

#STEP 2 (Using Command-line)

In terminal type:

sudo su

Then goto the directory:

cd /etc/default

Then open the file “grub” using any editor. You may use vim, nano, gedit. So just change nano by any other:

nano grub

Then type the following command with absolute path of your image:

GRUB_BACKGROUND="/usr/share/image/ubuntu.jpg

See my grub file screenshot:

2

 

#STEP 3

Then save the file.

In terminal type following command to update GRUB for the changes to take place:

update-grub

3You will see the above output.

You can reboot now and skip next steps if you don’t want to change the text colors.

#To change the text color and highlight color of GRUB

In terminal type:

gksu gedit /etc/grub.d/05_debian_theme

Then locate:

if [ -z "${2}" ] && [ -z "${3}" ]; then
                echo "  true"
        fi

Or just type Ctrl +f to find it write in it :
if [ -z or simply ‘z’.
Then replace the above paragraph with this one:

if [ -z "${2}" ] && [ -z "${3}" ]; then
        echo "  true"
        echo "  set color_highlight=red/green"
        echo "  set color_normal=light-cyan/black"
    fi

Then save the file.
In terminal type following command to update GRUB for the changes to take place:

update-grub

Then reboot the system.

grub background

Change the color accordingly or choose from the below list:

black, blue, brown, cyan, dark-gray, green, light-cyan, light-blue, light-green, light-gray, light-magenta, light-red, magenta, red, white, yellow
Advertisements

9 thoughts on “Change GRUB Background image

  1. karthick kathirvel February 2, 2019 — 12:17 pm

    not working i followed ur instruction and i checked the path and the username everything was ok

    Like

    1. I think these instructions are quite old now and it probably didn’t work because of the changes in grub configuration over the years. Thanks.

      Like

  2. download game guardian android ios June 12, 2017 — 10:39 pm

    Hi there, after reading this amazing post i am as well cheerful to share
    my familiarity here with colleagues.

    Like

  3. This design is steller! You obviously know how to keep a reader amused.
    Between your wit and your videos, I was almost moved
    to start my own blog (well, almost…HaHa!) Wonderful job.

    I really enjoyed what you had to say, and more than that, how you presented
    it. Too cool!

    Liked by 1 person

  4. Not working in my case even after following all the steps.

    Liked by 1 person

    1. Please, check the post again and make sure you are giving the correct ‘file path’ and ‘username’.

      Like

      1. Yes It worked now. thanks a lot.

        Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close