How to - disk recovery with ddrescue on Mac 10.4
Posted on January 13, 2007 in How-to
I had a dead, clicking hard drive. It would not mount so most repair utilities and Apple Disk Utility couldn't see the drive to repair it. Data Rescue II and DiskWarrior (even advanced recovery mode) would run for a while but eventually error out. dd_rescue (read third comment) is a linux utility that is very powerful and persistent but wouldn't compile for me in Mac OS 10.4. I finally had success with a similar linux tool ddrescue and this article.
What you will need:
- Dedicated Mac w/OS 10.4 - some recoveries can take up to a week to complete. Make sure you have 2x the damaged drive's disk space available
- Install Xcode 2.4 and developer tools
- Replacement hard drive - Same size as the damaged drive. You may be able to use a partitioned drive but It didn't work for me.
- USB 2.0 drive enclosure for 2.5" hard drive - assuming you are recovering a laptop HD. Get Firewire if you can find one. This enclosure from Compusa was only $20... I got two.
- Extra USB cable (mini to standard in my case)
- DiskWarrior
Now you wait... and wait... you can watch the logs with the tail and the stats from the ddrescue command. It's very interesting to watch but just come back every day and check the progress. You can stop the program and start again without losing anything, thanks to the log, but be careful. I stopped the program and unplugged the drive and had to start the process all over again (three days recovery lost).
It's a very long and dedious process but it is a great feeling to recover someone's lost wedding pictures. I even got an extra christmas present this year.