LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-22-2002, 11:54 AM   #1
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Rep: Reputation: 30
GRUB splash image and timeout not working


In the past will the same redhat installation on another machine, GRUB worked fine, but having problems on the machine I am using now. The timeout and splashimage seem to be ignored.

Here are the details of my machine:
rpm -q grub -> grub-0.90-11
Kernel: 2.4.7-10
Distribution: RedHat 7.2

contents of /boot/grub/menu.lst:

grub.conf generated by anaconda

#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2
initrd /initrd-2.4.7-10.img


The image file is in /boot/grub, and is readable and is not zero-size.

The problem is that when grub loads, the display is black and white and there is no timeout. On my previous installation, the splash image was shown (VGA display) and the timeout worked.

Not sure why this installation didn't function the same, especially since I ran the same steps during setup.

Ideas?
 
Old 11-22-2002, 12:01 PM   #2
jetfreggel
Member
 
Registered: May 2002
Posts: 172

Rep: Reputation: 30
at mine grub.conf
default=1
timeout=10

good luck
 
Old 11-22-2002, 12:08 PM   #3
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
That didn't seem to have any effect, still no image or timeout
 
Old 11-22-2002, 01:39 PM   #4
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Do you have a /boot/grub/menu.lst file?
 
Old 11-22-2002, 01:55 PM   #5
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
That file and contents is listed in the original post.
 
Old 11-22-2002, 02:27 PM   #6
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
O.K., my error. Is there a /boot/boot/grub/menu.lst?

I've seen where sometimes the menu.lst file ends up in a strange place -- usually a /boot/boot ... directory. I'm not sure how that happens, perhaps an update that got screwed up. Anyway, the boot code has to be looking at something other than the normal location.
 
Old 11-22-2002, 04:00 PM   #7
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
There is no /boot/boot directory

Here is the boot directory:

$ cd /boot
$ ls
boot.b initrd-2.4.7-10.img lost+found module-info-2.4.7-10 System.map-2.4.7-10
chain.b kernel.h message os2_d.b vmlinuz
grub kernel.h-2.4.7 module-info System.map vmlinuz-2.4.7-10


I have read that if you set:
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

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

it looks relative to boot, so the first one will be /boot/boot... But I don't have that set. One person posted that there was a vga16 setting :

display vga16

but that was in reference to grub .91, and I'm not sure if that is valid for .90 version. It seems strange to me that the timeout is also not working though.

If I use locate:
[root@localhost grub]# locate menu.lst
/boot/grub/menu.lst
/usr/share/doc/grub-0.90/menu.lst

Since that is in a doc directory, I don't see it being used, but I could be wrong.
 
Old 11-22-2002, 04:27 PM   #8
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
If I use locate:
[root@localhost grub]# locate menu.lst
/boot/grub/menu.lst
/usr/share/doc/grub-0.90/menu.lst
That's probably not it, because that specific location would have to be referenced in the boot code on your MBR and that would be truly weird!!

It may be that Grub is somehow confused because there is only one stanza. You might just comment out the "timeout=" line and see if it changes anything. My guess is that if it doesn't change anything, then Grub itself is somehow honked up and may need to be reinstalled or upgraded.
 
Old 11-22-2002, 05:26 PM   #9
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
Tried that, no luck.

Tried upgrading to GRUB 0.91 (rpm upgrade), but still having the same issue. Also tried to make some changes to the menu.lst file to make it like the example file:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
display vga16
splashimage (hd0,0)/grub/splash.xpm.gz
default 0
timeout 30

title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2
initrd /initrd-2.4.7-10.img

title Change the colors
color light-green/brown blink-red/blue


The new title appeared and did change the color, so it is using this file for sure. Still having the same issues though. Used GIMP to open the graphic file and verified that it is valid, and it is. Still stumped...
 
  


Reply



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 06:16 AM
GRUB: splash image with loading bar Michele Spinolo Linux - Software 1 11-26-2004 03:51 AM
grub 0.95 splash image doralsoral Linux - Software 1 11-25-2004 11:53 PM
Grub and splash-image Harp00 Slackware 1 11-10-2004 06:23 PM
GRUB splash image LinuxDan Linux - Distributions 6 11-14-2002 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:05 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
Open Source Consulting | Domain Registration