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

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2009-09-01 18:34. :: Ubuntu

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

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 08/26/2009

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:

 

Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by mohannad.hamed (registered user) on Fri, 2012-08-17 18:25.

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 :

 

mhamed@filesrv003:~$ 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


Submitted by Das (not registered) on Mon, 2009-10-05 20:55.
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
Submitted by ceroberoz (not registered) on Tue, 2010-01-05 19:14.
you can add more images into that grub directory by change the /usr/share/images/grub into 777
Submitted by Aznatam (not registered) on Wed, 2009-09-02 13:50.
How can I change the text color and size?