Revision 8 as of 2010-02-20 10:09:54

Clear message

Introduction

DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file convert tool. It is derived from dmg2iso v0.2c by vu1tur.

It will allow you to convert a DMG file into an IMG file that can be mounted as described in ManageDiscImages.

Website: http://vu1tur.eu.org/tools/

Installation Instructions

The tool is in the Universe repository for Lucid:

 sudo apt-get install dmg2img 

Install from .deb on Karmic

The Lucid package works fine with Karmic. Download and install it from here: http://packages.ubuntu.com/lucid/dmg2img.

Install from PPA

There is also a PPA at https://launchpad.net/~rzr/+archive/ppa.

Install from source

The following assumes the latest version is 1.6, so check if a more recent version is available here first. To download, compile and install, open an terminal and type:

wget http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.tar.gz -O dmg2img-1.6.tar.gz
tar -xvf dmg2img-1.6.tar.gz
sudo apt-get install zlib1g-dev libssl-dev libbz2-dev
cd dmg2img-1.6
make
sudo make install

You can now remove the installation files if you want to tidy up:

rm dmg2img-1.6.tar.gz
rm -R dmg2img-1.6

Getting Started With DMG2IMG

You can now convert .dmg files to .img by typing:

dmg2img filename.dmg

This will create a file called filename.img