Ubuntu: How do you convert a dmg file to img in ubuntu?



Question:

I have installed dmg2img-1.6.2 on my Virtual Computer. when I say installed I mean I can see the folder dmg2img-1.6.2 and contents in my home directory. I am using linux 12.04. I have been trying for a week now to convert a dmg file to img using terminal. The response to "dmg2img lightroom_5_LS11.dmg" is syntax error. Other commands usually respond as " cannot open input file lightroom _5_LS11.dmg. Any help would be appreciated. Not sure which set of commands to use. Just been using trial and error method, none of which has worked.


Solution:1

You can use DMG2IMG.

To install, Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install dmg2img  

To use, just do dmg2img -i <input.dmg> -o <output.img> See manpage


Solution:2

Move your file to your HOME DIRECTORY and after this use dmg2img -i lightroom.dmg -o lightroom.img

After this you can find your lightroom.img in your HOME DIRECTORY

I think you see problem with path because you have not English Ubuntu.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »