1. Images must be 640x480
2. Contain no more than 16 colors
3. Be in gzipped xpm format
4. The gimp can be used to resize (image->scale image..), reduce colors (image->mode->indexed..), and can save to .xpm.gz format.
A. to configure manually:
when you have created the image add a line like
Code:
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
Code:
cd /boot/grubGrub loads the image from the disk upon boot-it is not stored in the MBR. If you use a symlink, you will not have to edit menu.lst and reinstall grub to change the image, you just have to change the symlink. Make sure any symlink does not point to a file on another partition, for instance if you have /boot on a separate partition.
sudo ln -s my_favourite_image.xpm.gz splash.xpm.gz
B. with update-grub
update-grub will automatically pick up /boot/grub/splash.xpm.gz and configure menu.lst. It will find the correct hdX and partition number (no need to type (hd0,4)).
Code:
sudo apt-get install grub-splashimages #collection of splash imagesTry and ERROR then cross your finger........
sudo ln -s /boot/grub/splashimages/my_favourite_image.xpm.gz /boot/grub/splash.xpm.gz
sudo update-grub
No comments:
Post a Comment