bug-grub
[Top][All Lists]
Advanced

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

Re: ATA66 does not boot.


From: erich
Subject: Re: ATA66 does not boot.
Date: Wed, 30 May 2001 14:34:30 -0700

Gregory Gee <address@hidden> wrote:

>   I decided to look at grub and made a grub boot floppy.  But I can't get
> it to boot to my linux hde drive.  I have no problem using lilo.  hde
> is the only drive in my PC right now.  What do I have to do to get
> grub to boot from a drive on the HPT366 IDE drives?
> 
> address@hidden grub]$ df       
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/hde9             17639220   4336884  12406316  26% /
> /dev/hde1               101089      7200     88670   8% /boot
> /dev/hde6               497829        56    472071   1% /tmp
> /dev/hde5              1011928     59036    901488   7% /var
> 
>   My boot/grub/menu.lst
> 
> # general configuration:
> timeout  10
> default   0
> #fallback  2
> color     light-gray/blue  red/light-gray
> 
> title Redhat 7.1
> root    (hd4,0)
> kernel  /boot/vmlinuz-2.4.2-2smp root=/dev/hde9 ro


Looks like the extra HPT366 controller is an add-on to the
motherboard, and the SMP part is hinting that you maybe have an
ABit BP6?

I have one of these, and your problem is that, with no other
drives installed (or even with drives installed on an ABit BP6
with the BIOS order set to "EXT" before "C", and "EXT" set to
"UDMA66"), you need to set the disk part of your "root" device
statement in your GRUB menu file to:

   hd0

You were assuming that BIOS device numbers follow the Linux
device naming scheme, and that is not the case.  The BIOS
numbers them starting from the first one in boot order.

--
    Erich Stefan Boleyn     <address@hidden>     http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"



reply via email to

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