How to Convert a dmg to an iso file in Linux

Press Ctrl + Alt + T on your keyboard to open Terminal. When it opens, run the commands below:

sudo apt-get install dmg2img

Once installed, change the directory to where the .dmg file is located and run the following command:

dmg2img <file_name>.dmg

This will convert the .dmg to an .img file. Run the following command to convert the .img to an .iso file.

mv <file_name>.img <file_name>.iso

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s