Berti Posted November 13, 2009 Share Posted November 13, 2009 Hi ALL I have I OS x 10.6 DMG image and I'm trying to convert it ti ISO to try install it in Vmware workstation 7 in Windows 7 x64. I tried several times Dmg2img (run CMD as administrator) but with no success. I'm sure I'm messing up the commande line. I always get an error: The system cannot find the file specified. I named Os x 10.6.dmg to mac.dmg and put it on the root. The command i use is this one: dmg2img [-v] [-s] <c:\mac.dmg> [<c:\mac.img>] Any help is appreciated Thanks in advance Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/ Share on other sites More sharing options...
mattiL Posted November 13, 2009 Share Posted November 13, 2009 Tried dmg2img -v -s c:\mac.dmg c:\mac.img ? Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1329750 Share on other sites More sharing options...
kyocooro Posted May 19, 2010 Share Posted May 19, 2010 Hi ALL I have I OS x 10.6 DMG image and I'm trying to convert it ti ISO to try install it in Vmware workstation 7 in Windows 7 x64. I tried several times Dmg2img (run CMD as administrator) but with no success. I'm sure I'm messing up the commande line. I always get an error: The system cannot find the file specified. I named Os x 10.6.dmg to mac.dmg and put it on the root. The command i use is this one: dmg2img [-v] [-s] <c:\mac.dmg> [<c:\mac.img>] Any help is appreciated Thanks in advance I took the same problem. Using dmg2img is seem no use. Maybe the program can not open such a large file ( about 6.13 GB ). Is there any tip for us ? Tried dmg2img -v -s c:\mac.dmg c:\mac.img ? Oop ... I 'm so sorry I hadn 't noticed your post ... It worked perfectly, thank you ! Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1471669 Share on other sites More sharing options...
crazynudist Posted May 29, 2010 Share Posted May 29, 2010 if your using windows try using magicISO but if your using mac or a linux distro you got me there Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1478193 Share on other sites More sharing options...
chiaotzu Posted May 30, 2010 Share Posted May 30, 2010 You can always use TransMac for converting or directly burning DMG files to DVD. Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1478332 Share on other sites More sharing options...
McReid Posted July 10, 2011 Share Posted July 10, 2011 Greets, Need help in converting the GM Lion InstallESD.dmg to an image file in Windows 7 Ultimate x64 so that I can then burn a Lion install DVD. The GM Lion InstallESD.dmg file has a HASH of (b5d3753c62bfb69866e94dca9336a44a), so I know its the original, and in original shape. I actually downloaded two of the DMG files, from two different sources, both have the same HASH, and I have tried both files, in the following trials. I have tried converting this file to an image file with 3 of the leading, and, recomended converters, and non of them will touch it. First I tried, "dmg2img". Using the following formats from a DOS command prompt started as Admin: dmg2img -v -s c:\InstallESD.dmg c:\InstallESD.img dmg2img -v -s c:\mac.dmg c:\mac.img dmg2img keeps immediately giving me an error, ""ERROR: Inflation failed". So, dmg2img is out. Next, onto Transmac v10. Transmac, when trying to open the InstallESD.dmg file simply tells me, "Unknown disk image format". Alrighty then, here you have a program, supposedly designed to do, just this, and it doesnt even acknowledge a DMG file. Most excellent, so much for Transmac. Next I have read others saying they had to open the DMG with UltraISO. UltraISO immediately returns, "Invalid or unknown image file format!" UltraISO is out, it does not handle DMG files. So, how do I convert this DMG into an IMG file? Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1712321 Share on other sites More sharing options...
Bilal Ahmad Posted July 11, 2011 Share Posted July 11, 2011 I have the same problem ... i damage one dozen of Dual layer DVD-R by write image file .....Writing interrupts at the end.. I download 5 ,6 OSX images from Internet but don't works ..... Anyone Please give me the right links ....? Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1712726 Share on other sites More sharing options...
0279852 Posted July 17, 2011 Share Posted July 17, 2011 Greets, Need help in converting the GM Lion InstallESD.dmg to an image file in Windows 7 Ultimate x64 so that I can then burn a Lion install DVD. The GM Lion InstallESD.dmg file has a HASH of (b5d3753c62bfb69866e94dca9336a44a), so I know its the original, and in original shape. I actually downloaded two of the DMG files, from two different sources, both have the same HASH, and I have tried both files, in the following trials. I have tried converting this file to an image file with 3 of the leading, and, recomended converters, and non of them will touch it. First I tried, "dmg2img". Using the following formats from a DOS command prompt started as Admin: dmg2img -v -s c:\InstallESD.dmg c:\InstallESD.img dmg2img -v -s c:\mac.dmg c:\mac.img dmg2img keeps immediately giving me an error, ""ERROR: Inflation failed". So, dmg2img is out. Next, onto Transmac v10. Transmac, when trying to open the InstallESD.dmg file simply tells me, "Unknown disk image format". Alrighty then, here you have a program, supposedly designed to do, just this, and it doesnt even acknowledge a DMG file. Most excellent, so much for Transmac. Next I have read others saying they had to open the DMG with UltraISO. UltraISO immediately returns, "Invalid or unknown image file format!" UltraISO is out, it does not handle DMG files. So, how do I convert this DMG into an IMG file? I've been having the same issue. The reason why you can't convert the DMG to an IMG is tricky. From what I've discovered it's that the InstallESD.dmg is not actually a dmg file. It's somekind of archive file format (Xar - http://en.wikipedia.org/wiki/Xar_(archiver)). If you open the InstallESD.dmg using 7-zip you can actually browse into it. Steps for getting the DMG: 1) Open your InstallESD.dmg using 7-zip file manager (I think winrar doesn't support Xars) 2) Go into the InstallMacOSX.pkg folder 3) Extract the "InstallESD.dmg" (File has the same name but NOT the same hash ) 4) Now you have a valid dmg file Now there's one thing I'm not sure about all this. It may be a valid dmg image file but I don't know if a valid (as in: contains everything) Lion disc image. Hope it helped! 2 Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1716056 Share on other sites More sharing options...
NetCaptive Posted July 25, 2011 Share Posted July 25, 2011 Steps for getting the DMG:1) Open your InstallESD.dmg using 7-zip file manager (I think winrar doesn't support Xars) 2) Go into the InstallMacOSX.pkg folder 3) Extract the "InstallESD.dmg" (File has the same name but NOT the same hash ) 4) Now you have a valid dmg file This worked for me, 7zip and UltraISO converting the extracted DMG. Thanks! Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1722555 Share on other sites More sharing options...
nikoperugia Posted August 17, 2011 Share Posted August 17, 2011 thank you very much. I admit I was stuck on this one.. I've been having the same issue. The reason why you can't convert the DMG to an IMG is tricky. From what I've discovered it's that the InstallESD.dmg is not actually a dmg file. It's somekind of archive file format (Xar - http://en.wikipedia.org/wiki/Xar_(archiver)). If you open the InstallESD.dmg using 7-zip you can actually browse into it. Steps for getting the DMG: 1) Open your InstallESD.dmg using 7-zip file manager (I think winrar doesn't support Xars) 2) Go into the InstallMacOSX.pkg folder 3) Extract the "InstallESD.dmg" (File has the same name but NOT the same hash ) 4) Now you have a valid dmg file Now there's one thing I'm not sure about all this. It may be a valid dmg image file but I don't know if a valid (as in: contains everything) Lion disc image. Hope it helped! Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1735954 Share on other sites More sharing options...
gian569 Posted September 11, 2012 Share Posted September 11, 2012 I've been having the same issue. The reason why you can't convert the DMG to an IMG is tricky. From what I've discovered it's that the InstallESD.dmg is not actually a dmg file. It's somekind of archive file format (Xar - http://en.wikipedia..../Xar_(archiver)). If you open the InstallESD.dmg using 7-zip you can actually browse into it. Steps for getting the DMG: 1) Open your InstallESD.dmg using 7-zip file manager (I think winrar doesn't support Xars) 2) Go into the InstallMacOSX.pkg folder 3) Extract the "InstallESD.dmg" (File has the same name but NOT the same hash ) 4) Now you have a valid dmg file Now there's one thing I'm not sure about all this. It may be a valid dmg image file but I don't know if a valid (as in: contains everything) Lion disc image. Hope it helped! THANK YOU!!!i couldn't find this anywhere else!! Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1851931 Share on other sites More sharing options...
srf21c Posted May 1, 2013 Share Posted May 1, 2013 Here are the commands I used to extract and write the InstallESD.dmg Lion installer disk image to a USB drive. Install dmg2img and xar utilities. xar -xf OSX_Lion_10.7.dmg cd InstallMacOSX.pkg/ dmg2img InstallESD.dmg sudo dd if=InstallESD.img of=/dev/sdb bs=1M Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1911957 Share on other sites More sharing options...
rulet Posted May 8, 2013 Share Posted May 8, 2013 Here are the commands I used to extract and write the InstallESD.dmg Lion installer disk image to a USB drive. Install dmg2img and xar utilities. xar -xf OSX_Lion_10.7.dmg cd InstallMacOSX.pkg/ dmg2img InstallESD.dmg sudo dd if=InstallESD.img of=/dev/sdb bs=1M How did you get xar, because I cannot find xar on Debian repository. Is there another program and command which gives the same result? Anyway thanks for posting it. I just did dmg2img OSX10.8.2.dmg OSX10.8.2.img without using xar and it worked. Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1913582 Share on other sites More sharing options...
devTristan Posted November 17, 2013 Share Posted November 17, 2013 I found this thread when searching for how to put the lion installer on a flash drive using ubuntu. This thread had almost all of the information I need, and was only lacking one thing, so I'm going to finish the process for other people searching for the same thing. I hope somebody finds it helpful. Here's where you can get xar https://launchpad.net/~techzilla/+archive/misc You can get the package like this: sudo apt-add-repository ppa:techzilla/misc; sudo apt-get update; sudo apt-get install xar; Once you've done that, you can follow the instructions in the post above. I'll put them here for convenience. xar -xf OSX_Lion_10.7.dmg cd InstallMacOSX.pkg/ dmg2img InstallESD.dmg sudo dd if=InstallESD.img of=/dev/sdb bs=1M Xar should be given the correct dmg file, and the final command MUST point to your flash drive. You should double check this, and probably triple check it too, because you don't want to wipe anything important. Link to comment https://www.insanelymac.com/forum/topic/197403-converting-os-x-106dmg-to-iso-using-dmg2img/#findComment-1969075 Share on other sites More sharing options...
Recommended Posts