LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   need help installing splash image for boot up (https://www.linuxquestions.org/questions/ubuntu-63/need-help-installing-splash-image-for-boot-up-453488/)

randell6564 06-10-2006 01:40 PM

need help installing splash image for boot up
 
Hello!

I tryed the 'wiki' info provided in this forum, but it did not work.

I'm trying to install a splash image that I downloaded from 'gnome-look.org'. its sitting on my desktop and I dont know how to install it!

Can someone please give me a hand?

Thanks!

Oh yeah...

I'm using 'Dapper'

aysiu 06-10-2006 02:44 PM

Is your splash image in the format splashimagename.xpm.gz?

If so, let's assume the image is on your desktop.
Code:

sudo cp ~/Desktop/splashimagename.xpm.gz. /boot/grub/splashimagename.xpm.gz
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo nano /boot/grub/menu.lst

Then add in this line:
Code:

splashimage (hd0,4)/boot/grub/splashimagename.xpm.gz
This assumes that your Ubuntu partition is at /dev/hda5. If it were at /dev/hda4, it would be (hd0,3). If it were at /dev/hb1, it would be (hd1,0).

This also assumes that Ubuntu's Grub is in charge of the boot loader. I noticed you're also using Mepis, so this may not the be case.

randell6564 06-10-2006 02:49 PM

Heres my 'menu.lst':

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
download.xpm (hd0,1)/boot/grub/images/download.xpm.gzdownload.png


The image that I'm trying to use is named, 'download.xpm.'
but its not an 'xpm.gz' its just an image that i renamed and placed in the '/boot/grub/images' folder.

ubuntu partition is 'hda1'

aysiu 06-10-2006 07:57 PM

Okay. The line should read:
Code:

splashimage (hd0,0)/boot/grub/images/download.xpm.gz
I think you'll have to find a way (maybe through GIMP) to convert it to .xpm.gz instead of .png.

It also has to be a certain color range.

Read more here about the specifications for bootsplash images:
http://ruslug.rutgers.edu/~mcgrof/grub-images/

randell6564 06-11-2006 01:10 AM

Thank you sir!

I'm gonna go and do some tinkerin...

I'll let ya know what happens!

randell6564 06-11-2006 01:39 AM

Well...

strange that it still does not show up.

I went and checked my partitions with 'fdisk' just to see if Im entering the right partition in '/boot/grub/menu.lst':

Device Boot Start End Blocks Id System
/dev/hda1 1 4134 33206323+ 83 Linux
/dev/hda2 4135 4499 2931862+ 5 Extended
/dev/hda3 4500 8068 28667992+ 82 Linux swap / Solaris
/dev/hda4 8069 8578 4096575 83 Linux
/dev/hda5 4135 4499 2931831 82 Linux swap / Solaris

'hda1' IS 'ubuntu.'

I DO HAVE a '.xpm.gz' in '/boot/grub/images' so I tryed to make this work with IT, but still nothing.

Heres the '/boot/grub/menu.lst':

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
splashimage (hd0,0)/boot/grub/images/ubuntu.xpm.gz


I'll keep looking!

aysiu 06-11-2006 01:51 AM

There are only two things I can think of:

1. Are you sure it fits the right color specifications in the link I gave you before? It's not enough that it is in the .xpm.gz format. It has to be formatted in a particular way.

2. Are you sure Ubuntu's Grub is in charge of the MBR and not Mepis' Grub?

randell6564 06-11-2006 02:00 AM

I think you Nailed it!!

Although I have wiped 'mepis' recently and installed 'xubuntu',

'xubuntu' is, I am assuming in charge of the 'MBR' because it is the first to boot if I do not choose 'ubuntu!'

Oh well...

unless I can figure out a way to install 'ubuntu grub' and reverse the order, I'll live with it!

Thanks Again!

aysiu 06-11-2006 12:22 PM

Just edit the /boot/grub/menu.lst file on Xubuntu, and you should be fine. Also, make sure you put the splash.xpm.gz file on Xubuntu's /boot/grub.

randell6564 06-11-2006 03:49 PM

Quote:

Originally Posted by aysiu
Just edit the /boot/grub/menu.lst file on Xubuntu, and you should be fine. Also, make sure you put the splash.xpm.gz file on Xubuntu's /boot/grub.

I didnt even think of doing that! Thank You!

Makes perfect sense! Since 'xubuntu' is running the show, I can just place the 'bootSplash' in HER 'menu.lst.'

I'm on it, Thanks Again!

randell6564 06-11-2006 04:07 PM

Well...

ya did it again, my friend!

I edited 'xubuntus'' 'menu.lst' and now the 'splash' is showing!

Thank you Much!

randell6564 06-11-2006 06:00 PM

Ok...

THIS is Strange!

I went here: http://easylinux.info/wiki/Ubuntu_da...enu_on_boot-up

for instructions on how to install a splash image at boot up.

by using the link in the first order of operation: wget -c http://easylinux.info/uploads/ubuntu.xpm.gz

AND with Much help from 'aysiu', I now have a nice 'boot-splash' screen!

BUT...

I dont want the 'splash screen' provided in the wiki...

I want one that I choose!

So...

I go to 'gnome-look.org>splash screens' and pick one that I like.

I click on 'download' and then 'Save as' '.xpm' instead of '.php'.

I now end up with 'imagename.xpm' on my desktop (OR in /boot/grub/images, wherever I choose to save it).

I open the image with 'gimp' and resize to '640 by 480' which is the correct size for a boot-splash image.

Then I open a terminal and 'gzip imagename.xpm'.

NOW it is suppose to be ready! I then pull up my /boot/grub/menu.lst and edit it in.

After saving and rebooting, I get a message telling me that grub is unable to read the splash image!

The image provided in the 'wiki' works fine. I just cant install my own!

Wierd!

aysiu 06-11-2006 07:40 PM

Maybe your image has too many colors?

randell6564 06-11-2006 09:36 PM

Quote:

Originally Posted by aysiu
Maybe your image has too many colors?

Thats true! I guess I was just assuming that the splash images provided at 'gnome-look.org' are 'cooked' and ready to 'serve.'

It seems though that they would already be in the '.xpm.gz'

format when downloaded, but they're not. (unless I'm saving them the wrong way)

I'll try a variety and see if I can come up with one that works!

heres the link to the 'splash' that I was trying in case you care to check it out:

http://www.gnome-look.org/content/sh...?content=33550

It COULD possibly be the "color" issue!

randell6564 06-11-2006 10:13 PM

FREEKIN CRAZY!

If you go here: http://www.gnome-look.org/content/sh...?content=29985

you can get this image ALREADY in '.xpm' format, with no REAL color!

When ya right click and 'save' it, you will get it already in the '.xpm.gz' format but grub will not be able to use it!

I dont understand. That ONE splash that comes with the instructions here: http://easylinux.info/wiki/Ubuntu_da...enu_on_boot-up

installs perfectly!

I even disected it and compared it to the ones that I have been trying to create and it all seems to match up!

Wierd!


All times are GMT -5. The time now is 11:22 PM.