42

How to do this manually, not installing any tools?

muru
  • 207,228
Rulet
  • 421

6 Answers6

40

This is my way:

  • Before 13.10:

    sudo -H gedit /lib/plymouth/themes/default.grub
    
  • 13.10 and later:

    sudo -H gedit /lib/plymouth/themes/ubuntu-logo/ubuntu-logo.grub
    
  • 16.04 and later:

    sudo -H gedit /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.grub
    
  • 17.10 and later:

    sudo -H gedit /usr/share/plymouth/themes/default.grub
    

And change the grub background color as you want, in my case I change grub background to black (0,0,0)

if background_color 0,0,0 ; then
   clear
fi

Then, update grub

sudo update-grub

Please note that: there should be a space after the color value, other wise you will always get a black background. And as a gift, try using this value 35,00,60.

MDMower
  • 850
FireHeron
  • 401
5

It's very simple:

gksu gedit /lib/plymouth/themes/text.plymouth 

and change black value with your color, in my case #000000 is black

black=0x000000

Regards

4

Ok. I've decided to write the answer. I took instructions from here

In my case screen resolution is 1440X900. Somebody says that changing grub window resolution to actual resolution of monitor makes boot faster(but I don't see this take effect in last versions o Ubuntu). So I've changed and uncommented one line in /etc/default/grub to this:

GRUB_GFXMODE=1440x900

Then to change purple background of grub I created the image, in my case just black image with 1440X900 resolution and put it in /boot/grub. So my file is:

/boot/grub/gbackground.jpg

Then I've edited again /etc/default/grub and puted a line in it:

GRUB_BACKGROUND=/boot/grub/gbackground.jpg

then I updated grub configuration with command:

sudo update-grub

That's all. Now grub background is black.

Kris Harper
  • 13,705
rulet
  • 331
3

I would first get your image, then bring up Terminal type

sudo nautilus

copy or cut image into /boot/grub.

Open the terminal and type

sudo update-grub

There you go.

Seth
  • 59,332
3

This is an excerpt from The Community Documentation on Grub2

Turning off the splash image: This may make viewing the terminal easier.

1.Press "c" to go to the command line and then type: set color_normal=white/blue or the color combination you wish to use.

2."black" as the second entry retains the menu's transparency and should be avoided as a selection if the user wants to work with a solid background color.

0

I wrote a ruby script to do the same. It actually edits /etc/default/grub and adds a custom background to it. Here: https://github.com/4p00rv/grub-background-changer

Apoorv
  • 1