Pages

Howto Change Grub2's (Grub-PC) Splash Image On Ubuntu

You can read my previous blog post about upgrading/installing GRUB2 on Ubuntu Jaunty and Karmic Koala here.We installed Grub2 but found its default splash ugly and we want to change it.Let's start the howto by installing grub2-splashimages package :

$sudo apt-get install grub2-splashimages

Now we have a couple grub2 themes under /usr/share/images/grub/ folder.Let's select a grub2 theme from the following folders :

/usr/share/images/desktop-base/
/usr/share/images/grub/


$ls /usr/share/images/grub/

My output :

BLABLABLABLA
Moraine_Lake_17092005.tga TulipStair_QueensHouse_Greenwich.tga
BLABLABLABLA


In this howto i am selecting Moraine Lake splash image.Note down the name of the file and edit the following file :

$sudo gedit /etc/grub.d/05_debian_theme

Search for this line :

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

And change it to :

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

This basically tells GRUB2 to look for image name “Moraine_Lake_17092005” in the following locations:

/boot/grub
/usr/share/images/desktop-base
/usr/share/images/grub


Do not forget to change "Moraine_Lake_17092005" with your selected theme's name.Save and exit.

Now we have to regenerate grub's config (grub.cfg) with the following command :

$sudo update-grub

Reboot and test your Grub2 theme.

PS: The output of $update-grub command should look like this (BOLD one) :
Generating grub.cfg ...
Found Debian background: Moraine_Lake_17092005.tga
Found linux image: /boot/vmlinuz-2.6.30-8-generic
Found initrd image: /boot/initrd.img-2.6.30-8-generic
Found linux image: /boot/vmlinuz-2.6.29-02062903-generic
Found initrd image: /boot/initrd.img-2.6.29-02062903-generic
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /boot/memtest86+.bin
Found Moblin release 2 (Moblin) on /dev/sda3
done
For More Check Related Posts :


Preview on Feedage: pc-medicines Add to My Yahoo! Add to Google! Add to AOL! Add to MSN
Subscribe in NewsGator Online Add to Netvibes Subscribe in Pakeflakes Subscribe in Bloglines Add to Alesti RSS Reader
Add to Feedage.com Groups Add to Windows Live iPing-it Add to Feedage RSS Alerts Add To Fwicki
Add to Spoken to You

0 comments:

Post a Comment