Custom GRUB splash image

  • Log or Switch in to the root account
  • 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
[root@daddylinux~]# rpm -q ImageMagick
  • If it's not installed you have to install it first
[root@daddylinux~]# yum -y install ImageMagick
  • Then, Assuming the image is in the root's home folder & the image name is "myboot.jpg"
[root@daddylinux~]# cd
[root@daddylinux~]# convert myboot.jpg -resize 640x480! -colors 14 -depth 8 myboot.xpm
[root@daddylinux~]# ls
  • Now you will be able to see a file call "myboot.xpm"
  • Then you have to gzip it.
[root@daddylinux~]# gzip myboot.xpm
[root@daddylinux~]# ls
  • Now you will be able to see a file call "myboot.xpm.gz"
  • Then you have to copy it to "/boot/grub" folder
[root@daddylinux~]# cp myboot.xpm.gz /boot/grub
  • Then you have to edit "grub.conf" file with your favorite text editor, I'll use "nano" text editor
[root@daddylinux~]# nano /etc/grub.conf

Edit the following line

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

to

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

NOTE- DON'T EDIT ANYOTHER PARAMETER OF THE LINE, ONLY CHANGE THE IMAGE FILE NAME.

Save & exit
  • Then reboot your system
[root@daddylinux~]# reboot
  • Then you'll be able to see the new GRUB spalsh image during the startup.

5 comments:

  1. this is not working for me
    splashimage=(hd0,0)/grub/splash.xpm.gz
    is not showing in nano

    ReplyDelete
  2. how to to do this with Grub2..??

    ReplyDelete
  3. This is my first visit to your site, Great article I was checking constantly this blog and I am impressed
    Xe88 Instant Play

    ReplyDelete