Jump to content
14 posts in this topic

Recommended Posts

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

  • 6 months later...
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 ? :thumbsup_anim:

 

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 ! :P

  • 2 weeks later...
  • 1 year later...

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?

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!

  • Like 2
  • 2 weeks later...
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!

  • 4 weeks later...

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!

  • 1 year later...

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!!

  • 7 months later...

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

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.

  • 6 months later...

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.

×
×
  • Create New...