UbuntuHelp:ManageDiscImages
来自Ubuntu中文
目录
Convert CloneCD Images to ISO
Installation
Download the latest version from ccd2iso homepage
extract the archive files
tar xvfz ccd2iso-x.x.tar.gz
enter the new directory
cd ccd2iso
You need aclocal-1.6, therefore we have to install automake1.6
sudo apt-get install automake1.6
configure and compile it
./configure make
install it
sudo make install
or to install it via a deb file (CheckInstall)
sudo make checkinstall
Usage
Normally you would have 3 file from CloneCD image, they are .ccd, .img, and .sub
general usage:
ccd2iso <.img filename> <.iso filename>
for example:
ccd2iso myimage.img myimage.iso
Convert BIN/CUE Images to ISO
Installation
sudo apt-get install bchunk
Usage
As the name implies, a BIN/CUE CD image has two files. BIN being a binary of the raw CD data, and CUE being an ASCII file of CD layout.
general usage:
bchunk <image.bin> <image.cue> <basename>
for example:
bchunk myimage.bin myimage.cue myimage
Where basename(myimage) is myimage.iso of the produced file.
Convert DMG (compressed z-lib) to ISO
Installation
Download the latest version from here
and move the perl script for example into the directory: /usr/local/bin/
sudo mv dmg2iso.pl /usr/local/bin/
Usage
dmg2iso.pl <filename.dmg> <filename.iso>
Example
dmg2iso.pl disc1.dmg disc1.iso
Mount ISO Files
Create the directory for mount point:
sudo mkdir –p /mnt/iso
Use mount command as follows (assumes that your ISO file name is disk1.iso):
sudo mount -o loop disk1.iso /mnt/iso
Now your ISO is mounted on /mnt/iso/