Linux.com

Home Linux Community Community Blogs Desktops GRUB Custom Splash Screen

GRUB Custom Splash Screen

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 640x480, 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 

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board