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: Deranged Rants: Many of them are totally feral, unhinged, and totally irrational. (posted 2024-11-13 at 17:55:14). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-08-22 Stirring Up Trouble: Let's just get every view out there and fairly debate them..
 Site ©2024 by OJBWeb ServerMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 162,094,531
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 10ms