Ivan Femia

Hard Disk disaster data recovery

Data recoverySome months ago I published a guide to recover lost data on an unaccessible partition Easy HD data recovery with TestDisk. This week end I got an other issue on an other PC, home partition (ext3) was no longer readable (on boot I got ata1.00 DRDY ERR UNC what it’s this? 8-O ).

I tried testdisk but nothing seemed to be recoverable, home partition was really unreadable also for teskdisk… Oh my God what I have to do… Do I lose my data? Noooooo I cannot!

Search on the net I found an other procedure, a little bit laborious, but really powerful.

From a live Linux distro, I used Debian Lenny Live CD, install dd_rescue (from source management add all possible sources, thick first three checkboxes)

#aptitude install ddrescue

From http://www.kalysto.org/utilities/dd_rhelp/index.en.html dowload dd_rhelp and decompress. Now we are ready to start…

What do you need?

  • A large disk to store recovered data
  • A lot of time and patience :D

Check disk integrity first:

#fsck /dev/sda1

or for ext2/ext3

#e2fsck -f -y -v /dev/sda1

If you encounter some problem try to change the file journal from ext3 to ext2

#tune2fs -O ^has_journal /dev/sda1

Now let’s create a disk image using dd_rhelp, this procedure could take a lot of time depending on partition size.

#dd_rhelp /dev/sda1 /destination/diskbackup.img
#fsck -y /destination/diskbackup.img

Here we are… Last step… Mount the image as a virtual disk

#mkdir /media/backup
#mount -o loop /destination/diskbackup.img /media/backup
#mount -o loop -t ext3 /destination/diskbackup.img /media/backup

Copy all data to a safe place and you did it :D

Related Post

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

3 Comments

Disaster RoyFebruary 18th, 2010 at 3:48 AM

Great Walk-through!

Waqas AhmadAugust 6th, 2010 at 8:16 PM

hi,
thanks thanks thanks ,you solve my major problem,

NIMSTODAYAugust 31st, 2010 at 4:58 PM

GREAT WORK ON DATA RECOVERY,

Leave a comment

Your comment