How do I fix error -36?

Mac OSX Lion

I am attempting to move a .dmg to an external hard drive and it gives me the error code -36.

The hard drive is formatted to HFS+ and can accept other .dmg files but for some reason it wont accept this one in particular.

I have tried "dot_clean" on the containing folder but to no avail. If anyone has any light to shed on this that would be great.

MacBook Pro, Mac OS X (10.7.2)

Posted on Nov 3, 2011 11:15 AM

Reply
7 replies

Nov 3, 2011 11:51 AM in response to Kappy

They are all sources to help with DVD's and transfering media from them. I'm not using a DVD. I'm using a physical file of disk image, .dmg, and trying to transfer it to an external hard drive. The .dmg mounts just fine but I want to transfer it to the HDD and normally I'm able to do this. I have .dmg files on the HDD but for some reason it wont allow this one.

Nov 3, 2011 12:23 PM in response to kainredux

Error -36 is a disk error, and it indicates that the directory of the volume you were copying from became corrupt as the result of a drive malfunction. Sometimes the error is spurious and can be cured merely by rebooting. I suggest you try that first. If that doesn't help, you need to repair the volume by selecting it in Disk Utility and running "Repair Disk" (not "Repair Permissions.") If the volume in question is your boot volume, then I suggest you boot in safe mode, then immediately reboot as usual (i.e., not in safe mode.) That will cause the directory to be repaired, if possible, and also will cause certain system caches to be rebuilt. Even after you've taken these steps, it's possible that the file you were unable to copy will be damaged. In that case, you'll have to restore it from a backup, if you have one, made before the file was damaged.

Nov 3, 2011 12:27 PM in response to kainredux

kainredux wrote:


They are all sources to help with DVD's and transfering media from them. I'm not using a DVD.

Understood. I read the article and I see what Kappy means. For example:


In some cases the error is symptomatic of bad media. If the error occurs whilst copying from one hard disk to another, then you probably do have bad media.

That is definitely true of -36 errors in general, not just DVDs. It has been true of hard drives and going back to the old floppy drives. -36 means something cannot be read or written, possibly because a sector on the hard drive has gone bad. And that sector may not be involved in a simple mounting operation.

Such denials/failures are sometimes non-explicit. Think of a dirty/scratched CD: there’s nothing on it to say that it’s dirty, it’s just troublesome to work with (the computer doesn’t “get it”). So, we have generic error -36 and it’s up to us to guess or figure out the explanation...Whilst Disk Utility handles metadata it does not necessarily verify the integrity or readability of data (your files), nor does it check for bad blocks.

Again - also true of hard drives. If the cause of a -36 is not clear, then it can be very difficult to figure out what it is. So what would I do in this situation? I might try several different ways of copying, maybe with different software, in the hope that one might have some kind of error correction that would help. But if none of them work, probably the next reasonable thing to do is restore the last good backup copy of that file, because it's very possible that it's going to be difficult or impossible for me as an individual non-programmer to figure out and fix what is exactly wrong with the file that is causing the error. Even if I could find the "bad block" on the hard drive that got corrupted, I wouldn't know how to fix it. Easier and faster to use my backup for what it's for.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I fix error -36?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.