You are not logged in.
Pages: 1
I have a file a friend gave me from his Mac computer with a .dmg file name. I haven't been able to pinpoint exactly how to use this type of file... I believe its an Apple raw disk image or something like that.. sort of like an iso. I need to use this file in order to start an application and download it onto Arch Linux. The problem is that I can't figure out how to use it on Arch Linux and burn it onto a Cd. Has anyone had experience with this sort of thing? I am completely lost.
Offline
Have you tried http://www.archlinux.org/packages/commu … etoneiso2/ ?
Offline
Thanks! I will check it out and see if it works.
Offline
Some ideas about the support outside of Mac http://en.wikipedia.org/wiki/Apple_Disk … -Macintosh
In Linux and possibly other Unix flavors, most .dmg files can be burned to CD/DVD using the program cdrecord or directly mounted to a mountpoint (e.g. mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint).
Last edited by karol (2011-10-11 03:07:21)
Offline
$ poweriso convert ~/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg -o ~/Downloads/lang.rar/rose.iso -o t
PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
Type poweriso -? for help
/home/user/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg: The file format is invalid or unsupported.
$
$ poweriso -?
PowerISO Copyright(C) 2004-2008 PowerISO Computing, Inc
Type poweriso -? for help
Usage: poweriso <command> [parameters] [-switches]
<Commands>
list <image file> <directory> List files and directories in image file.
Example: List all files and directories in root direcory of /home/sam/test.iso .
Command: poweriso list /home/sam/test.iso / -r
extract <image file> <dir/file name> Extract files/directories from image file.
Example: Extract all files and directories in root direcory of /home/sam/test.iso
to /home/sam/test recursively.
Command: poweriso extract /home/sam/test.iso / -od /home/sam/test
convert <image file> Convert image file to other format.
Example: Convert /home/sam/test.daa to standard iso file
Command: poweriso convert /home/sam/test.daa -o /home/sam/test.iso -ot iso
<Switches>
-r List or extract recursively.
-o Specify output image file name.
-od Specify output folder.
-ot <iso|daa|bin> Specify output image file type. If not specified,
the image type will be determined by file name suffix.
-volsize <n> Split output image file to multiple volumes, and set volume
size to <n>. Example: -volsize 100M
-setpassword <password> Set password for output image file.
Example: -setpassword 12345678
$
I tried to convert the file .dmg to an .iso so that I can easily burn that onto a disk and get the ball rolling.. am I missing something here?
Offline
Have you tried simply mounting it
mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint
What's the output of
file ~/Downloads/lang.rar/Rosetta_Stone_3.4.5.dmg
?
Offline
A quick google later: http://ubuntuforums.org/showthread.php?t=343808
I remember that this worked for me years ago, I used the same script from this thread.
Offline
A quick google later: http://ubuntuforums.org/showthread.php?t=343808
I remember that this worked for me years ago, I used the same script from this thread.
dmg2img was originally written in Perl; however, the Perl version is no longer maintained, and the project was rewritten in C. Currently, without additional tools, the resulting images may be mounted only under Mac OS X and under Linux (provided hfsplus support has been enabled)
Offline
Offline
Pages: 1