Grub doesn't find configfile

From: Alex Filonov (afilonov_at_yahoo.com)
Date: 03/26/04


Date: 25 Mar 2004 21:17:57 -0800

Crying for help!

Well, not exacly crying, but looking for help anyway.
Problem: I had RH 9.0 installed on Dell Poweredge 400sc. Upgraded to
Fedora
Core 1, obvious problem: lilo all hosed out. Decided to go the proper
way
and installed grub. Everything is almost good, but grub doesn't boot
the
system automatically. It just boots into grub prompt. If I type
configfile /grub/grub.conf
it shows startup menu and automatically boots linux.

Configuration.
/boot is a separate partition on /dev/hda (/dev/hda2).
/ is /dev/hda3

Here's grub.conf (comments removed):

default=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
        root (hd0,1)
        kernel /vmlinuz-2.4.22-1.2115.nptl ro root=/dev/hda3
        initrd /initrd-2.4.22-1.2115.nptl.img

grub was installed using command:
grub-install --root-directory=/boot /dev/hda

I understand that standard path for grub.conf is /boot/grub/grub.conf
and in my configuration it would be /grub/grub.conf. So I followed
advice in this link:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=3D2A4A5D.9080200%40stemnet.nf.ca.remove_this&rnum=4&prev=/groups%3Fas_q%3Dgrub%2520configfile%26safe%3Dimages%26ie%3DUTF-8%26oe%3DUTF-8%26lr%3D%26num%3D100%26hl%3Den
and ran command from grub prompt:

setup --prefix=/grub (hd0,1)

Still no luck.

Any ideas?

Thanks in advance,

Alex.



Relevant Pages

  • RE: Re-installing GRUB on FC3
    ... Your hardware configuration should be: ... for fedora -- apparently it DOES matter. ... then grub should come up. ... line and install and setup from the GRUB shell after booting from the ...
    (Fedora)
  • Re: [SLE] LiLo configuration for 3 OS-es on the same machine.
    ... You can access it either through yast (System->boot loader configuration) ... > Mandrake because no menu for mandrake written on grub ... >> it to load lilo as a secondary loader, ...
    (SuSE)
  • Re: GRUB help
    ... > I seem to be having some problems configuring GRUB to boot to my Windoze ... You might try this configuration ... if you include information about your version of windows, version of grub, ...
    (comp.os.linux)
  • Re: confguring grub to load new kernel
    ... > I just compiled kernel 2.6.10 and now wondering how to make the grub to ... > How should I change the configuration? ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Cookie Cutter steps to install Kernel 2.6.x
    ... > I'm looking for a step by step set of instructions to install 2.6 on SuSE ... > the configuration of Grub. ...
    (alt.os.linux.suse)