It looks like the couple of Grub splash images I posted are attracting the most attention here (at this time ubuntu grub splash is ranking me the #1 hit…creepy since it’s just two simple images :)), so let us carry on with this theme and post up the instructions on how to make your own! You can find more detailed instructions on the GNU GRUB splashimage howto
We will use The Gimp for this example since it does an excellent job and is free so if you don’t have it all you need is time and bandwidth to get it!
- Make a new image that is 640×480, use the template to make it simple
- Do all the editing and whatnot until you have an image you wish to use, keep in mind that less then 16 colors will be in the finished product so don’t bother getting overly detailed
- Reduce image quallity to 14 colors through the image menu, Image -> Mode -> Indexed… and change the Maximum number of colors to 14 and click OK. If the image had a lot of detail with colors this is where it matters, if the image looks good lets save it as an XPM file with File -> Save as… and change the name so it ends with a .xpm (The Gimp defaults to save as the extension type) and gzip it up, this shouldn’t be required but some versions of Grub will only be able to use .xpm.gz images.
gzip newimage.xpm
and this line will compress it and add the .gz to the file.
3a. An alternate way is to us image-magick from a terminal with a quick one liner for the whole processes
convert -depth 14 -resize 640x480 image.jpg newimage.xpm & & gzip newimage.xpm - We are nearly done! Save final gzipped image to /boot/grub and edit the /boot/grub/menu.lst (or grub.conf) to use the image, the (hd) should be the same as your kernel
splashimage=(hd1,0)/grub/splash.xpm.gz
Reboot and you should see your lovely image for the Grub menu, if not you did something wrong :p make sure the image is 640×480 and 14 colors and that the grub line entry is correct.
Guess I got a little carried away there…basicly, 640×480 14 color .xpm gziped image is all you need
Grub Colors
As a bonus you can change the colors of the menu to better match you image. The two lines you will want to edit/add to the menu.lst/grub.conf are
foreground=
background=
These numbers are in hexidecimal so you can either randomly plug in 6 letters/numbers from 0-9 and a-f, here’s a chart you can use as referance to simplify your life a little with this ![]()
Recently Commented