LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices



Reply
 
Search this Thread
Old 09-30-2007, 05:22 PM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Rep: Reputation: 32
Cool Added my own grub splash screen


I found out how to add my own grub splash screen. I'm sure most of you already know this stuff - but I'm proud.

First the picture you want to be your splash screen must be resized exactly to 640x480. If it is not then it will either not display properly or grub will not be able to read it and will give an error.

You must then have the colors indexed down to only 14 colors.
-In gimp-
Image
Mode
Indexed
Select: Generate Optimum Palette
Set: Maximum number of colors to 14

Now save the picture to .xpm format anywhere you like under any filename you like (keep it simple with "splash.xpm" if you want).

Now I recommend you copy the file to /boot/grub/. this way you don't have to remember where you put the thing.

gzip your picture
gzip [filename]

Edit the /boot/grub/menu.lst file
If your grub already has a splash image look for the entry with 'splashimage' and change it to point to your new splash image.
If your grub doesn't have a splash image you will have to add a line like this:
Quote:
splashimage=(hd0,0)/boot/grub/psych_flower.xpm.gz
Notice my splashimage is called psych_flower - it doesn't really matter what you name it.

The hardest part is determining what to use for (hd0,0). I just looked to see where it pointed to boot my system and guessed that. My setup is simple just one OS to boot - so not much to guess about. If you have problems you will have to look around to find out what put there.

If you want to make sure you didn't screw up your grub boot loader you can run:
Quote:
update-grub
It appears to just do some basic checks and makes sure everything is there and that menu.lst is readable. It will always say:
Quote:
Searching for splash image... Found (blah, blah, blah).
even if your are wrong about the (hd0,0) part. So it doesn't appear to do any deep checking.

Reboot and your set.

P.S. I did some checking and SuSe 10 doesn't have a 'update-grub' utility so your distro may not have this. All this was done on debian etch.
 
Old 09-30-2007, 10:08 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Congratulations!

You might want to add that the splash image functionality is not part of vanilla-GRUB (at least not the pre-2.0 branch). To get this functionality on a self-compiled GRUB, you’ll have to patch it with one of the many splashimage patches (you can find them from e.g., Debian). You can also probably get similar patches from various other distro vendors.

Additionally, in GRUB 2.0, the configuration will be completely different. For one thing, there will be a video subsystem allowing full “32-bit” color at any VBE-2.0+ modes (e.g., 1024×768).
 
  


Reply

Tags
conf, grub, splash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing GRUB Splash Screen Not Working cyborg939 Fedora 1 03-24-2007 08:38 PM
TV_OUT works in grub, but fails at Ubuntu Splash screen jamieb122 Linux - Laptop and Netbook 1 12-28-2006 09:20 PM
changing grub splash screen tm2383 Mandriva 1 12-16-2006 09:14 AM
GRUB issue; splash screen not centered justanothersteve Linux - Software 3 02-18-2006 11:39 PM
Splash screen for Grub nabil Linux - General 15 05-08-2002 04:45 AM


All times are GMT -5. The time now is 11:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration