You are not logged in.

#1 2008-02-03 17:43:05

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Convert dmg to iso?

Anyone know about an applicasion to convert dmg images to iso images?


Use the Source, Luke!

Offline

#2 2008-02-03 17:55:34

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Convert dmg to iso?

I have no idea if this works...

http://sourceforge.net/projects/dmg2iso

Last edited by skottish (2008-02-03 17:55:52)

Offline

#3 2008-02-03 18:02:27

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Convert dmg to iso?

according to the features page, acetoneiso should be able to do it. It is in the AUR.

Offline

#4 2008-02-03 19:11:39

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Convert dmg to iso?

Dmg2iso is only for mac os x?

I don't wanna install kde to a simple task like this.


Use the Source, Luke!

Offline

#5 2008-02-03 21:18:01

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Convert dmg to iso?

A DMG is nothing more than an image of an Apple HFS file system, you should be able to mount it with something like:

mount -t hfs -o loop image.dmg /macdisk

Then, I think, you could make an ISO out of that with dd:

dd if=/macdisk of=image.iso

Not 100% sure the ISO creation would work though.

Offline

#6 2008-02-03 21:29:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Convert dmg to iso?

Roberth wrote:

Dmg2iso is only for mac os x?

Whoops. Sorry.

Offline

#7 2008-02-03 21:38:03

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Convert dmg to iso?

acetoniso2

Offline

#8 2008-02-03 21:39:24

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Convert dmg to iso?

DonVla wrote:

acetoniso2

Please read through the thread, this app has allready been suggested.


Use the Source, Luke!

Offline

#9 2008-02-03 21:41:04

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Convert dmg to iso?

elliott wrote:

A DMG is nothing more than an image of an Apple HFS file system, you should be able to mount it with something like:

mount -t hfs -o loop image.dmg /macdisk

Then, I think, you could make an ISO out of that with dd:

dd if=/macdisk of=image.iso

Not 100% sure the ISO creation would work though.

[root@Magda roberth]# mount -t hfs -o loop APPLE.MAC.OSX.LEOPARD.V10.5.ISO-OSX/osx-leopard105.dmg macdisk
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

What am I doing wrong?


Use the Source, Luke!

Offline

#10 2008-02-03 22:02:30

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: Convert dmg to iso?

There are some dmg-images (e.g. xcode if you want to build a cross-compiler) which contain a partition map and multiple partition. It's pretty weird.
You can't mount them directly (at least I haven't had success), but you can extract their content with hfsexplorer (It's a java app), works well.

Offline

#11 2008-02-03 22:04:44

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Convert dmg to iso?

Use "file osx-leopard105.dmg" to make sure it is a true DMG file. It should say something like "Macintosh HFS data"

Offline

#12 2008-02-03 22:12:44

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Convert dmg to iso?

VAX COFF executable not stripped - version 376

Maybe dmg2iso the only sollution?


Use the Source, Luke!

Offline

#13 2008-02-04 20:28:28

Zer0
Member
From: Windsor, ON, Canada
Registered: 2006-08-25
Posts: 299

Re: Convert dmg to iso?

As stated earlier you can use AcetoneISO2 (which I maintain in AUR) but my guess it that your looking for a CLI solution..

AcetoneISO depends a lot on poweriso for conversion.  I did a quick check in the source code to see what methods it
uses to handle dmg..  It uses PowerISO 1.2 to extract it.  You can probably use poweriso to extract it then make an ISO using other methods. Then again PowerISO might convert from dmg to iso directly..

PowerISO 1.1 is found in the community repo but you may need to install version 1.2 (I think dmg support is in the latest version only).

Good Luck

Last edited by Zer0 (2008-02-04 20:29:20)

Offline

Board footer

Powered by FluxBB