LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Splash image ? (https://www.linuxquestions.org/questions/linux-general-1/splash-image-81041/)

BajaNick 08-11-2003 03:12 PM

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

DavidPhillips 08-11-2003 03:18 PM

- 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.

BajaNick 08-11-2003 03:20 PM

So i need to change an image i want to use into a xpm.gz file for it to work?

megaspaz 08-11-2003 11:36 PM

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. :p :D

BajaNick 08-11-2003 11:39 PM

Thanks i figured it out but im using the picture chooser so no picture can display, oh well. :)

megaspaz 08-11-2003 11:42 PM

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.

sickboylives 08-12-2003 08:55 AM

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.

DavidPhillips 08-12-2003 10:18 AM

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.

BajaNick 08-12-2003 11:27 AM

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,

DavidPhillips 08-12-2003 01:28 PM

it displays at the boot prompt, where you select the image to boot.

BajaNick 08-12-2003 05:23 PM

Image to boot? you mean the kernel? If so i dont have anything to select cuz i changed grub to 1 secong delay.

h1tman 08-13-2003 12:00 AM

what about

bootsplash.org?

BajaNick 08-13-2003 01:01 AM

What about it?

BajaNick 08-13-2003 01:05 AM

I rescind my previous sarcastic remark, Its a cool site. :p

DavidPhillips 08-13-2003 09:31 PM

err, ok

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


All times are GMT -5. The time now is 09:18 PM.