特殊:Badtitle/NS100:MountIso/zh:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Yjwork留言 | 贡献
Yjwork留言 | 贡献
第11行: 第11行:
=== Instructions ===
=== Instructions ===


The default mount point under linux is under ''/media''. To mount an iso file here do the following:
在linux下默认的ISO挂载点位于"/media"目录,下面是挂载一个ISO文件的方法:
在linux下默认的ISO挂载点位于"/media"目录,下面是挂载一个ISO文件的方法:
<pre><nowiki>
<pre><nowiki>

2007年6月12日 (二) 21:49的版本

{{#ifexist: :MountIso/zh/zh | | {{#ifexist: MountIso/zh/zh | | {{#ifeq: {{#titleparts:MountIso/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MountIso/zh|1|-1|}} | zh | | }}


挂载ISO文件

Introduction

An IsoImage is an image of a CD or DVD disk that can be stored on your computer and used to write to a new disk. It is a simple process to mount an iso image under Ubuntu.

Instructions

在linux下默认的ISO挂载点位于"/media"目录,下面是挂载一个ISO文件的方法:

sudo mkdir /media/cdimage  #建立一个文件夹作为ISO挂载点
sudo mount -o loop myfile.iso /media/cdimage   #挂载ISO文件,使用参数 -o loop 

使用你想挂载的iso文件代替myfile.iso。 挂载一个镜像文件使之能被写入,使用下面的命令:

sudo mkdir /media/cdimage
sudo mount -o rw,loop myfile.iso /media/cdimage

卸载镜像文件:

sudo umount /media/cdimage
rmdir /media/cdimage

其它格式

Other formats of CD or DVD images can be converted to iso and then mounted as above.

其它的CD,DVD镜像文件能被转换成ISO文件以被挂载

  • Nero image (.nrg) files can either be converted to iso using nrg2iso or mounted directly using mount.
  • Nero 镜像(.nrg)文件能使用 nrg2iso 转换成ISO文件,或者使用mount挂载
    • 使用mount挂载:
sudo mkdir /media/cdimage
sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
    • 安装nrg2iso:
sudo apt-get install nrg2iso
    • 使用nrg2iso转换成iso文件:
nrg2iso myfile.nrg myfile.iso
  • Cue/Bin 镜像 (.cue/.bin) 必须转换才能使用. 使用bchunk可以转换.
    • 安装bchunk:
sudo apt-get install bchunk
    • 使用bchunk转换:
bchunk myfile.bin myfile.cue myfile
sudo dpkg -i ccd2iso_0.2-0.1_i386.deb
    • To convert to iso using ccd2iso
ccd2iso myfile.img myfile.iso
  • Alcohol 120% image (.mdf) files can either be converted to iso using mdf2iso or mounted directly using mount.
    • To mount using mount:
sudo mkdir /media/cdimage
sudo mount -o loop=/dev/loop0 myfile.iso /media/cdimage
    • To install mdf2iso:
sudo apt-get install mdf2iso
    • To convert to iso using mdf2iso:
mdf2iso myfile.mdf myfile.iso
  • A couple of other image formats can be found on the help page ManageDiscImages.

Other Options

cdemu is a kernel module for mounting Cue/Bin files directly. To install it you would have to install linux-headers, compile the module and modprobe it. This is out of the scope of this page. There is a script under development in the Ubuntu forums for automating the building of cdemu http://www.ubuntuforums.org/showthread.php?t=149963. (Use this at your own risk.)

"Mount and Unmount ISO images without burning them" has a nice step-by-step explaination (with screenshots) showing how to mount an unmount ISO images.