reading DiskImage (DMG) file on a PC

Apple products and Mac operating systems. Including discussions on Virtual PC for Mac, Parallels Desktop for Mac, all Apple hardware and everything relating to Mac!
(MacCentre701)

Moderator: Mandrake

reading DiskImage (DMG) file on a PC

Postby Antony » Tue 19 Apr, 2005 9:11 pm

Don Luchini pointed to me this useful information for those who want to open DMG file but do not have a Mac or OS X. The article is not new, but new to me. I post it here for reference.

.DMG without OS X using a PC
Name: XxxFrancisxxxUSA
Date: October 19, 2004 at 06:34:16 Pacific
Subject: .DMG without OS X using a PC
OS: WInXP

Comment:
Ok. I have spent over a week trying to work this one out, and EUREKA! I've FOUND IT!
So many have said it cannot be done. but it CAN.

Ok. Here's how to open a .DMG file on a pc to access the files.

First, download DMG2ISO

http://vu1tur.eu.org/tools/download.pl?dmg2iso.exe

The run the file DMG2ISO shell, and select yoru .dmg file. Then name your output file and convert.

Then.... download daemon tools

http://www.daemon-tools.cc/dtcc/portal/ ... load&id=34

install it, and in the bottom right corner (running tasks) left click on it's icon, and select drive 0, and then find yoru NEW converted image (it will now be a .iso image since you converted it from .dmg to .iso).

NOW, you should see when you click 'my computer' a cd/dvd drive with the name of the file, like there was a cd/dvd in your machine (of course it is a virtual drive).

Now.... download Macdrive.

http://www.mediafour.com/products/macdrive6/

After installing Macdrive, you will be able to select VIEW MAC DISKS IN MY COMPUTER! And of course you have a virtual disc in your pc, which you get full access to!

Now just view all the files, and copy, and paste them to a new regular windows folder, or burn them straight to a cd/dvd and you're good to go! (I think you'll have to burn them straight to a dvd or cd in order for a mac to read them, but mac drive has this 'mac cd dvd' facility too!

:-). I had to spread this news as it took hours and hours of research to get this far, and I feel it is beneficial to the computing community.

:-)
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312
User avatar
Antony
diamond member
diamond member
 
Posts: 14510
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Antony » Tue 19 Apr, 2005 9:19 pm

Some people might suggest using PearPC. SillyDog701 strongly disagree with this idea, unless PearPC user can prove that the OS X running on PearPC is license. There's no point to flaunt successfully running OS X on unsupported hardware with unlicensed operating system.

SillyDog701 does not encourage usage of unlicensed software.

For the discussion on [sdt=5623]Pear PC[/sdt], please use [sdt=5623]another thread[/sdt].
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312
User avatar
Antony
diamond member
diamond member
 
Posts: 14510
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Postby Kirad » Tue 06 Sep, 2005 3:11 pm

i tryed to do this but when i run dmg2iso for a split second it shows a run window then disipers. i am trying to run gerague band on my pc
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Kirad
new member
new member
 
Posts: 1
Joined: Tue 06 Sep, 2005 3:06 pm

Postby Pu7o » Tue 06 Sep, 2005 4:21 pm

You can't run Mac OS X programs on a PC, that's impossible. The trick Antony mentioned is only good for opening .dmg files, and .dmgs are roughly the Mac OS X equivalent to .zip files - It won't magically convert the application from a PowerPC Mach-O binary to an x86 PE executable.
UserAgent: Opera/8.10 (Windows NT 5.2; U; en)
User avatar
Pu7o
Macfox
Macfox
 
Posts: 2014
Joined: Thu 06 Jan, 2005 12:03 pm
Location: Portugal

Postby Don_HH2K » Tue 06 Sep, 2005 8:37 pm

Kirad, the problem you are experiencing is that dmg2iso is a command-line tool. Just launching it by itself won't do anything. I don't have DMG2ISO at the moment, but I believe the syntax would be as follows:
Code: Select all
dmg2iso (dmg filename).dmg


You might also need to gunzip a DMG file (if its extension is .dmg.gz), you need the gzip tool to do that. To use gzip, use [tt]gunzip file.dmg.gz[/tt] or [tt]gzip -d file.dmg.gz[/tt].
UserAgent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.22-10mdk; X11; i686; en_US, en)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Alternative to dmg2iso

Postby davea » Mon 04 Aug, 2008 8:59 am

I had problems with dmg2iso, so instead used dmgextractor which is an easy to use application which you can run using JAVA Webstart from http://hem.bredband.net/catacombae/dmgx.html

I then followed the remainder of the excellent instructions from the original post.
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; YPC 3.2.0; .NET CLR 1.1.4322)
DaveA
davea
new member
new member
 
Posts: 1
Joined: Mon 04 Aug, 2008 8:49 am
Location: Scotland


Return to Mac OS and Apple

Who is online

Registered users: Google [Bot], Yahoo [Bot]