Note: You are currently viewing my old web site. There is a new version with most of this content at OJB.NZ.
The new site is being updated, uses modern techniques, has higher quality media, and has a mobile-friendly version.
This old site will stay on-line for a while, but maybe not indefinitely. Please update your bookmarks. Thanks.


[Index] [Menu] [Up] Title[Header]
Tips

(Up to OJB's Mac Tips List Page)


Copy Drives with Errors

You can copy drives with errors using the Unix dd command from the Terminal

The Unix dd command can copy one volume (disk) onto another and continue even after encountering errors. Use the df command to list all volumes connected and make a note of the unix drive name (like /dev/disk3s6) and use these in the dd command to do the copy.

Note: be very careful here because it is easy to overwrite good disks if you get this command wrong!

dd if=/dev/FROM of=/dev/TO bs=1024k conv=noerror,sync

Where FROM is the disk name to copy from and TO is the disk to copy to.

The bs option sets the block size to use, and conv=noerror,sync causes bad data to be replaced with zeros. In that case, some files might be damaged, but they might still be partially recoverable.


[Up]

[Contact][Server Blog][AntiMS Apple][Served on Mac]