个人工具

“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></code>
+
</nowiki></pre>
  
 
enter the new directory
 
enter the new directory
 
<pre><nowiki>
 
<pre><nowiki>
 
cd ccd2iso
 
cd ccd2iso
</nowiki></code>
+
</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></code>
+
</nowiki></pre>
  
 
configure and compile it
 
configure and compile it
第25行: 第25行:
 
./configure
 
./configure
 
make
 
make
</nowiki></code>
+
</nowiki></pre>
  
 
install it
 
install it
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo make install
 
sudo make install
</nowiki></code>
+
</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></code>
+
</nowiki></pre>
  
 
=== Usage ===
 
=== Usage ===
第43行: 第43行:
 
<pre><nowiki>
 
<pre><nowiki>
 
ccd2iso <.img filename> <.iso filename>
 
ccd2iso <.img filename> <.iso filename>
</nowiki></code>
+
</nowiki></pre>
  
 
for example:
 
for example:
 
<pre><nowiki>
 
<pre><nowiki>
 
ccd2iso myimage.img myimage.iso
 
ccd2iso myimage.img myimage.iso
</nowiki></code>
+
</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></code>
+
</nowiki></pre>
  
 
=== Usage ===
 
=== Usage ===
第63行: 第63行:
 
<pre><nowiki>
 
<pre><nowiki>
 
bchunk <image.bin> <image.cue> <basename>
 
bchunk <image.bin> <image.cue> <basename>
</nowiki></code>
+
</nowiki></pre>
  
 
for example:
 
for example:
 
<pre><nowiki>
 
<pre><nowiki>
 
bchunk myimage.bin myimage.cue myimage
 
bchunk myimage.bin myimage.cue myimage
</nowiki></code>
+
</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></code>
+
</nowiki></pre>
  
 
=== Usage ===
 
=== Usage ===
第89行: 第89行:
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo mkdir –p /mnt/iso
 
sudo mkdir –p /mnt/iso
</nowiki></code>
+
</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></code>
+
</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