Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How would I do this?

I have attempted double clicking on it (obviously) and I get an error of it saying that its not recognized.

My second though was using Disk Utility (the app) to try and change it from an img to an iso. The same error appeared saying that it was not recognized.

My last idea was to do some research on mounting from the terminal. The command that I used was

mount -o loop userdata.img /mnt/testcache

The result of that was:

mount: You must specify a filesystem type with -t.

After that I just ran out of idea and ran out of search queries to try.

share|improve this question
    
Are you sure it's not corrupt? If you downloaded it, does it have the exact same size as the original? –  Melwan Sep 29 '12 at 6:23
    
Yes it has the exact size. I made sure to double check it before posting here. –  mwong Sep 29 '12 at 6:29
2  
Do you have a checksum for the img file? Size doesn't say anything about the content being correct –  patrix Sep 29 '12 at 10:07
    
Not all image files are mountable, especially if they are RAW images. Can you give a link to the image? –  duci9y Sep 29 '12 at 16:04
add comment

1 Answer

Provided the image is a correct image file supported by OS X the correct command to mount would be hdiutil attach imagename.

Not all files ending with .img are disk images at all, let alone supported by OS X. You can try to use file image name to see what this file actually might be, but even for valid classic image files this may just result in data as an answer.

It would be most helpful to know how or using which software this image was created.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.