个人工具

UbuntuHelp:ManageDiscImages

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 11:36的版本 (New page: {{From|https://help.ubuntu.com/community/ManageDiscImages}} {{Languages|php5}} == Convert CloneCD Images to ISO == === Installation === Download the latest version from [http://sourceforg...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Convert CloneCD Images to ISO

Installation

Download the latest version from ccd2iso homepage

extract the archive files

tar xvfz ccd2iso-x.x.tar.gz
</code>

enter the new directory
<pre>
cd ccd2iso
</code>

You need aclocal-1.6, therefore we have to install automake1.6
<pre>
sudo apt-get install automake1.6
</code>

configure and compile it
<pre>
./configure
make
</code>

install it
<pre>
sudo make install
</code>

or to install it via a deb file (CheckInstall)
<pre>
sudo make checkinstall
</code>

=== Usage ===
Normally you would have 3 file from CloneCD image, they are .ccd, .img, and .sub

general usage:
<pre>
ccd2iso <.img filename> <.iso filename>
</code>

for example:
<pre>
ccd2iso myimage.img myimage.iso
</code>

== Convert BIN/CUE Images to ISO ==
=== Installation ===
<pre>
sudo apt-get install bchunk
</code>

=== 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:
<pre>
bchunk <image.bin> <image.cue> <basename>
</code>

for example:
<pre>
bchunk myimage.bin myimage.cue myimage
</code>
Where basename(myimage) is myimage.iso of the produced file.

== Convert DMG (compressed z-lib) to ISO ==
=== Installation ===
Download the latest version from [http://vu1tur.eu.org/tools/ here]
and move the perl script for example into the directory: <code>/usr/local/bin/</code>
<pre>
sudo mv dmg2iso.pl /usr/local/bin/
</code>

=== Usage ===
dmg2iso.pl <filename.dmg> <filename.iso>

=== Example ===
dmg2iso.pl disc1.dmg disc1.iso

== Mount ISO Files ==
Create the directory for mount point:
<pre>
sudo mkdir –p /mnt/iso
</code>

Use mount command as follows (assumes that your ISO file name is disk1.iso):
<pre>
sudo mount -o loop disk1.iso /mnt/iso
</code>

Now your ISO is mounted on <code>/mnt/iso/</code>
----
CategoryDocumentation CategoryCleanup

[[category:UbuntuHelp]]