![mac copy path of image mac copy path of image](http://www.macyourself.com/wp-content/uploads/2011/12/123111-copyfilepath-screen1.jpg)
#Mac copy path of image mac os x#
Here's where your Mac OS X box is far and away the best thing to have. Once you've established the disk image (in this example, foo.dmg), you're almost home. One workaround is to put it on a RAID array. Since dd doesn't care about the contents of the drive, it copies every bit on the thing, so you get an image equal to the disk's capacity. Make sure that the chosen directory ( some_dir) has enough room to take the entire disk image - which will be equal to the size of the drive. The bs=512 designates block size, and the if=/dev/rXX# is the UNIX path to the actual disk device.
![mac copy path of image mac copy path of image](https://cdn2.macpaw.com/images/content/filepath3_1575648896.png)
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:ĭd bs=512 if=/dev/rXX# of=/some_dir/foo.dmg conv=noerror,sync 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 fired up dd, and it started OK, but stopped at the same physical error location - complaining about a Hard Error. It would boot in Windows, but then it would hit one of these scratch marks and just die. We had a situation recently where a friend sent a disk to us that had hard physical errors on it. 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. 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. It's a great way to workaround the need for Norton Ghost. It makes a bit-by-bit copy of the drive it's copying, caring nothing about filesystem type, files, or anything else. The Unix program dd is a disk copying util that you can use at the command line in order to make a disk image.