Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I already know how to do it on Mac OS X (plenty of instructions online).

But is it possible to do it on Ubuntu? If yes, how?

share|improve this question
I think that your solution (Question and answer) already exist in this post. –  Lucio Dec 5 '12 at 18:06
@Lucio Unfortunately, no. This post tells about .iso image files, but I have .dmg image file, which is different. –  Jake Badlands Dec 5 '12 at 18:08
Oh, now I understand you. Your right, the Mac images are .dmg. I hope that my answer can be useful for you. If it does, just let me know. –  Lucio Dec 6 '12 at 15:51

3 Answers 3

up vote 8 down vote accepted

As you want to create a LiveUSB you need a .ISO image to make it. The Mac image is a .dmg file, so you must to convert this file into .ISO, and then install it.

Install DMG2IMG

This software will convert the .dmg image into a .iso image.
Open a terminal and enter this command: sudo apt-get install dmg2img
Now you have the converter software.

Convert the Image

With dmg2img you will creat an .IMG file, and this file will have the same code that an .ISO file, so you will fix the extension.
In the terminal you have to enter the following commands:

dmg2img OriginalFile.dmg #Replace with your file name and it will create the IMG file

mv OriginalFile.img FinalFile.iso #NOTE that the extension of the first file is .IMG!

Make the LiveUSB with an ISO image

Now you already have the .ISO image, with which you will make the LiveUSB. Actually is an answer where this procedure is explained very well, so see that document.

share|improve this answer
Thank you very much ;-) –  Jake Badlands Dec 6 '12 at 17:28

All good with DMG2IMG for converting the DMG file to ISO... However the Unetbootin procedure described in the other linked article, didn't work for me... It just copied some very small (kb in size) files found in the iso and stopped.. in Ubuntu 14.04 there is a very handy disks utility that opens the iso and you can restore it to any drive you wish, including usb...

share|improve this answer
Welcome to AskUbuntu! This may answer the question, but it is really hard to follow. –  No Time Aug 21 at 15:48
Your answer would be much improved by providing a step-by-step process to resolve the problem. –  Elder Geek Aug 21 at 17:27

I tried this... but the DMG file started out as a 5GB file, and then when I ran DMG2IMG, it generated a 17GB IMG file. This file won't fit on any USB flash drive I have. Anyway around this?

share|improve this answer

Your Answer


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.