Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: 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.



I usually write a blog post about once a week. The latest post can be viewed here: Stop the Tribalism: They really need to stop the tribalism. (posted 2024-06-26 at 19:56:52). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-04-30 The Fall of Rome: I'm afraid that we really might be seeing the demise of the greatest era in history..
 Site ©2024 by OJBOJB's BlogWhy Macs are BestMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 104,544,282
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 10ms