FC4 Grub install problems

David Niemi drn_temp2 at rogers.com
Sat Jul 23 03:00:14 UTC 2005


On Fri, 2005-22-07 at 19:32 -0700, Antonio Olivares wrote:
> 
> --- David Niemi <drn_temp2 at rogers.com> wrote:
> 
> > > >> > - edit the /boot/grub.grub.conf to refer to
> > (hd2,0)
> > > >> > - issue grub commands:
> > > >> >    GRUB> root (hd2,0)
> > > >> >    GRUB> setup (hd2)
> > > 
> > > Not sure if this is relevant,
> > > but I had a similar problem on a machine with two
> > SCSI disks
> > > and a large IDE disk which I had added for
> > archiving.
> > > FC-4 seemed to give my IDE disk precedence,
> > > although the BIOS looked at my SCSI disk first.
> > > 
> > > My problem was solved just by saying
> > > 
> > >         grub-install --recheck /dev/sda
> > > 
> > > However, this may not be relevant to your
> > situation.
> > On Fri, 2005-15-07 at 17:38 -0500, Jeff Vian wrote: 
> > > Check the mapping of drives in
> > /boot/grub/device.map
> > > 
> > Thanks for the responses last week but I've been
> > unable to follow up till
> > now.
> > 
> > The device.map is from the FC3 installation which
> > lists hd0,0 whereas the find 
> > /grub/grub.conf finds it on (hd2,0).  When I ran the
> > above commands (root &
> > setup) things worked fine but I still end up with
> > the system halting at GRUB
> > when I try booting from the HD. I had changed the
> > grub.conf file to refer to
> > the (hd2,0) instead of (hd0,0)
> > 
> > So it isn't finding the /grub/grub.conf?  Now what
> > should I try?
> 
> Look for /boot/grub/grub.conf.  This is usually how it
> is named.  The other "/grub/grub.conf" seems weird
> unless named by user.

Antonio:
>From the grub prompt, grub sees the /boot/grub/grub/conf as coming from
(hd0,0)/grub/grub.conf.  It's a function of how grub refers to
partitions and drives, since the whole file system isn't mounted, the
first partition isn't mounted under /boot so the file system on the
first partition only contains a grub sub directory. Confusing, yup!





More information about the fedora-list mailing list