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 |
- 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. |
So i need to change an image i want to use into a xpm.gz file for it to work?
|
Quote:
- 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 |
Thanks i figured it out but im using the picture chooser so no picture can display, oh well. :)
|
Quote:
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. |
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. |
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.
|
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,
|
it displays at the boot prompt, where you select the image to boot.
|
Image to boot? you mean the kernel? If so i dont have anything to select cuz i changed grub to 1 secong delay.
|
what about
bootsplash.org? |
What about it?
|
I rescind my previous sarcastic remark, Its a cool site. :p
|
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:15 PM. |