LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Splash screen for Grub (https://www.linuxquestions.org/questions/linux-general-1/splash-screen-for-grub-19014/)

nabil 04-20-2002 05:59 PM

Splash screen for Grub
 
Hello,
I have just installed grub-0.91 and everything seems to work except getting the splash screen to show up ??? I don't know what I am doing wrong. Here is my menu.lst
Code:


root@nabil/boot/grub# more menu.lst
#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1
color green/black light-green/black
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


# For booting Linux
title  Linux 2.5.0
root (hd0,0)
kernel /boot/vmlinuz-2.5.0 root=/dev/hda1 hdc=ide-scsi vga=ask

Can any one help..
Thanks.

pbharris 04-20-2002 06:25 PM

hello,
i thought that command was supposed to go in the file <grub dir>grub.conf

nabil 04-20-2002 07:01 PM

grub.conf is just a sym link to menu.lst. should not make any diffenece.

should it !!!

linuxcool 04-20-2002 11:03 PM

Try changing the ' ask ' in ' vga=ask ' to the actual number. Mine uses ' vga=274 '.

nabil 04-21-2002 10:37 AM

This was happening before I even put the vga=ask ????

ngomong 04-21-2002 03:20 PM

All the file calls are relative to /boot... therefore:

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

Should be:

splashimage=(hd0,0)/grub/splash.xpm.gz

It was looking for the image in /boot/boot/grub/splash.xpm.gz

Hope that works!

linuxcool 04-22-2002 03:33 AM

Did you try changing ' vga=ask ' to the right video mode.

On my system, I have to have the splashscreen line uncommented and the ' vga= ' entry set to the right video mode. To disable the splashscreen, I have to comment out the splashscreen line and change the ' vga=274 ' entry to ' vga=normal '.

nabil 04-22-2002 08:00 PM

Sorry, tried both suggestions, but still no picture :(

PimpNasty 04-22-2002 09:59 PM

Try changing the splashimage line to "splashimage=(hd0,0)/grub/splash.xpm.gz" and moving that line before the "# Fallback to the second entry." line.

nabil 04-24-2002 04:26 AM

Not working yet ..Still no go

linuxcool 04-26-2002 06:46 PM

Let's try this.

Boot up linux and allow it to boot automatically. Time how long it takes. According to your menu.lst file, it should take 30 seconds. Make sure it does.

Run ls -l /boot/grub and see if the file splash.xpm.gz exists and if has a size greater than zero and it has its permission set to be readable.

Change the timeout 30 line to timeout 45. Then reboot and let it boot automatically and time it to make sure it takes 45 seconds. I'm just checking to make sure that grub is using this config file and not using some other config file. Also, before you reboot, comment out the color green/black light-green/black line and you can remove the vga=ask kernel option.

nabil 04-27-2002 08:00 PM

linuxcool,

I tried all your suggestions, and still no picture...

It appears to be using the correct config file.. I don't have other config files..
I am using the picture used in Redhat distribution to test this. SHall I try some other splash.xpm.gz !! if so do you know Were I can get a cool one or make one my self ....

linuxcool 04-29-2002 04:26 AM

Your version of grub may not be able to handle the command splashimage. Red Hat 7.2 can handle it because I saw a sample menu.lst file on their web site.

My version uses splashscreen and also needs vga=274 to work. I doubt that changing splashimage to splashscreen will work, because I think you'll need a different type of splashscreen file to get it to work.

Try man grub and info grub to see if there is any mention of setting up a splashscreen.

kdaru 05-08-2002 03:26 AM

GRUB splashscreen
 
I haven't had any luck with the splashscreen either, but being a newbie attributed it to my own stupidity. But look at http://mail.gnu.org/pipermail/bug-gr...y/006527.html. Apparently, the splash screen is a non-standard patch to GRUB that only Redhat has. My own grub is 0.92, and grepping through the source files show no mention of the words splashimage or splashscreen, implying that my version does not have the patch. Somewhere in the mailing list they mention that it won't be incorporated as a standard feature of grub until v. 1.0. Let us know if the patch works!

kdaru 05-08-2002 03:30 AM

P.S.
 
Take the period off the end of the link address; I'm still learning the ropes of this forum, sorry...


All times are GMT -5. The time now is 04:07 AM.