个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/ManageDiscImages}} {{Languages|UbuntuHelp:ManageDiscImages}} {{Translation}} {{Translator|雕啸长空}} == 将CloneCD格式转换为ISO格式 ==...)
 
安装必要的软件
第5行: 第5行:
  
 
== 将CloneCD格式转换为ISO格式 ==
 
== 将CloneCD格式转换为ISO格式 ==
=== 安装必要的软件 ===
+
=== 安装软件 ===
Download the latest version from [http://sourceforge.net/projects/ccd2iso/ ccd2iso homepage]
+
从这个网址下载该软件的最新版本[http://sourceforge.net/projects/ccd2iso/ ccd2iso 官方网站]
  
extract the archive files
+
解压得到的软件源码
 
<pre><nowiki>
 
<pre><nowiki>
 
tar xvfz ccd2iso-x.x.tar.gz
 
tar xvfz ccd2iso-x.x.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
  
enter the new directory
+
进入解压得到的源码所在目录
 
<pre><nowiki>
 
<pre><nowiki>
 
cd ccd2iso
 
cd ccd2iso
 
</nowiki></pre>
 
</nowiki></pre>
  
You need aclocal-1.6, therefore we have to install automake1.6
+
该软件的安装需要用到aclocal-1.6, 所以我们需要先安装automake1.6或者更新的版本
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install automake1.6
 
sudo apt-get install automake1.6
 
</nowiki></pre>
 
</nowiki></pre>
  
configure and compile it
+
配置并编译
 
<pre><nowiki>
 
<pre><nowiki>
 
./configure
 
./configure
第29行: 第29行:
 
</nowiki></pre>
 
</nowiki></pre>
  
install it
+
安装
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo make install
 
sudo make install
 
</nowiki></pre>
 
</nowiki></pre>
  
or to install it via a deb file (CheckInstall)
+
或者将它打包成deb格式再进行安装 (CheckInstall,但这样打出来的包尽量不要提供给他人使用,因为无法解决依赖关系)
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo make checkinstall
 
sudo make checkinstall

2007年5月30日 (三) 00:30的版本

将CloneCD格式转换为ISO格式

安装软件

从这个网址下载该软件的最新版本ccd2iso 官方网站

解压得到的软件源码

tar xvfz ccd2iso-x.x.tar.gz

进入解压得到的源码所在目录

cd ccd2iso

该软件的安装需要用到aclocal-1.6, 所以我们需要先安装automake1.6或者更新的版本

sudo apt-get install automake1.6

配置并编译

./configure
make

安装

sudo make install

或者将它打包成deb格式再进行安装 (CheckInstall,但这样打出来的包尽量不要提供给他人使用,因为无法解决依赖关系)

sudo make checkinstall

软件的使用

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

将BIN/CUE格式转换为ISO格式

软件安装

sudo apt-get install bchunk

软件使用

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.

将DMG格式文件转换为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/

软件使用

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

示例

dmg2iso.pl disc1.dmg disc1.iso

加载ISO镜像文件

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/