个人工具

“UbuntuHelp:ManageDiscImages”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/ManageDiscImages}}
 
{{From|https://help.ubuntu.com/community/ManageDiscImages}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:ManageDiscImages}}
  
 
== Convert CloneCD Images to ISO ==
 
== Convert CloneCD Images to ISO ==
第98行: 第98行:
 
Now your ISO is mounted on <code><nowiki>/mnt/iso/</nowiki></code>
 
Now your ISO is mounted on <code><nowiki>/mnt/iso/</nowiki></code>
 
----
 
----
CategoryDocumentation CategoryCleanup
+
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年5月14日 (一) 11:18的版本


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/