LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-27-2004, 12:36 AM   #1
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Rep: Reputation: 15
When harddrives almost commit suicide.


Right now I am in Knoppix 3.3 via the CD. I was in Windows, since I still use it for some reason or another, and the memory dropped to 10 MB free and all of a sudden *crash*. Now here I am at the Grub boot screen. Try to boot back into Windows.... disk read error. WTF? Ok, so let's try going into Gentoo. Wait.....wait.... wait... ok, so that won't boot either. Time to bring out Knoppix.

Alright, into a LiveCD distro. Let's try mounting the partitions on my primary drive. Well, hda1, /boot mounts perfectly. How about hda2? Wait, looks like it won't mount. hda5? Well shit, doesn't look too good for all my OS data. Since my data drive is still in working order, let's just repartition and re-install.

Let's try cfdisk.
Code:
                      FATAL ERROR: Cannot open disk drive
                          Press any key to exit cfdisk
You think it's trying to tell me something? Ok, then let's try fdisk (doing my best to copy the error):
Quote:
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { Uncorrectable Error }, LBAsect=8980328, sector=8980328
end_request: I/O Error, dev 03:00 (hda), sector 8980328

Unable to read /dev/hda
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { Uncorrectable Error }, LBAsect=8980336, sector=8980336
end_request: I/O Error, dev 03:00 (hda), sector 8980336
hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: read_intr: error=0x40 { Uncorrectable Error }, LBAsect=8980344, sector=8980344
end_request: I/O Error, dev 03:00 (hda), sector 8980344
/boot mounts and works, which is why I am not giving up hope yet. Is there a way to fix this that doesn't involve a sledgehammer and buying a new drive?
 
Old 05-27-2004, 12:47 AM   #2
SocialEngineer
Member
 
Registered: May 2003
Distribution: Slackware
Posts: 236

Rep: Reputation: 31
I myself would give up (I love doing fresh installs, keeps me in practice), but you might have some luck with some recovery software that can read the raw bits. Dunno though.
 
Old 05-27-2004, 12:50 AM   #3
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
I really couldn't give a rat's ass about the data on it, I just want it usable so I can re-partition and re-install.
 
Old 05-27-2004, 12:57 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
IT may be hopeless but you can try

At the grub screen type
e
e
1 ENTER
b

This will put you into single user mode
run fsck (check out the linuxquestions man pages) on the Gentoo partition
Then you may have to mount one of the partitions and make other changes

Last edited by darthtux; 05-27-2004 at 12:59 AM.
 
Old 05-27-2004, 01:05 AM   #5
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
I'll just do it in Knoppix, even though the Gentoo partition is not really the problem, it's every single partition besides hda1, the boot partition.

Code:
root@ttyp0[knoppix]# fsck /dev/hda7
fsck 1.35-WIP (31-Jan-2004)
e2fsck 1.35-WIP (31-Jan-2004)
fsck.ext2: Invalid argument while trying to open /dev/hda7

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 
Old 05-27-2004, 03:06 AM   #6
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Well, as much as I'm sure many people are going to hate hearing this, I have had much better success repairing damaged partition tables (seems to be the problem you are having) in Windows than in Linux.

I had a brand new (right out of the box from TigerDirect) 120 GB HDD that crashed during formating to XFS (well, the machine actually had a hardware failure). I restarted the machine only to find that the drive appeared completely dead, and I got the exact same cfdisk message as you did.

So I took the drive out and put it in as a slave drive to a Windows XP machine. Windows Disk Manager immediately recognized that something was wrong with the disk and was able to write a new partition table to it and delete the half-formated partition.

With any luck, if you do the same thing, Windows will be able to write you a new partition table. Just don't let it format anything.
 
Old 05-27-2004, 08:04 AM   #7
squall14716
Member
 
Registered: Oct 2003
Distribution: Gentoo, Knoppix
Posts: 62

Original Poster
Rep: Reputation: 15
I'll keep that in mind, although now I just need a working Windows installation... bah.
 
Old 05-28-2004, 03:43 AM   #8
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
A strong reccomendation: ALWAYS place a cooling fan by ALL of your hard drives. They get really hot uncooled, ~70 degrees celcius, and a very small fan can bring temps down to ~40 and under. Hot drives wear _much_ faster than cooled drives. Much faster as in years. I have hdd cooling on my FTP server's drives, my used-to-be overclocker's drives, and even my firewall that's using a 1.4GB laptop hard drive through an IDE converter. IBM/Hitachi drives are most subject to damage in high heat.
 
Old 05-29-2004, 05:53 PM   #9
brassfish
LQ Newbie
 
Registered: Jan 2004
Distribution: gentoo
Posts: 17

Rep: Reputation: 0
That's exactly what the drivers for my hard drive said when trying to write information to the drive; I later found out my hard drive was in a completely unrecoverable state. My advice to you: backup your data to something other than your hard drive and order a new one. Incase it matters: I had an IBM travelstar hard drive in it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dcop server keeps commiting suicide Toadman Linux - Software 5 07-17-2005 11:30 AM
Subversion -> commit? hylke Linux - Newbie 1 05-15-2005 08:44 AM
Suicide by Redhat ravenswood1000 Linux - Software 10 03-27-2003 05:39 AM
why i'm getting this when i commit a file glalu Linux - General 1 08-03-2002 06:08 PM
Samba Suicide! dbCooper Linux - Networking 1 01-16-2002 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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