View previous topic :: View next topic |
Author |
Message |
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
Posted: Sat May 25, 2002 3:22 pm Post subject: Weird Grub HD Naming Question??? |
|
|
Ok this is weird. I am used to grub doing some weird things but this has to take the cake. I know that grub uses different syntax for hd. /dev/hda become (hd0,0) /dev/hdb (hd1,0) and so on and so on.
My hard drive is attached to a promise controller. First drive on the promise controller and has always been seen as /dev/hde. Ok here is the strange part for me at least. Following grubs hd naming scheme my hd should be (hd4,0) right? Well according to grub it is (hd0,0) That is the only way grub will see the drive. It then detects the drive, what FS it is running.
Is this right? Shouldn't it be (hd4,0) _________________ Boricua Hasta La Muerte |
|
Back to top |
|
|
amigadave n00b
Joined: 29 Apr 2002 Posts: 55 Location: UK
|
Posted: Sat May 25, 2002 4:38 pm Post subject: |
|
|
Yep that's right. GRUB sees the first hd as hd0, second as hd1 and so on. There is no mapping between ide-controller and disk number. For example if you had a single hd on your motherboard's ide controller (primary or secondary) it would be hd0, and if you then had a drive on your Promise controller it would be hd1 (not hd4 because it's on the 5th channel). I'm sure that this is explained in the GRUB documentation though. |
|
Back to top |
|
|
elboricua Apprentice
Joined: 17 May 2002 Posts: 226 Location: Bronx, NY
|
|
Back to top |
|
|
TheWart Guru
Joined: 10 May 2002 Posts: 432 Location: Nashville,TN - USA
|
Posted: Sun May 26, 2002 4:04 am Post subject: |
|
|
Hmm, if you go to the gentoo mail archives, i believe a guy actually made a gentoo splash for grub. _________________ Face it, we are all noobs.
On the box it said it was designed for Win XP or better, so why won't it work with Linux? |
|
Back to top |
|
|
linuxusr n00b
Joined: 18 May 2002 Posts: 11 Location: San Angelo, Texas
|
Posted: Sun May 26, 2002 4:27 am Post subject: For what it's worth |
|
|
When I installed gentoo it was on a scsi drive .. the only drive in the box. (hd0,0)
hda is a ide cdrom on the motherboards ide0 master
ide1 on the motherboard is disabled
I then added 2 ide drives on an ata100 card
primary master and secondary master (hdc and hde)
Now grub sees the scsi as hd2
hd0 is the ata100 ide0 master
hd1 is the ata 100 ide1 master
Telling the cmos to boot the scsi
Grub booted the scsi fine when it was the only dirve from the mbr
since the addition of the other 2 drives
I havent gotten grub to boot the scsi from it's mbr
I have to use a boot disk
at least it boots <g>
Linuxusr |
|
Back to top |
|
|
tsuru Tux's lil' helper
Joined: 19 Apr 2002 Posts: 99 Location: Nashville, Tennessee, USA
|
|
Back to top |
|
|
|