User Tools

Site Tools


ubuntu:grub:custom_grub_splash_image

Ubuntu - Grub - Custom GRUB splash image

Get an image file to use for the new splash image (can be some wallpaper in jpg, png format).

Check whether ImageMagick rpm is installed

TODO: Place Ubuntu equivalents here…

rpm -q ImageMagick

If it's not installed you have to install it first

yum -y install ImageMagick

Then, Assuming the image is in the root's home folder & the image name is “myboot.jpg”

cd
convert myboot.jpg -resize 640x480! -colors 14 -depth 8 myboot.xpm
ls

Now you will be able to see a file call “myboot.xpm”.

Then you have to gzip it.

gzip myboot.xpm
ls

Now you will be able to see a file call “myboot.xpm.gz”

Then you have to copy it to “/boot/grub” folder:

cp myboot.xpm.gz /boot/grub

Edit “grub.conf” file with your favorite text editor:

vi /etc/grub.conf

Edit the following line

splashimage=(hd0,0)/grub/splash.xpm.gz

to

splashimage=(hd0,0)/grub/myboot.xpm.gz

IMPORTANT: Don't edit any other parameter of the line. Only change the image file name.

Save & exit.


Reboot your system.

reboot

You should see the new GRUB spalsh image during the startup.

ubuntu/grub/custom_grub_splash_image.txt · Last modified: 2020/07/15 10:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki