“UbuntuHelp:ManageDiscImages”的版本间的差异
来自Ubuntu中文
小 (New page: {{From|https://help.ubuntu.com/community/ManageDiscImages}} {{Languages|php5}} == Convert CloneCD Images to ISO == === Installation === Download the latest version from [http://sourceforg...) |
小 |
||
第9行: | 第9行: | ||
<pre><nowiki> | <pre><nowiki> | ||
tar xvfz ccd2iso-x.x.tar.gz | tar xvfz ccd2iso-x.x.tar.gz | ||
− | </nowiki></ | + | </nowiki></pre> |
enter the new directory | enter the new directory | ||
<pre><nowiki> | <pre><nowiki> | ||
cd ccd2iso | cd ccd2iso | ||
− | </nowiki></ | + | </nowiki></pre> |
You need aclocal-1.6, therefore we have to install automake1.6 | You need aclocal-1.6, therefore we have to install automake1.6 | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install automake1.6 | sudo apt-get install automake1.6 | ||
− | </nowiki></ | + | </nowiki></pre> |
configure and compile it | configure and compile it | ||
第25行: | 第25行: | ||
./configure | ./configure | ||
make | make | ||
− | </nowiki></ | + | </nowiki></pre> |
install it | install it | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo make install | sudo make install | ||
− | </nowiki></ | + | </nowiki></pre> |
or to install it via a deb file (CheckInstall) | or to install it via a deb file (CheckInstall) | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo make checkinstall | sudo make checkinstall | ||
− | </nowiki></ | + | </nowiki></pre> |
=== Usage === | === Usage === | ||
第43行: | 第43行: | ||
<pre><nowiki> | <pre><nowiki> | ||
ccd2iso <.img filename> <.iso filename> | ccd2iso <.img filename> <.iso filename> | ||
− | </nowiki></ | + | </nowiki></pre> |
for example: | for example: | ||
<pre><nowiki> | <pre><nowiki> | ||
ccd2iso myimage.img myimage.iso | ccd2iso myimage.img myimage.iso | ||
− | </nowiki></ | + | </nowiki></pre> |
== Convert BIN/CUE Images to ISO == | == Convert BIN/CUE Images to ISO == | ||
第54行: | 第54行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo apt-get install bchunk | sudo apt-get install bchunk | ||
− | </nowiki></ | + | </nowiki></pre> |
=== Usage === | === Usage === | ||
第63行: | 第63行: | ||
<pre><nowiki> | <pre><nowiki> | ||
bchunk <image.bin> <image.cue> <basename> | bchunk <image.bin> <image.cue> <basename> | ||
− | </nowiki></ | + | </nowiki></pre> |
for example: | for example: | ||
<pre><nowiki> | <pre><nowiki> | ||
bchunk myimage.bin myimage.cue myimage | bchunk myimage.bin myimage.cue myimage | ||
− | </nowiki></ | + | </nowiki></pre> |
Where basename(myimage) is myimage.iso of the produced file. | Where basename(myimage) is myimage.iso of the produced file. | ||
第77行: | 第77行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mv dmg2iso.pl /usr/local/bin/ | sudo mv dmg2iso.pl /usr/local/bin/ | ||
− | </nowiki></ | + | </nowiki></pre> |
=== Usage === | === Usage === | ||
第89行: | 第89行: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mkdir –p /mnt/iso | sudo mkdir –p /mnt/iso | ||
− | </nowiki></ | + | </nowiki></pre> |
Use mount command as follows (assumes that your ISO file name is disk1.iso): | Use mount command as follows (assumes that your ISO file name is disk1.iso): | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mount -o loop disk1.iso /mnt/iso | sudo mount -o loop disk1.iso /mnt/iso | ||
− | </nowiki></ | + | </nowiki></pre> |
Now your ISO is mounted on <code><nowiki>/mnt/iso/</nowiki></code> | Now your ISO is mounted on <code><nowiki>/mnt/iso/</nowiki></code> |
2007年5月13日 (日) 12:46的版本
目录
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/
CategoryDocumentation CategoryCleanup