LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-26-2003, 09:02 AM   #1
cpeppler
LQ Newbie
 
Registered: Sep 2003
Location: S. Hamilton, MA USA
Distribution: RH 6.2, 8.0
Posts: 29

Rep: Reputation: 15
Determining IDE capability


I have a machine with a nuked /etc, which I have been having a tremendous difficulty getting into. My next approach is to see if I can remove the drive from the existing computer, and put it in another one, mount the drive, and extract the data off of it.

The broken computer is a regular old grey box (GB), single IDE drive. The machine was built with RH 8.0, and was running fine until /etc was nuked.

I also have a RH 6.2 box (Dell Poweredge 2300), with 1 SCSI drive in it.
A couple of questions:
[list=1][*]How can I determine if the box with the SCSI drive in it will accept an IDE drive?[*]If it will accept the IDE drive, and I put the drive in, how do I know which cable to connect the IDE drive to?[*]Once I get it connected physically, and reboot the RH 6.2 box, how do I know which logical drive (/dev/hdDN) it will show up as?[/list=1]

Thanks in advance for any help.

Charlie Peppler
 
Old 11-26-2003, 09:32 AM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
I would just give it a whirl as master or slave on the first avail. IDE channel. If no IDE channels used in the box, then master on IDE1. It will likely be /dev/hda1 . Your dmesg should tell you which.

If it doesn't mount automatically, you can manually mount it once the system comes up.

I think it should work like that.
 
Old 11-26-2003, 10:05 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
If it is a pentium or above computer it should have a built in IDE controller. The size of the IDE drive you can attach will be limited by the BIOS of the computer.

If it is a pentium or higher computer there will be two IDE connectors. If you don't know which one is which set the jumpers of the drive to master. Make sure the red strip on the cable is nearest to pin 1 of the motherboard connecter. In the motherboard BIOS set all IDE primary / slave to auto. You will see during the boot process which channel the drive is detected on.

1st controller master - hda
1st controller slave - hdb
2nd controller master - hdc
2nd controller slave - hdd

You will have to create a directory to mount the drive and mount it manually.
 
Old 11-26-2003, 12:32 PM   #4
cpeppler
LQ Newbie
 
Registered: Sep 2003
Location: S. Hamilton, MA USA
Distribution: RH 6.2, 8.0
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks, but no fit.

Well, I had both machines apart, and went for a looksee inside.

The Dell Poweredge is a tower machine. SCSI only. Plenty of room to add more SCSI drives. There were available expansion slots, but no onboard IDE connector anywhere.

The old grey box is IDE only. Plugged right in the old motherboard, much as you would expect, so I couldn't pull the interface board over even if I wanted to (not that I relished the thought).

Good grief.

Thanks for the help and info, back to trying to recreate /etc from scratch, and be able to get the data off this machine. I am well into day 2 of this rescue mission, and I still gotta long way to go.

Happy Thanksgiving everybody.

Charlie

Last edited by cpeppler; 11-26-2003 at 12:33 PM.
 
Old 11-26-2003, 02:32 PM   #5
tiktak
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Re: Thanks, but no fit.

> Thanks for the help and info, back to trying to recreate /etc from scratch, and be able to get the data off this machine.

Of course - if the grey box has got a network adapter - it might be easier to boot off a Linux CD, mount the data partitions manually and copy the precious data over to another box via the network. That way, you don't need to waste too much time getting /etc back working. Then reinstall your system on the grey box
 
  


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
Why no MP3 capability? rusty_slacker Fedora 3 10-31-2005 02:45 PM
Capability g26108 Linux - General 1 09-30-2005 04:47 PM
I can do it with less capability! Anniebaby Linux - Security 3 10-30-2003 08:51 PM
syslogd capability in cygwin? Jay_hizownsef Linux - General 0 06-11-2003 11:28 AM
Linux Capability nitr0gen Programming 0 02-15-2002 07:31 AM

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

All times are GMT -5. The time now is 01:52 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