Saturday, November 3, 2007

Changing the GRUB splash screen

GRUB stands for GRand Unified Bootloader, which is a boot-loader shipped with many popular Linux distros.
If you are bored with the default splash screen...here's a way how you can change it :

The method I'll be describing here is applicable for Ubuntu but can be applied to other distros using GRUB easily...

First try downloading a good GRUB splash screen of your choice from sites like GNOME look...
the downloaded file must have a ' .xpm.gz ' extension ( you might have to unzip the downloaded file first). Copy the file into the /boot/grub directory. At the terminal type :

sudo cp /your downlaod directory/ filename.xpm.gz /boot/grub/filename.xpm.gz

where - "download directory" is your download directory and "filename" is the downloaded file's name

Next, at the terminal type :

sudo gedit /boot/grub/menu.lst

Next, find this line:

## ## End Default Options ##


look for the following line just below the above line

root (hdx,y)

(x and y are numbers)
Note down x and y

Below the line : ## ## End Default Options ##

Add this line :

splashimage=(hdx,y)/boot/grub/filename.xpm.gz

Replace x,y with your with the x and y you noted earlier...

Your file should now look like this :
-
## ## End Default Options ##
splashimage=(hdx,y)/boot/grub/filename.xpm.gz

title Ubuntu, kernel 2.6.18-11-generic
root (hdx,y)
|
|
|
and some more lines....

You might see different titles, which depends upon your distro...
-
Save the file, and reboot ..
Enjoy your new splash screen !!
Cheers !!

No comments: