bugGNU GRUB - Bugs: bug #722, Can not find second hard drive on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #722: Can not find second hard drive on PCI IDE Controller

Submitter:  Invalid User ID <#8308>
Submitted:  Thu 20 Jun 2002 11:44:12 PM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  Non-software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  None
Release:  x Reproducibility:  Every Time
Planned Release:  None

Jump to the original submission

Sat 15 Dec 2007 11:34:59 AM UTC, comment #8: 

We've moved to GRUB 2 as a development platform.  Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Group administrator
  Spam posted by anonymous
Mon 11 Oct 2004 11:52:43 AM UTC, comment #6: 

I may have a similar experience (using grub 0.95)
IDE1: master = Western Digital disk, slave = DVD-rom
IDE2: master = DVD-RW, slave = Maxtor ATA 80Mb
hda (=hd0) contains windows, hdd (=hd1) contains Linux (ext2)

when running grub from linux, I cannot detect any error
I can setup stage1 to the MBR of hd0, remaining files to (hd1,0)

If stage1.5 is on (hd1,0) I get Read-error from stage1
If stage1.5 is installed on (hd0,5), I get error 16 from stage 1.5
If stage2 is installed on (hd0,5), I get 'inconsistent file structure' when trying to read menu.lst
If menu.lst is moved to (hd0,5), I get 'inconsistent file structure' when trying to read the kernel (I do get the information about the kernel printed out though).
If the kernel is moved to (hd0,5), the system boots, and no problem can be detected with the disk.

My current wild guess is that for some reason while grub is running under linux, (hd1) refers to /dev/hdd (as reported by the kernel), but that when booting (hd1) refers to hdb (due to the unusual master/slave assignments?.

Anonymous
Thu 05 Sep 2002 03:00:00 AM UTC, comment #5: 

I had a bug that I think is related to this. I am trying to use the oskit example kernels. In vmware I have (hd0) has my main linux install, with (hd1) being my testing drive because of the size of the images.

To setup grub initially it was easy...
root (hd1)
setup (hd1,0) 

I copied my vmlinuz from (hd0,0)/boot to (hd1,0)/boot and it worked as
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hda1

But when I tried the 'hello' example kernel:
kernel (hd1,0)/boot/hello

It would complain of afile not found. I was about to seek help on irc, when I decided just for the heck of it...
kernel (hd1,0)/boot/hello
and it worked.

So what I think is happening: For Linux it is finding the file on hd1 fine, but the others it is remapping it to hd0 instead of hd1.

I am using the newest cvs (Sept 4, 2002) and gcc 3.2 on rootlinux. Feel free to contact me -email is unavailable-

Jeffrey Drake <jdrake>
Tue 30 Jul 2002 01:45:48 PM UTC, comment #4: 

I had a similar problem using grub to boot FreeBSD which was on the secondary IDE controller.  After booting Linux, grub was able to see that HDD and even find the /boot/loader file, but grub was unable to find the drive during initial bootup.
The problem was a config issue in the BIOS; the first entry for the secondary IDE controller was set to NONE.  After I changed it to "User HDD" and rebooted, grub was able to see the drive to boot FreeBSD.

Anonymous
Tue 25 Jun 2002 01:47:03 PM UTC, comment #3: 

That is what the device.map shows.

Anonymous
Tue 25 Jun 2002 01:46:48 PM UTC, comment #2: 

That is what the device.map shows.

Anonymous
Fri 21 Jun 2002 12:13:35 AM UTC, comment #1: 

What are the contents of your /boot/grub/device.map file?  It should look something like

(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdf

Invalid User ID <#7699>
Thu 20 Jun 2002 11:44:12 PM UTC, original submission:  

Bizare error here, installed red hat 7.2 on a secondary hard disk, windows 98 is on the first drive. Both drives are attached to a Maxtor ATA100 PCI IDE controller, on the primary channel. Grub will boot but would not be able to find the secondary drive, error 21. Could however boot into linux with disk, then running grub from the terminal I could see the windows drive as (hd0,0) and linux as (hd1,0) in linux they are hde1 & hdf1 respectively. I moved the grub folder to the windows drive c:\boot\grub and then loaded grub in the MBR to load from there, worked fine, can boot windows, but when booting linux it says can not find drive.  Have tried root(hdx) up to unfesable numbers, seems its not even showing up.  I can move the drives to the primary onboard and this problem is resolved... however it is a serious down grade in speed. I have seen no documentation so far on this type of problem, have I just stumbled upon another sucky IDE controller? 

Also for info the drives are both Maxtor's, one 40 GB, one 30 GB, both ATA100s. The card is labeled Maxtor but has a Promise chipset!

Invalid User ID <#8308>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2007-12-15 robertmh Release x

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code