Warning: main(/home/nicheb/public_html/common/header.php) [function.main]: failed to open stream: No such file or directory in /nfs/c01/h07/mnt/2293/domains/nicheblogs.net/html/data-recovery/2005/04/25/recover_a_dead_hard_drive_using_dd.php on line 7

Warning: main() [function.include]: Failed opening '/home/nicheb/public_html/common/header.php' for inclusion (include_path='.:/usr/local/php-4.4.8-1/share/pear') in /nfs/c01/h07/mnt/2293/domains/nicheblogs.net/html/data-recovery/2005/04/25/recover_a_dead_hard_drive_using_dd.php on line 7

Warning: main(/home/nicheb/public_html/common/top.php) [function.main]: failed to open stream: No such file or directory in /nfs/c01/h07/mnt/2293/domains/nicheblogs.net/html/data-recovery/2005/04/25/recover_a_dead_hard_drive_using_dd.php on line 113

Warning: main() [function.include]: Failed opening '/home/nicheb/public_html/common/top.php' for inclusion (include_path='.:/usr/local/php-4.4.8-1/share/pear') in /nfs/c01/h07/mnt/2293/domains/nicheblogs.net/html/data-recovery/2005/04/25/recover_a_dead_hard_drive_using_dd.php on line 113

Recover A Dead Hard Drive Using dd

MacOSXHints:

The Unix program dd is a disk copying util that you can use at the command line in order to make a disk image. It makes a bit-by-bit copy of the drive it's copying, caring nothing about filesystem type, files, or anything else. It's a great way to workaround the need for Norton Ghost.

Normally, in order to make a disk image, the disk you're copying from has to be able to spin up and talk -- in other words, it's OK to make a copy if the disk is healthy. But what happens when your disk is becoming a doorstop? As long as it continues to spin, even with physical damage on the drive, dd and Mac OS X will get you out of the fire.

We had a situation recently where a friend sent a disk to us that had hard physical errors on it. It would boot in Windows, but then it would hit one of these scratch marks and just die. We fired up dd, and it started OK, but stopped at the same physical error location -- complaining about a Hard Error.

So the workaround was to designate the dd mode as noerror -- which just slides over the hard stops, and to add the mode sync, which fills the image with nulls at that point. We did it on BSD Unix, but as long as you can get the hard drive attached to your Mac, the command is the same:

dd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync

Read more.

Posted by Dane on April 25, 2005 | 0 Comments


Comments

0 comments.

Thanks for participating. Comments are now closed.


Trackbacks

0 so far. To trackback this entry, ping this url:

http://www.nicheblogs.net/mt/mt-tb.cgi/104

« First Advantage Corporation Acquires Data Recovery Services, Inc. | Main | SQL Server Disaster Recovery »