How to Convert ISO to IMG in a Terminal

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
How to Convert ISO to IMG in a Terminal
Image Credit: MattKay/iStock/Getty Images

Standard ISO image files contain the contents of an entire disc, including the boot sector in a single file. These multi-platform files interoperate with many different operating systems and applications. IMG files are used on Apple's Mac OS X along with the DMG format, and are similar to ISO files in that they contain multiple files within a single file. You can convert an ISO image to the IMG format in a Terminal session using Apple's built-in hdiutil command.

Advertisement

Step 1

Open a Terminal window from the Utilities folder.

Video of the Day

Step 2

Navigate to the folder containing the ISO image. For example, type cd Desktop and then press Return.

Step 3

Type hdiutil convert source.iso -format UDRW -o destination.img and then press Return. Replace "source" and "destination" with their actual values.

Advertisement

Video of the Day

Advertisement

Advertisement

references