LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-23-2004, 12:38 AM   #1
Pontius
LQ Newbie
 
Registered: Apr 2004
Posts: 21

Rep: Reputation: 15
Problem recognizing hard drive


I am running RH9, with a 2.6.7 kernel. Dual booting Win2K and linux.

Windows is the master on IDE channel 1
Linux is the slave on IDE channel 1

I have a data drive that is NTFS that I wan't both OSes to be able to see. It is the Master on IDE channel 2, and the cdrom is slave on IDE channel 2.

When I boot into windows, I can see it fine (why can't linux be this easy?)

I am pretty familiar with mounting and stuff like that, but I am realizing that linux cannot even see the drive.

I am pretty positive that it is on /dev/hdc, because /dev/hdd is the cdrom.

But I would like to make absolutely sure, because when I do:

# fdisk /dev/hdc

I get:

# Unable to open /dev/hdc

How can I determine what device is mapped to this hard drive, because it seems that there is something wrong if fdisk cannot even see it.

Any advice? Thanks
 
Old 06-23-2004, 12:51 AM   #2
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
You can tell which drives are mapped as which device by inspecting /proc/ide.
 
Old 06-23-2004, 01:09 AM   #3
Pontius
LQ Newbie
 
Registered: Apr 2004
Posts: 21

Original Poster
Rep: Reputation: 15
Nevermind, I got it figured out. It's actually pretty interesting...

When I originally configured everything, I did not have the third hard drive installed. So my cdrom was on hdc, and the boot entry in grub.conf looked like this:

title RH9 Kernel (2.6.7)
root (hd1,0)
kernel /bzImage-2.6.7 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.6.7.img

So when I installed the new drive, hdc was the drive, and not the cdrom. so the line:

hdc=ide-scsi

was messing it up. I changed it to:

hdd=ide-scsi

so hdc was left alone. I can now mount the drive fine.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive installation error, not recognizing ISO files PDAOmega Fedora - Installation 2 07-24-2005 11:24 PM
problem recognizing seagate hard drive nom the unwise Linux - Hardware 1 02-09-2004 08:07 PM
Recognizing Hard Disks jdreg Linux - Newbie 4 12-03-2003 11:21 AM
Slackware not recognizing my hard drive? I can't even load bare.i from the cd leeman_s Slackware 1 09-28-2003 10:43 AM
Recognizing windows 2000 hard drive files in linux eelee Linux - Newbie 6 01-02-2002 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration