Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Help Retrieving Data< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 30 2004,12:45 QUOTE

All -

I am posting here in desperation.  :)

I have a lady that called me the other night in a panic because her WinNT box would not boot. The hard drive had the dreaded clicking death rattle. Of course, she has financial information on the HD with no backup. I went to investigate armed with a DSL CD and my 512mb usb drive to see if I could pull her file. The clicking is intermittent so I was able to get fstab to recognize the hda1 and hda5 partitions but I could not mount them. I put this HD in four different PC's with some recognizing and some not.

My question...is there any hope without her sending away to a data recovery company? I did some googling and tried some of the mount switches but haven't had any luck. This is my first experience with data recovery like this so I would appreciate if anyone has any words of wisdom.

Thanks

Chris
Back to top
Profile PM MSN YIM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Sep. 30 2004,14:08 QUOTE

You could clone the entire hard drive or better yet just the partition.

You can clone it to another hard drive, or you can output the contents to a filename

If you use the "dd" command, make sure to use the noerror AND sync options so that it will continue properly after the disk controller hits a bad sector.

Here is the man page for dd:

http://www.die.net/doc/linux/man/man1/dd.1.html

Also, you could grab an alternative program called "dd_rescue" which is designed for the cloning of hard drive data for a damaged hard drive.  I believe that this program is included with knoppix, or you could grab it and put it in DSL.  Who knows, maybe it is already there.

dd_rescue works almost the same way as the regular dd command, only it is much faster because it copies large chucks of data until it hits an error block.  Then it starts copying small chunks of data near the error area so that it can recover as much "good" data as possible.  So you get the advantages of FAST reading of the "good" parts of the drive with large block size AND precise recovery of data near the bad sector with small block size.

If you have recovered the data to a file, you should be able to access it something like this (as 'root'):

mkdir /mnt/baddisk
mount -t ntfs -o loop /home/dsl/badimagefilename /mnt/baddisk
emelfm /mnt/baddisk

I wish I could go into more details about the dd/dd_rescue process but I am short on time.  The previous discussions on hard drive cloning are a good place to start.
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 30 2004,14:58 QUOTE

Thanks, CB.

Wouldn't I have to have the partition mounted first to use dd? That is my real problem. The two partitions (hda1, hda5) show up (sometimes) under /mnt but I cannot get them to mount using mount /dev/hda1.

Chris
Back to top
Profile PM MSN YIM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Sep. 30 2004,15:04 QUOTE

Chris..
This may be redundant, but you do mean

" mount /dev/hda1 /mnt/hda1 "

when you type

" mount /dev/hda1 "

Right ??

73
ke4nt
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 30 2004,15:17 QUOTE

Yeah, Ke4nt. I guess I should be more specific.  :;):

It's been frustrating. You know that old saying....so close yet so far away......

I had the HD in 4 different PC's with some detecting it and some not.

I can get fdisk to recognize at times but trying to access give me an invalid drive error.

It may be a hopeless cause but it's a challenge I am trying to see if I can conquer.

Take care

Chris
Back to top
Profile PM MSN YIM 
5 replies since Sep. 30 2004,12:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Help Retrieving Data

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code