LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-11-2003, 04:12 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Splash image ?


I would like to have a splash image when i boot up.
I am using Grub, on RH9, Gnome
in my grub.con.txt file there is a line that says " splashimage=(hd0,0)/grub/splash.xpm.gz " why does it have a .gz file as splash image?
and what resolution do i need to show the image at? thanks
 
Old 08-11-2003, 04:18 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
- Command: splashimage file
Select an image to use as the background image. This should be
specified using normal GRUB device naming syntax. The format of
the file is a gzipped xpm which is 640x480 with a 14 color palette.
 
Old 08-11-2003, 04:20 PM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
So i need to change an image i want to use into a xpm.gz file for it to work?
 
Old 08-12-2003, 12:36 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by BajaNick
So i need to change an image i want to use into a xpm.gz file for it to work?
yeah, dave wasn't really clear. you need to do this:

- Command: splashimage file
Select an image to use as the background image. This should be
specified using normal GRUB device naming syntax. The format of
the file is a gzipped xpm which is 640x480 with a 14 color palette.
 
Old 08-12-2003, 12:39 AM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks i figured it out but im using the picture chooser so no picture can display, oh well.
 
Old 08-12-2003, 12:42 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by BajaNick
Thanks i figured it out but im using the picture chooser so no picture can display, oh well.
huh? just use the gimp to convert your image to a *.xpm image and then gzip it and put it into your /boot/grub folder. change filename in the grub.conf file to your new images filename.

when converting the image, let's say from a *.jpg, you'll need to change the color mode to index and set the number of colors to 14. you also need to change the resolution to 640x480. if you do all this and change the file name in the specified path of your grub.conf file you should see your new image in the grub OS menu on reboot.
 
Old 08-12-2003, 09:55 AM   #7
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
OK, I'll try to be a little more clear than the rest.

A .gz file is a compressed file which is compressed with gzip. An .xpm file is a picture. An .xpm.gz file is an .xpm file that has been compressed with gzip.

GRUB is capable of showing splash images on the bootloader, which we all know. The image that it displays on your machine is found at /boot/grub/splash.xpm.gz, which is just an .xpm file that has been compressed with gzip. GRUB is capable of un-gzipping the file and reading the image, which is a pretty cool trick of software.

The splash image must be 640X480 pixels in size, and can only contain a 14 color palette. Use whatever image manipulation software you would like in order to make this, but understand, it has to be a 640X480 image with a 14 color palette.

When you have your image, you simply save it to /boot/grub/file.xpm. You can place it elsewhere if you would like, but it just makes sense to leave it in the /boot/grub directory.

Now, here's where you have an option. You can gzip the .xpm image if you would like. Gzip's not hard to use, so it should be fairly simple to accomplish. Once you have gzip'd your image, you change your boot.conf file to ask for file.xpm.gz. Done.

OR

You do not have to gzip the file. GRUB will read a standard xmp file. You can simply leave the file as is and change your boot.conf file to ask for file.xmp. Generally, this isn't done, as gzip'ing the file saves a little bit of disk space and today's computers are so fast that the file can be un-gzip'd in memory almost instantly. It is, however, easier to use this method.
 
Old 08-12-2003, 11:18 AM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
if your file does not work try pasting it into the existing file, however the colors may not be the same. Anyway this may help to solve thew problem.
 
Old 08-12-2003, 12:27 PM   #9
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
when does the picture display? cuz ive never had any pic display even the splash one with the blue background and the little redhat dosnt display,
 
Old 08-12-2003, 02:28 PM   #10
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
it displays at the boot prompt, where you select the image to boot.
 
Old 08-12-2003, 06:23 PM   #11
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Image to boot? you mean the kernel? If so i dont have anything to select cuz i changed grub to 1 secong delay.
 
Old 08-13-2003, 01:00 AM   #12
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
what about

bootsplash.org?
 
Old 08-13-2003, 02:01 AM   #13
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
What about it?
 
Old 08-13-2003, 02:05 AM   #14
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
I rescind my previous sarcastic remark, Its a cool site.
 
Old 08-13-2003, 10:31 PM   #15
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
err, ok

I guess you don't really need a splash image if there is no menu
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub splash image hfawzy Linux - General 3 08-13-2005 07:16 AM
Splash image .... MikeFoo1 Linux - Newbie 5 05-04-2005 05:27 PM
Grub and splash-image Harp00 Slackware 1 11-10-2004 07:23 PM
Boot splash image Menestrel Slackware 24 05-25-2004 12:09 AM
GRUB splash image LinuxDan Linux - Distributions 6 11-14-2002 02:12 PM


All times are GMT -5. The time now is 08:27 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