Extracting .dmg files on Windows

From AwkwardTV

Jump to: navigation, search

Extracting a .dmg file is quite simple on a Mac (double click in Finder or hdid file.dmg), but it's quite difficult on Windows. Some tutorials claim that it should work using dmg2iso.exe (convert .dmg to .iso) and Daemon Tools or Virtual CD-ROM Control Panel for Windows XP (both can mount .iso files), but this did not work for me.

7-Zip works great with dmg files - and the best part is it's free!

A Java GPL program called HFSExplorer is able to extract DMG UDIF files, like the Apple TV 1.1 Update.

A shareware tool that worked fine was MagicISO (unfortunately this doesn't work for all like the 1.1 update DMG). You can simply open the .dmg file and extract specific files or directories to your disk (right click on directory). Often you have a [NAME].pgk in the .dmg, you can simply open it with Windows Explorer, because it's a simple directory. The "interesting" files are often found in the subdirectory "Contents": There you often find an Archive.pax.gz, which contains all the files. It can be extracted with 7-zip. If it seems you can't extract the Archive.pax, drag Archive.pax out of the archive, right-click it and choose "extract files", and you will get all files in it.

By using files from Images like the 10.4.9 Combo Update and Apple TV 1.1 Update, perhaps it could be possible to create things like Patchstick or Mount a Remote Drive via SMBFS without the need of an (Intel) Mac.

One can use TransMac. It has 30 day trial, and can extract on Windows dmg files of many types. I've succeeded with Combo Update 10.4.9 (David2tm 17:53, 20 February 2008 (CET))

Footnote: Why the hassle using Windows? You have an AppleTV which perfectly handles DMG files! Copy the DMG file to the AppleTV eg using scp 12345.dmg frontrow@appletv:~/Public then ssh to the AppleTV and do a hdiutil attach Public/12345.dmg. It will mount something under /Volumes let's say xyz which you later have to unmount using hdiutil detach /Volumes/xyz. If you have a sftp enabled Tool like WinSCP you can easily browse these mounted folder. --Heinz Peter 21:03, 20 February 2008

Personal tools