GRUB Custom Splash Screen

1764

Here’s the short tip for this morning, this is a very easy config. As you know you can have a graphical image as a background for your GRUB startup screen, here’s a three steps howto for setting it up

  1. Create or use your favorite image. Open your favorite graphical image program (Gimp for me) and adapt your favorite logo/image/photo to 640×480, no matter about color depth, the must important thing is the image type, you must save your favorite image as an .XPM file (example: myfavoritelogo.xpm)
  2. gzip your new .xpm file, following my example my file wil be named myfavoritelogo.xpm.gz (command: gzip myfavoritelogo.xpm), copy your image to /boot/grub
  3. Modify your grub menu (mostly named /boot/grub/menu.lst) to add the following line:

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

where hd0,0 is the first partition (for me /boot as boot partition) on the first hard disk, change your filename according to your system (myfavoritelogo.xpm.gz of the example)

And that’s it, you’ve done everything.

Now just reboot to see your graphical logo as grub background, take a look at my picture gallery to see some grub splash screen samples

 

quick ‘n’ easy post, hope it helps

 

Ben