How To Add A Splash Image To GRUB 2 On Ubuntu 9.04

Version 1.0
Author: Falko Timme
Follow me on Twitter

This tutorial shows how you can add a splash image to your GRUB 2 boot loader on Ubuntu 9.04. Please note that you should use this tutorial only if you have upgraded your bootloader to GRUB 2 previously, as shown in this tutorial: How To Install GRUB 2 On Ubuntu 9.04

I do not issue any guarantee that this will work for you!

 

Adding Splash Images

Open a terminal (Applications > Accessories > Terminal)...

... and install the grub2-splashimages package:

sudo aptitude install grub2-splashimages

This installs some splash images in the /usr/share/images/grub directory. To preview them, go to Places > Computer...

... and navigate to the /usr/share/images/grub folder. You should see thumbnails of the available splash images (which have the extension .tga):

Right-click the image that you want to use and select Properties. On the Basic tab, copy the name of the image (without the extension .tga):

Now open /etc/grub.d/05_debian_theme...

sudo gedit /etc/grub.d/05_debian_theme

... and replace the line...

[...]
  for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga} ; do
[...]

... with:

[...]
  for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/Moraine_Lake_17092005.{png,tga} ; do
[...]

(Make sure that you use the correct file name of your wanted splash image!)

Then update the GRUB configuration...

sudo update-grub

... and reboot the system:

sudo reboot

The GRUB menu should now use the wanted image as the background:

 

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

4 Comment(s)

Add comment

Comments

By: Das

Man these splash images are garbage! I can't believe the developers would put this junk in a distro! What happened to the days of COOL Linux images? This junk is like something off those cheesy wallpaper sites, with all their banners and popups! Come on you know what I mean! I hope someone can tell us WHERE to find some decent Grub2 splash images or a TUT to make our own! THANKS

By: ceroberoz

you can add more images into that grub directory by change the /usr/share/images/grub into 777

By: Aznatam

How can I change the text color and size?

By:

Hi

thank you for your guide as i checked my self i found that for GRUB 2 all you need to do is simply:

copy the image to /boot/grub folder "you must use sudo command with copy command or login as root"

then simply type sudo update-grub command, when grub start to update the grub.cfg file if it finds an image in that directory it will use it as a background image. see the result i got :

 

[email protected]:~$ sudo update-grub

Generating grub.cfg ...
Found background image: mybg.jpg <-this shows that it found a file called mybg.jpg
Found linux image: /boot/vmlinuz-3.0.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.0.0-24-generic-pae
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found memtest86+ image: /memtest86+.bin
done