bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-grub] Re: GRUB hangs


From: David Balazic
Subject: Re: [Bug-grub] Re: GRUB hangs
Date: Wed, 26 Feb 2003 10:57:30 +0100

grenoml wrote:
> 
>   Ok I finally got something, maybe.  I wiped the drive totally clean.
> Reinstalled everything again just as before.  This time I ran
> grub-install on both drive devices.  I went into the BIOS and told it
> to boot from /dev/hde (the replaced drive) - no joy still but a
> different error:
> 
> root (hd1,0)
>   Filesystem type is fat, partition type is 0x6 (huh? -that's
> /dev/hdc!)
> kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/
> 
> Error 15: File not found
> 
>   Went back into the BIOS and set to boot from /dev/hdc and finally
> joy!  It boots.  Now I have questions.  Why, when BIOS is set to boot
> from /dev/hde, and GRUB shows going to root (hd1,0) which is /dev/hde
> according to device.map but complaining about fs type of fat, type 0x6
> which is actually the first partition type on /dev/hdc?  Anyway to fix
> this?  I would like to boot from /dev/hde.
> 
> Gerry
> 
>  At least it is booting :-)

(hd0)  = BIOS boot drive ( also known as 0x80 ), the drive that is
booted

If you set up the BIOS to boot from hde , then (hd0) is hde.
(hd1) is the "next" drive, in your case hdc.

So everything worked as it should.

> 
> --- grenoml <address@hidden> wrote:
> > Well, maybe not.  I went and checked another RH8 box using GRUB and
> > it
> > has the same word 'floppy' in its stage1 file also.  This is a really
> > strange problem.  Does anyone know enough about grub internals as to
> > what makes it look at the floppy instead of the hard drive?  Is there
> > any more info that I could provide?
> >
> > Gerry
> >
> > --- grenoml <address@hidden> wrote:
> > > Jason,
> > >   Ok, I overwrote the mbr on hde and then booted in rescue mode and
> > > ran
> > > grub-install /dev/hde.  Checked it with dd to make sure it put it
> > > there
> > > and then tried to reboot.  No good - same thing, GRUB appears and I
> > > see
> > > the floppy trying to be accessed and then it hangs.  I'm assuming
> > > that
> > > during the GRUB boot that it is running the stage1 file.  If so, if
> > > you
> > > look at the bottom of the stage1 dump listing in my first post you
> > > see
> > > the word 'floppy' there.  Why is this there and how did grub get it
> > > there?  I think this is what is messing things up.
> > >
> > > Thanks,
> > > Gerry
> > >
> > > --- Jason Thomas <address@hidden> wrote:
> > > > If you have a win9x floppy handy with fdisk boot it and run
> > 'fdisk
> > > > /mbr'
> > > >
> > > > This will rewrite your mbr (which i think is screwed up somehow).
> > > >
> > > > Then boot linux using your rescue disk, and reinstall grub using
> > > > 'grub-install /dev/hde'
> > > >
> > > > When you restored your machine from backup to the new hard drive
> > > you
> > > > should not have restored the mbr. The drive is almost always
> > going
> > > to
> > > > be
> > > > different to your previous drive so you need to use the
> > > grub-install
> > > > to
> > > > install grub. as file will be in a different location on the hard
> > > > drive.
> > > >
> > > >
> > > >
> > > > On Tue, Feb 25, 2003 at 01:12:07PM -0800, grenoml wrote:
> > > > > Some more info.  I'm noticing that right as the GRUB message
> > > > appears
> > > > > that the system is trying to read from the floppy drive even
> > > though
> > > > > there is no floppy in the drive and the hard drive light never
> > > > lights.
> > > > > I compared this to another linux system using GRUB and the
> > system
> > > > boots
> > > > > without trying to access the floppy.  It only accesses the hard
> > > > drive.
> > > > > Now the question is why is it doing this?
> > >
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - forms, calculators, tips, more
> > > http://taxes.yahoo.com/
> > >
> > >
> > > _______________________________________________
> > > Bug-grub mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/bug-grub
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub


-- 
David Balazic
--------------
"Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore
Logan
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]