Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Web Site. V 2.1.tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

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.



My latest blog post: Unity Through Division: Sometimes hard decisions need to be made to make genuine progress. (posted 2024-11-18). My latest podcast: OJB's Podcast 2024-08-22 Stirring Up Trouble.
 ©2024 by OJBServerMacs are BestMac Made
T: 11. H: 168,242,733
Features: RSS Feeds Feedback LogMod: 07 Jun 2024