Allright...
DMG does not always translate into HFS or HFS+. I learned this lesson the hard way, which as it happens, is apparently the best way

Some DMG's are compressed, and connot be mounted in the traditional style, for example
- Code: Select all
mount -t hfs -o loop myImage.dmg /myfolder
or
- Code: Select all
mount -t hfsplus -o loop myImage.dmg /myfolder
sometimes will not work.
To remedy this, we'll install wine, which will allow us to run windows programs on linux, then, use a regular old windows ISO program to extract our information.
Look down on the bottom left of your screen. Theres a big blue button there with a "K" on it, kinda like a "start" button..click it. Now hover your mouse on the part there on the bottom that says "applications". Now move your mouse up to "system" and click it. The menu will slide to the left and you'll want to find "Terminal"; go ahead and give that a click.
Now you have a new window that resembles a "dos" box with a cool little flashing cursor, urging you to begin typing, and thats exactly what your going to do. Type this...
- Code: Select all
sudo equo install wine
Password? Type it in. hit enter. you'll get...
- Code: Select all
@@ Calculating dependencies ...
>> @@ Packages needing to be installed/updated/downgraded: 1
>> @@ Packages needing to be removed: 0
>> @@ Download size: 0b
>> @@ Freed disk space: 0.0b
>> @@ You need at least: 37.3MB of free space
>> :: (1/1) >>> app-emulation/wine-1.1.23
>> ## Package checksum matches: app-emulation:wine-1.1.23~0.tbz2
>> : SHA1 matches
>> : SHA256 matches
>> : SHA512 matches
>> ++ (1/1) >>> app-emulation/wine-1.1.23
>> ## Unpacking package: app-emulation:wine-1.1.23~0.tbz2
>> ## Installing package: app-emulation/wine-1.1.23
>> ## Updating database: app-emulation/wine-1.1.23
>> ## Regenerating /etc/ld.so.cache
>> ## Cleaning: app-emulation/wine-1.1.23
>> @@ Installation complete.
>> @@ Caching complete.
WOOHOO! Now we will be able to install windows programs(that read DMG's) on our Sabayon installation.
Right after a restart.

Done it yet? Good.
Now fire up Firefox or any old web browser of your choice, and navigate to...
- Code: Select all
http://www.ezbsystems.com/ultraiso/download.htm
Download and install ultraiso. Just like on windows. When the program finishes downloading, double-click the installer icon (uiso9_pe.exe) and it will install. That easy. Just like windows....did I already say that?

Now click the ultraiso icon on your desktop, click "continue to try", click file, go down to open,and locate your target DMG file.
Now, not only do you have a way to open (and work with) your DMG file, but you can install and use (almost) any windows program!
