Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.