How to convert DMG images to ISO images

From ArticleWorld


If you have been stuck in the Mac world for years, it may seem rather uncommon for you to use ISO images. However, the truth is, ISO images are more common, especially because they are (literally) a standard. As its name says (in fact, the full name is ISO 9660), it is an International Standards Organization standard. While each operating system has been adding its extensions to the standard, ISO images are surely readable on just about any platform, while a third-party application is often require to view DMG files on non-Mac platforms.

If you need to use ISO images, there is one easy way to convert a DMG image to an ISO one. In fact, it would often be much easier for you to create a DMG image first, populate it with files, and then convert it to ISO, instead of directly working with ISO images and maybe using the somewhat enigmatic mkisofs. Actually, mkisofs does not even come with OS X.

Instead of using the hugely complex, but ISO-limited mkisofs, OS X uses a more flexible tool called hdiutil. Newer OS X versions actually include two possibilities. We will cover both:

Using hdiutil

hdiutil is a command-line application. However, do not let that intimidate you. It does not require too much typing and it is not difficult to use either.

1. Open a Terminal window

2. If you have not done so already, create the DMG image. Since you are already at the terminal, you can use hdiutil for this, too:

hdiutil create -encryption -size 700m ~/Desktop/image.dmg -fs HFS

This will create a new, 700MB image (of course, you can replace 700m with your desired size) on your desktop. You can double-click it to have it mounted and can safely copy files to and from it.

3. Convert it:

hdiutil convert ~/Desktop/image.dmg -format UDTO -o ~/Desktop/image.iso

This will convert the DMG image to an ISO one. Do expect it to take a little time though.

Using the Disk Utility

  1. Go to Applications, Util, Disk Utility.
  2. Select the image on the right side if it is already created, or choose New Image from the toolbar to create a new image and then select it when it appears in the list on the right.
  3. Click "Convert" on the toolbar, and choose "DVD/CD master" as the Image Format.