This howto shows how to install a fullscreen splash image in the GRUB-bootloader. The image is entirely eye-candy and doesn't have any function besides that.First you have to get a splash image. A great start is to go and download it from the web. Later I'll show how to make your own splash image.
You can also download the GRUB splash image seen above, which is based on the Zepto logo:
Zepto GRUB Splash
Find the splash image you like and download it.
Place the image in the folder /boot/grub
1. start a terminal
2. sudo gedit /boot/grub/menu.lst
3. Add the line "splashimage (hd0,1)/boot/grub/splashimage.xpm.gz"
4. Add the line "viewport 0 0 80 21"
5. Save the file and exit gedit
6. Restart your linux-box
Note: change (hd0,1) so it matches your system. Look in the menu.lst file for help, as Ubuntu has set this up under the installation.
1. start a terminal
2. sudo gedit /boot/grub/menu.lst
3. Add the line "splashimage (hd0,1)/boot/grub/splashimage.xpm.gz"
4. Add the line "viewport 0 0 80 21"
5. Save the file and exit gedit
6. Restart your linux-box
Note: change (hd0,1) so it matches your system. Look in the menu.lst file for help, as Ubuntu has set this up under the installation.
Background and foreground color in GRUB
Default Ubuntu installs GRUB with the background color black and the text as white. You can change the background and text color with the color parameter in menu.lst.
Default Ubuntu installs GRUB with the background color black and the text as white. You can change the background and text color with the color parameter in menu.lst.
color foreground/background [highlight foreground/background]
The colors must be specified by the following symbolic names:
Background colors
black, blue, green, cyan, red, magenta, brown, light-grayThe colors must be specified by the following symbolic names:
Background colors
Foreground colors
black, blue, green, cyan, red, magenta, brown, light-gray, dark-gray, light-blue, light-green, light-cyan, light-red, light-margenta, yellow, whiteadd "blink-" to the foreground color if the text should blink.
eg. "color light-gray/blue blink-black/light-gray"
eg. "color light-gray/blue blink-black/light-gray"
If you don't specify a highlight color, the inverted colors will be used.
How do I make my own GRUB Splash Image?
The are 3 important factors the image must comply to:
- The image must be in X Pixmap format, .xpm /.xpm.gz
- The image size must be 640x480
- The image must have 14 colors, indexed
Here is 2 ways how to convert a random picture to a 14 color 640x480 spash image:
The quick way:
1. make sure you have ImageMagick installed.
$ sudo apt-get install imagemagick
2. convert image.jpg -resize 640x480! -colors 14 -depth 8 splash-image.xpm.gz
The GIMP way:
1. Open the image in GIMP, click Image>Mode>Indexed...".2. Choose "Generate optimal Palette" and choose 14 in number of colors. Set colordithering to nothing.
3. After the converting, save the image as filename.xpm. The GIMP automaticly saves the image in the correct format based on the filename extension.
If you want to compress the image with gzip:
$ gzip splash-image.xpm
This will create a gzip file with the filename splash-image.xpm.gz
Widescreen tip
If you have a widescreen monitor, like the Zepto 3215W's Crystal Clear, stretch the logo and text vertically by about 15%. The grub bootsplash will be stretched horizontally onscreen distorting your graphic. In effect, a perfect square becomes a rectangle. By stretching vertically now it will be rendered onscreen proportionally at boot time.

