Jump to content

Converting OS x 10.6.dmg to ISO using dmg2img


  • Please log in to reply
13 replies to this topic

#1
Berti

Berti

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 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

#2
mattiL

mattiL

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
Tried dmg2img -v -s c:\mac.dmg c:\mac.img ?

#3
kyocooro

kyocooro

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 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


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

#4
crazynudist

crazynudist

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
if your using windows try using magicISO but if your using mac or a linux distro you got me there

#5
chiaotzu

chiaotzu

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
You can always use TransMac for converting or directly burning DMG files to DVD.

#6
McReid

McReid

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
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?

#7
Bilal Ahmad

Bilal Ahmad

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
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 ....?

#8
0279852

0279852

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts

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

#9
NetCaptive

NetCaptive

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

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!

#10
nikoperugia

nikoperugia

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
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..../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!



#11
gian569

gian569

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

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

#12
srf21c

srf21c

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
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

#13
rulet

rulet

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts

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.

#14
devTristan

devTristan

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

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.ne...a/ 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.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy