How do I convert DMG files to IMG files? I am trying to use 'Q emulator' to run XPpro and it requires an IMG file of the XP disc.(legal copy) I'm using a late model G5 PPC with Leopard 10.5.8


According to a very old source [circa 2006]

In Terminal,

hdiutil convert disk.dmg -format RdWr -o disk.img

where disk.dmg is the path to your image (input) and disk.img the output image

  • 2
    This works in 10.11 El Capitan. – DavidJFelix Oct 21 '15 at 2:33
  • 1
    Gives me hdiutil: convert failed - image/device is too large :'( – Toby Mar 23 '17 at 18:51
  • This command has worked for me on macOS Sierra, but the .img file is 4x larger than the dmg. Which I presume is normal? – William Isted Aug 14 '17 at 19:13

Try this instead

hdiutil convert <input.dmg> -format UDTO -o <output.img>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .