LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 03-30-2007, 03:15 AM   #1
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102
Thanked: 0
Anyone knows a program that converts dmg to iso


[Log in to get rid of this advertisement]
Does anyone knows a decent program that is capable of converting dmg files into standard mountable/burnable ISO's? I've looked all over the Internet for this type of program but all I found was dmg2iso for Linux and some handful of Windows program. I tried to download the dmg2iso program (Linux version ofc) and tried to compile it, however first of all theres no ./configure, but If I recall its normal, some programs dont need it however when I did make he gave me a stream of errors, something about undefined variables being used. So dmg2iso is completely unusable (not even compileable) there was a perl script for it aswell however it to had a problem with the programming or something like that... so thats why I seek a converter for it. So is there any alternatives for it or something and if not where can I find a working dmg2iso file to use, I already tried its homepage (its the problematic one) and tried sourceforge but it doesnt download for me at all for these last few days(probably server-fault)
2Pacalypse is offline  
Tag This Post , ,
Reply With Quote
Old 03-30-2007, 03:25 AM   #2
MS3FGX
Senior Member
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 4,222
Thanked: 80
You just need to get dmg2iso to compile. How did you try and compile it?
MS3FGX is offline     Reply With Quote
Old 03-30-2007, 04:31 PM   #3
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102
Thanked: 0

Original Poster
Like any other normal program, with root I did ./configure make and makeinstall however the ./configure didnt worked because the file doesnt exist (which is normal is some programs) and the make started to give me errors about undefined variables and thus resulting in failure... nothing really special
2Pacalypse is offline     Reply With Quote
Old 03-30-2007, 04:38 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 2,140
Thanked: 10
Just a fyi, you should do ./configure and make as normal user. You only need to be root to do 'make install' or 'make uninstall'
dive is offline     Reply With Quote
Old 03-30-2007, 04:47 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 2,140
Thanked: 10
Do you have a link to the source. I can only find a page on sourceforge for an OSX file, and one for a perl script that refuses to load.
dive is offline     Reply With Quote
Old 03-31-2007, 04:50 AM   #6
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102
Thanked: 0

Original Poster
well, I dont have the source anymore, but I do remeber the site which I got it from, vu1tur.eu.org/tools however, It doesnt seem to load for me right now so I cant really give you an exact download linux... But look for the download called "Source code", thats the one I used. theres a Perl script there too, but it didnt loaded for me either
2Pacalypse is offline     Reply With Quote
Old 04-02-2007, 03:45 PM   #7
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102
Thanked: 0

Original Poster
*bump* guys, Im still here... anyone knows where I can get a normal program for this conversion or atleast a working copy of this dmg2iso program?

EDIT:
The site in back online. here the errors I got while compiling

Code:
kronos@Malkav:~$ cd /home/kronos/Desktop/dmg2iso
kronos@Malkav:~/Desktop/dmg2iso$ ./configure
bash: ./configure: No such file or directory
kronos@Malkav:~/Desktop/dmg2iso$ make
rm -f *.o dmg2iso.exe
gcc -O3 -c dmg2iso.cc
dmg2iso.h:45: error: ‘__int32’ does not name a type
dmg2iso.cc: In function ‘int main(int, char**)’:
dmg2iso.cc:117: error: ‘__int32’ does not name a type
dmg2iso.cc:122: error: ‘__int32’ does not name a type
dmg2iso.cc:123: error: ‘__int32’ does not name a type
dmg2iso.cc:124: error: ‘block_type’ was not declared in this scope
dmg2iso.cc:126: error: ‘out_offs’ was not declared in this scope
dmg2iso.cc:127: error: ‘out_size’ was not declared in this scope
dmg2iso.cc:128: error: ‘in_offs’ was not declared in this scope
dmg2iso.cc:129: error: ‘in_size’ was not declared in this scope
dmg2iso.cc:130: error: ‘convert_endian’ was not declared in this scope
dmg2iso.cc:140: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:158: error: ‘last_in_offs’ was not declared in this scope
dmg2iso.cc:161: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:172: error: ‘last_offs’ was not declared in this scope
dmg2iso.cc:172: error: ‘last_in_offs’ was not declared in this scope
make: *** [dmg2iso.o] Error 1
and heres the perl prob

Code:
kronos@Malkav:~/Desktop$ ./dmg2iso.pl
bash: ./dmg2iso.pl: /usr/local/bin/perl^M: bad interpreter: No such file or directory
kronos@Malkav:~/Desktop$

Last edited by 2Pacalypse; 04-02-2007 at 03:53 PM..
2Pacalypse is offline     Reply With Quote
Old 04-02-2007, 03:55 PM   #8
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,018
Thanked: 0
Go to that page and download the perl script and use that. It depends on you having perl, which you probably do. To use it type dmg2iso.pl <filename.dmg> <filename.iso>

Let us know how that turns out.
benjithegreat98 is offline     Reply With Quote
Old 04-03-2007, 03:33 AM   #9
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 102
Thanked: 0

Original Poster
same result, nothing changed. I tried this:
Code:
kronos@Malkav:~/Desktop$ perl dmg2iso.pl /home/kronos/My\ Documents/Games/Uplink\ version/MAC_UPLINK/Uplink.dmg /home/kronos/Uplink.iso
dmg2iso v0.2a by vu1tur (vu1tur@gmx.de)

PropertyList is corrupted
reading property list...kronos@Malkav:~/Desktop$
but as you see theres still a problem
2Pacalypse is offline     Reply With Quote
Old 04-03-2007, 09:12 AM   #10
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,018
Thanked: 0
Well, it sounds like your download is corrupted.

One more thing you can try. I read where somebody else was having trouble with dmg2iso and they downloaded the Windows binary verion and ran it with wine. So it would be:
wine dmg2iso.exe filein.dmg fileout.iso

If that gives you the same message, I would say the dmg file is corrupted.
benjithegreat98 is offline     Reply With Quote
Old 06-29-2007, 07:23 PM   #11
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379
Thanked: 0
I just finished using the perl script to convert a dmg to iso and I can confirm that it indeed works.
BillyGalbreath is offline     Reply With Quote
Old 06-29-2007, 07:56 PM   #12
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379
Thanked: 0
I take that back.. The newly created ISO image is not valid - everything is complaining about it
BillyGalbreath is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I have an ISO and DMG...now what? pieper Linux - Newbie 13 03-24-2007 08:45 AM
How to install UnRarX20.dmg Gins Linux - General 1 05-02-2005 05:37 PM
Burning .DMG kizuna Slackware 3 04-30-2005 07:17 AM
can linux do anything with .dmg files? Mugatu Linux - Software 3 06-01-2004 08:44 AM
I downloaded the gentoo iso in mandrake, what program do i burn the iso with backflippin General 4 04-05-2004 11:20 AM


All times are GMT -5. The time now is 07:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration