- Member Success Stories (
-   -   Added my own grub splash screen (

checkmate3001 09-30-2007 04:22 PM

Added my own grub splash screen
I found out how to add my own grub splash screen. I'm sure most of you already know this stuff - but I'm proud.

First the picture you want to be your splash screen must be resized exactly to 640x480. If it is not then it will either not display properly or grub will not be able to read it and will give an error.

You must then have the colors indexed down to only 14 colors.
-In gimp-
Select: Generate Optimum Palette
Set: Maximum number of colors to 14

Now save the picture to .xpm format anywhere you like under any filename you like (keep it simple with "splash.xpm" if you want).

Now I recommend you copy the file to /boot/grub/. this way you don't have to remember where you put the thing.

gzip your picture
gzip [filename]

Edit the /boot/grub/menu.lst file
If your grub already has a splash image look for the entry with 'splashimage' and change it to point to your new splash image.
If your grub doesn't have a splash image you will have to add a line like this:

Notice my splashimage is called psych_flower - it doesn't really matter what you name it.

The hardest part is determining what to use for (hd0,0). I just looked to see where it pointed to boot my system and guessed that. My setup is simple just one OS to boot - so not much to guess about. If you have problems you will have to look around to find out what put there.

If you want to make sure you didn't screw up your grub boot loader you can run:

It appears to just do some basic checks and makes sure everything is there and that menu.lst is readable. It will always say:

Searching for splash image... Found (blah, blah, blah).
even if your are wrong about the (hd0,0) part. So it doesn't appear to do any deep checking.

Reboot and your set.

P.S. I did some checking and SuSe 10 doesn't have a 'update-grub' utility so your distro may not have this. All this was done on debian etch.

osor 09-30-2007 09:08 PM


You might want to add that the splash image functionality is not part of vanilla-GRUB (at least not the pre-2.0 branch). To get this functionality on a self-compiled GRUB, you’ll have to patch it with one of the many splashimage patches (you can find them from e.g., Debian). You can also probably get similar patches from various other distro vendors.

Additionally, in GRUB 2.0, the configuration will be completely different. For one thing, there will be a video subsystem allowing full “32-bit” color at any VBE-2.0+ modes (e.g., 1024×768).

All times are GMT -5. The time now is 02:47 AM.