LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-11-2006, 05:49 PM   #1
genthree
LQ Newbie
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 12

Rep: Reputation: 0
CD drive/ hard drive on same IDE cable?


Not to sound like TOO much of a newbie, but can a hard drive and a CD drive share the same IDE cable with the proper Master/slave settings? If so, what are the proper settings and what jumper pin configuration does Dell use. I'm hoping the readers of this questions will be believers in the "there's no such thing as a stupid question" axiom.
 
Old 05-11-2006, 05:55 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 41
Yes you can connect a harddrive and a cd-rom on the same IDE cable. Just set one master and one slave. As for on which pin to place the jumper.. That'll be on the sticker that's usually on the harddisk and cdrom..
 
Old 05-11-2006, 05:58 PM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I'm no hardware expert but I don't see why it would be a problem. There are usually instructions on the hardware for correct jumper settings.

FYI

/dev/hda = Primary Master
/dev/hdb = Primary Slave
/dev/hdc = Secondary Master
/dev/hdd = Secondary Slave

Use this info to get your devices working correctly.

regards,
...drkstr

**edit**
puntjuh beat me to it
**edit**

Last edited by drkstr; 05-11-2006 at 05:59 PM.
 
Old 05-11-2006, 09:50 PM   #4
genthree
LQ Newbie
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
**Edit**
Wow, I feel stupid :-(

Last edited by genthree; 05-11-2006 at 10:03 PM.
 
Old 05-11-2006, 10:06 PM   #5
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
Actually, your reading the pinout labals incorrectly. You don't read it as CSM, SLA it's read vertically:

C S M
S L A
* * *
* * *

Try reading it vertically. First row is "Cable Select" Second row is "Slave" Third row is "Master"

KC
 
Old 05-11-2006, 10:41 PM   #6
genthree
LQ Newbie
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
yeah, I was really, really hoping no one would read my post before I erased it, but just my luck... Anyway, thanks for the help. Even though my face is bright red, I got everything working.
 
Old 05-11-2006, 10:47 PM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
No reason for the red face. Ive done worse...

Unless of course your using Windows, Then you should be embarassed...

KC
 
Old 05-13-2006, 07:24 AM   #8
muddywaters
Member
 
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427

Rep: Reputation: 30
Quote:
Originally Posted by genthree
**Edit**
Wow, I feel stupid :-(
Maybe you will feel better if I display my ignorance

Does this mean there is no real difference between the 2 cables? For example, if the cables for the hard drives and the cd/dvd drives were switched an OS would install as normal. And the hard drives would now be hdc and hdd?

I'll probably regret asking this. The coffee hasn't quite kicked in.

AS far as running windows, guilty as charged.
 
Old 05-13-2006, 08:23 AM   #9
zidane_tribal
Member
 
Registered: Apr 2005
Location: chained to my console.
Distribution: LFS 6.1
Posts: 143

Rep: Reputation: 18
yes, there is no difference between the two cables. ide cables are interchangable, they are passive components (i.e. the cables dont actually do anything, they are literally just peices of wire stuck together). you can get two different types of ide cable, 40's and 80's, the difference is in the number of wires in them, but dont worry too much about that, they are interchangable too, you can use whatever you have to hand.

you can swap cables at will, and it wont change drive assignments, thats handled on the motherboad and the drives. drkstr had it right with his list. most mobo's have their ide plugs labelled IDE0 and IDE1 (some label them IDE1 and IDE2), the IDE0 is the primary ide chain, then IDE1 is the secondary ide chain. it doesnt matter what cable you use, if you have a hard drive set to Master and plugged into IDE0, it will always be the primary master and appear in /dev/hda, and so on. in general, cables have no effect on the assignment of drives or devices, they are just there to connect two things together.

to put these on drkstr's list looks like:

/dev/hda = Primary Master (IDE0 Master)
/dev/hdb = Primary Slave (IDE0 Slave)
/dev/hdc = Secondary Master (IDE1 Master)
/dev/hdd = Secondary Slave (IDE1 Slave)


and there's no need for a red face, the only stupid question is the one that is unasked
 
Old 05-13-2006, 12:33 PM   #10
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,026

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
We appear to have some IDE cabling experts in this thread. Would someone correct or confirm my understandings on this IDE stuff? (p.s. - this isn't a thread hijack - I think the answers are relevant to the OP's original question )

Questions:

(1) Cable Select will only work on 80 wire cables. With a 40 wire cable you will have to select your own Master and Slave manually. True or False? (I think True)

(2) Mixing devices of different speeds (e.g., a harddisk and a CD-ROM) on the same cable will slow the faster device down. (Again, I think True - but I'm probably wrong.)

I've avoided the need for an answer on my personal systems by using 80 wire cables with CS and manually setting M/S with 40 wire, and only putting similar devices on the same IDE cable. I'm now wondering if this is really necessary.

Thanks
 
Old 05-13-2006, 01:21 PM   #11
matelot
Member
 
Registered: Apr 2006
Location: France
Distribution: Trying all sorts...
Posts: 30

Rep: Reputation: 15
If you Google on cable select, you'll find a couple of sites which explain what cable select actually is, and how to quite simply modify a 40 cable to make it work (80 cables aren't univerally available, apparently.) Interesting stuff.
 
Old 05-14-2006, 01:07 AM   #12
Prostetnic_Jeltz
Member
 
Registered: Feb 2006
Posts: 66

Rep: Reputation: 16
Quote:
Originally Posted by kencaz
No reason for the red face. Ive done worse...

Unless of course your using Windows, Then you should be embarassed...

KC
LOL

I second that! genthree - that's what the forums are for, everyone has to learn something for the first time
 
  


Reply

Tags
cable, ide


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
Second Hard Drive IDE vs SCSI OrganicX General 7 01-17-2006 07:23 AM
How to config ide-scsi on hard drive david_deng Red Hat 2 09-14-2004 06:07 PM
Mounting a hard-drive on secondary ide linuxjuggler Linux - Newbie 1 12-16-2003 12:15 AM
USB to IDE External Hard Drive codegomer Linux - Hardware 3 11-20-2003 04:57 AM
ide hard drive problem frieza Linux - Hardware 4 08-06-2003 01:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration