Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
Berti

Converting OS x 10.6.dmg to ISO using dmg2img

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 ....?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×