Mengubah *.dmg (Mac) ke *.iso di Linux


I recently came across a handy script that allows you to convert a Mac OSX or Apple’s iPod (iPod firmware generated images) to standard .iso files.

You’ll need to have perl installed. Also, you may need to add an additional dependency in the form of a perl zlib module. So, here’s how to install it:

sudo apt-get install libcompress-zlib-perl

cd /usr/bin

sudo wget http://www.blinkenlights.ch/gnupod/dmg2iso.pl

Now, in my Ubuntu install I had to make one change to the dmg2iso.pl script.

sudo gedit dmg2iso.pl

At the very top you should see a line that says ‘#!/usr/local/bin/perl‘. This tells the script where to find perl. On my installation, perl is located in ‘/usr/bin/perl‘. So change that line if you need to.

Now let’s make it excecutable.

sudo chmod 777 dmg2iso.pl

Back to your home directory now.

cd

If you have a .dmg file in your home directory (or any directory) called bloodspell.dmg, and you want to convert it to a .iso file you can type:

dmg2iso.pl bloodspell.dmg bloodspell.iso

The script will take care of the rest.

Ref: http://www.arsgeek.com/2007/01/23/ubuntu-quicktip-converting-max-dmg-images-into-iso-images/

One Response

  1. Sebaiknya jangan copy/paste artikel orang lain seperti ini, karena melanggar hak cipta orang. Lebih baik dikasi pengenalan trus langsung tautannya saja. Salam.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: