LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-26-2007, 08:43 PM   #1
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
IDE hard drive won't show


My two primary hard drives are SATA disks I have no problem with. Then I add an old IDE disk (that my BIOS has no problem seeing, by the way) to my box. This disk should show up as /dev/hda, right?

Because it doesn't. What could be the problem here?
 
Old 10-26-2007, 10:31 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If it is a recent kernel, it will be listed as /dev/sda# instead. Mine does, which is version 2.6.22-9.

Last edited by jschiwal; 10-26-2007 at 10:33 PM.
 
Old 10-26-2007, 10:45 PM   #3
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jschiwal View Post
If it is a recent kernel, it will be listed as /dev/sda# instead. Mine does, which is version 2.6.22-9.
I thought that was only for SATA disks? Anyway, there's not /dev/sdc... just /dev/sda and /dev/sdb, my SATA disks.
 
Old 10-26-2007, 11:07 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,764

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
The SATA module libata also supports PATA (IDE) drives. Since libata uses SCSI subsystem modules your IDE would also show up as a sda device.

hda is the 1st controller master drive. How is the drive connected to the computer? Is the BIOS recognizing the drive as such?
 
Old 10-26-2007, 11:11 PM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
The dropping of hdX drives is part of the newer kernels. The process is new enough its behavior is sometimes difficult to predict. On some of the systems I have seen it has replaced (when added to an existing system) sda, in other cases I have seen it skip a few letters sdd. I usually use something like gparted to figure out what the drives are being labeled. Depending on your pata controller support for it may have dropped through the cracks (assuming a unusual controller).
 
Old 10-29-2007, 07:36 PM   #6
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Original Poster
Rep: Reputation: 30
It's connected to its own IDE cable (no switch on the whole master/slave thingamajik). The BIOS recognizes it and I can change the boot sequence of the hard disks there.

(What I'm using this disk for is Windows XP, and really, the only reason why I want to be able to see it is so that I can add it to Grub and select to boot to Windows XP there instead of always having to exchange the boot sequence in the BIOS when I want to boot into Windows.)

Gparted doesn't see my disk, though, just sda and sdb. Is it possible that there's some kind of support in the kernel that I left out that I need for IDE drives to work? (My CDROM and both other hard drives are SATA.)
 
  


Reply



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
2 hard drives, XP on my main sata drives, 10.2 on my IDE LILO doesnt show on boot up Dachy Slackware 14 01-03-2008 07:01 AM
how to get another hard drive to show in suse10.2 junglistno1 Linux - Newbie 7 05-02-2007 08:52 PM
CD drive/ hard drive on same IDE cable? genthree Linux - Newbie 11 05-14-2006 01:07 AM
command to show the hard drive serial #? AoiSora Linux - Newbie 1 02-17-2004 10:01 AM
Second hard drive doesn't show up GreenerLinux Libranet 4 11-17-2003 04:12 PM

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

All times are GMT -5. The time now is 09:46 AM.

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