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 08-31-2005, 02:53 PM   #1
SolarSean
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Red face Death throes of a HDD


Allo all.

I'm wondering if there's any chance that I could save my HDD?

Every once in a while, the secondary IDE controller would die in the middle of playing an online game, or in the middle of browsing a web page, or whatever, in Windows 2000. This time, it died while I was formatting the HDD that was under it (Secondary Slave, Maxtor drive, 20GB). I'm sure it was the controller b/c every time the second HDD died, the cd rom did too. The dialogue box was the regular so-and-so was ejected, etc.

A little tech spec:
Primary Master: Big Ole Maxtor 120GB, Windows 2000
Secondary Master: (Now defunct) Maxtor 20GB, (wiped Solaris to make room for Mandrake 10)
Secondary Slave: CD ROM

Something interesting:
Setting SM to [Auto] and SS to [Auto] detect in BIOS meant that neither HDD or CD were detected in Windows. (CD detected in BIOS occasionally, but name was garbled: LITE-ON DVD..., became L!TE~WN-DVD etc.)
Setting SM to [None] and SS to [Auto] detect in BIOS meant that the CD was detected in Windows. (CD detected in BIOS, and name was just fine)

That led me to believe that the HDD itself was a problem, and was causing the whole channel to not be detected properly.

What I've done:
Format: Couldn't be run b/c the drive was not located.

Ranish:
Installed on a boot floppy. Identified HDD just fine when installing Solaris. Now though, it doesn't recognize the drive (F5 next disk, does nothing). So, Primary HDD (Win) was detected, and defunct HDD was not. Removed Primary HDD, swapped defunct HDD into Primary Master position. Enabling [Auto] detect in BIOS, Ranish had a weird error, "Error getting hard disk parameters." The Ranish program then wouldn't open it's main program.

Kill Disk:
Installed on disk (thus making me really nervous). I can't remember the error, but it was similar to a HDD not recognized.

Maxtor MaxBlast:
Burned the ISO bootable to a CDROM. This is the program supplied by the manufacturer to install, configure, and reformat its HDDs. The program booted just fine. HDD was not detected (...by...its own manufacturer...v.v), so all combinations of commands to fix the HDD were to no avail.

---

Sorry for the long post, and thanks in advance if there's anyone out there that can help.

Is there some obscure program out there that can save my HDD?

Sean
 
Old 08-31-2005, 03:39 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
First off, and most importantly, you need to learn a basic principle of computer hardware troubleshooting--strip off stuff to the bare minimums, and add as little at a time as possible to determine what's wrong.

For example, it seems that either your CD-Rom could be causing the problem, or your hard drive, or your IDE channel, or the IDE controller itself, or it could be a bad cable. You can't tell which because you haven't even tried to remove any of your hardware.

So, the first thing to do is remove all hard drives and optical drives. See if everything in the BIOS looks normal (it should).

Next, attach ONLY the CD-ROM to the primary IDE channel. See if the name appears normal in the BIOS, and if so, see if you can boot up a liveCD with it. (Some linux bootable CDs seem to be rather sensitive to flakey CD drives, in my experience.)

After that, attach ONLY the problematic hard drive to the primary IDE channel. See if it looks normal in the BIOS.

If everything checks out so far, try attaching both the problem hard drive and the CD-ROM to the primary IDE channel. See if they look normal in the bios. If so, boot up a liveCD, and see if you can format the problem hard drive (i.e. with QTParted).

By doing some swapping around of hardware, you should be able to figure out exactly which piece of hardware is causing the problems. It might just be a bad IDE cable. Right now, you're really just guessing.

After you figure out what piece of hardware is messed up, then you can go about discarding/replacing/fixing it.

Note that I assume you have a liveCD around (like Knoppix). This is a REALLY GOOD THING to have around. Windows tools are, I find, more hit-and-miss in their helpfulness compared to a fully operational Linux operating system.
 
Old 08-31-2005, 05:41 PM   #3
SolarSean
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for the advice of starting small and testing each device individually. I've downloaded and am about to burn Knoppix. I will let you all know the results of each BIOS setting.

Sean
 
Old 08-31-2005, 06:45 PM   #4
SolarSean
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Wow. I had NO IDEA what Knoppix was capable of. I'm running an OS w/o a hard drive and I have a no-questions-asked access to the internet. Thank you for recommending it.

0. With no drives hooked up to the computer, BIOS looked very uninteresting - nothing detected. Exiting BIOS led to the last bootable option - no bootable floppy in A:, insert etc.

1. With just the HDD hooked up, BIOS still looked uninteresting. The autodetect failed to find a HDD. Exiting BIOS again led to the last bootable option - no nootable floppy in A:, insert etc.

2. With just the CDROM hookedup, BIOS reported the drive name correctly. Exiting BIOS, the CD started, Knoppix came to the knoppix command prompt, and I shut off the computer.

3. Now with both HDD and CDROM, BIOS reported no HDD detected, but the CDROM was reported just fine. I exited the BIOS and let Knoppix run fully (glad I did, this is awesome).

This is a much cleaner way of troubleshooting than I'm used to, and it did take less time to carry out all the steps.

What does this all mean?

Sean
 
Old 08-31-2005, 07:46 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Well, it means that almost certainly your CD drive is good. My experience is that if a CD drive is flakey, it may not be able to boot up Knoppix at all, or at least there will be some read failures sooner than later.

The hard drive? It's probably hopeless. One last hope is that Linux doesn't actually use the BIOS for hard drive access, so it's theoretically possible that you might be able to access the hard drive from Linux (including Knoppix). With the CD drive and 20gig drive hooked up, boot up Knoppix. Under the System menu (I think) is a program called "QTParted". It's a graphical partition manager--more or less a clone of Partition Magic. The left frame is a list of connected hard drive devices it detects. If it sees your hard drive, then maybe you're in luck. Otherwise, I think it's utterly hopeless.

Well, at least it was that modest 20gig drive that got damaged, and not the 120gig.
 
Old 08-31-2005, 07:53 PM   #6
SolarSean
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah, you're right. I'm glad it wasn't the 120G HDD. I now have a 20GB coaster, according to QTParted.

Thanks again for your help, and hey, at least I have a bootable Linux CD now
 
Old 08-31-2005, 07:56 PM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
There is some advice I do not notice in the posts to this thread.

Download and run the manufacturers utility program to check your hard drive.
The Ultimate Boot CD has most of them and more on it.
 
Old 08-31-2005, 08:15 PM   #8
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Quote:
Originally posted by 2damncommon
There is some advice I do not notice in the posts to this thread.

Download and run the manufacturers utility program to check your hard drive.
I have these............the maxtor and IBM sites offer utilities that fit on a floppy and will check the hard disk for IO read/write errors and other parameters and will fix, if possible bad sectors....
 
  


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
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
Reinstalling Suse after hdd Death shaggy007 Linux - Distributions 1 02-05-2005 06:47 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 10:03 AM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

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

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