bug-grub
[Top][All Lists]
Advanced

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

[Bug #722] Can not find second hard drive on PCI IDE Controller


From: nobody
Subject: [Bug #722] Can not find second hard drive on PCI IDE Controller
Date: Wed, 04 Sep 2002 23:00:00 -0400

=================== BUG #722: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=722&group_id=68

Changes by: Jeffrey Drake <address@hidden>
Date: 2002-Sep-05 03:00 (GMT)

------------------ Additional Follow-up Comments ----------------------------
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 address@hidden




=================== BUG #722: FULL BUG SNAPSHOT ===================


Submitted by: slickfox                  Project: GNU GRUB                       
Submitted on: 2002-Jun-20 23:44
Category:  Disk &amp; Partition         Severity:  Major                        
Priority:  None                         Bug Group:  Non-software Error          
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Release:                                
Reproducibility:  Every Time            Planned Release:                        

Summary:  Can not find second hard drive on PCI IDE Controller

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!

Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Sep-05 03:00             By: jdrake
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 address@hidden


-------------------------------------------------------
Date: 2002-Jul-30 13:45             By: None
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.

-------------------------------------------------------
Date: 2002-Jun-25 13:47             By: None
That is what the device.map shows.

-------------------------------------------------------
Date: 2002-Jun-25 13:46             By: None
That is what the device.map shows.

-------------------------------------------------------
Date: 2002-Jun-21 00:13             By: katzj
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




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=722&group_id=68




reply via email to

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