How to read Mac .dmg images in Linux
<p>
Quick Guide that was tested on Ubuntu Linux Jaunty Jackalope.
</p>
<p>
1. Download and compile DMG2IMG <a href="http://vu1tur.eu.org/tools/download.pl?dmg2img.tar.gz">http://vu1tur.eu.org/tools/download.pl?dmg2img.tar.gz</a> (<a href="http://vu1tur.eu.org/tools/">http://vu1tur.eu.org/tools/</a>) :
</p>
<blockquote>
<p>
wget -O dmg2img.tar.gz <a href="http://vu1tur.eu.org/tools/download.pl?dmg2img.tar.gz">http://vu1tur.eu.org/tools/download.pl?dmg2img.tar.gz</a><br /> tar xfz dmg2img.tar.gz<br /> cd dmg2img<br /> make
</p>
</blockquote>
<p>
2. Convert the DMG to IMG with dmg2img :
</p>
<blockquote>
<p>
./dmg2img file.dmg
</p>
</blockquote>
<p>
3. Install hfsplus :
</p>
<blockquote>
<p>
sudo apt-get install hfsplus
</p>
</blockquote>
<p>
4. Mount the image as a loopback device :
</p>
<blockquote>
<p>
sudo mkdir /mnt/macimage<br /> sudo mount -t hfsplus -o loop file.img /mnt/macimage
</p>
</blockquote>
<p>
Voila.
</p>
</div>
Read other posts