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
1  
@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
add comment

1 Answer

up vote 6 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
add comment

Your Answer

 
discard

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.