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

来自Ubuntu中文
跳到导航跳到搜索
Oneleaf留言 | 贡献
新页面: {{From|https://help.ubuntu.com/community/MountIso}} {{Languages|UbuntuHelp:MountIso}} == Mounting ISO Files == === Introduction === An IsoImage is an image of a CD or DVD disk that ca...
 
Wikibot留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/MountIso}}
{{From|https://help.ubuntu.com/community/MountIso}}
{{Languages|UbuntuHelp:MountIso}}
{{Languages|UbuntuHelp:MountIso}}
== Mounting ISO Files ==
== Mounting ISO Files ==
=== Introduction ===
=== 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.
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 ===
=== Instructions ===
The default mount point under linux is under ''/media''. To mount an iso file here do the following:
The default mount point under linux is under ''/media''. To mount an iso file here do the following:
<pre><nowiki>
<pre><nowiki>
sudo mkdir /media/cdimage
sudo mkdir /media/cdimage
sudo mount -o loop myfile.iso /media/cdimage
sudo mount -o loop myfile.iso /media/cdimage
</nowiki></pre>
</nowiki></pre>
Where myfile.iso is replaced with the file you want to mount.
Where myfile.iso is replaced with the file you want to mount.
To mount the image so that it can be written to do the following instead:
To mount the image so that it can be written to do the following instead:
<pre><nowiki>
<pre><nowiki>
sudo mkdir /media/cdimage
sudo mkdir /media/cdimage
sudo mount -o rw,loop myfile.iso /media/cdimage
sudo mount -o rw,loop myfile.iso /media/cdimage
</nowiki></pre>
</nowiki></pre>
To unmount the image do this:
To unmount the image do this:
<pre><nowiki>
<pre><nowiki>
sudo umount /media/cdimage
sudo umount /media/cdimage
rmdir /media/cdimage
rmdir /media/cdimage
</nowiki></pre>
</nowiki></pre>
=== Other Formats ===
=== Other Formats ===
Other formats of CD or DVD images can be converted to iso and then mounted as above.
Other formats of CD or DVD images can be converted to iso and then mounted as above.
* Nero image (.nrg) files can either be converted to iso using '''nrg2iso''' or mounted directly using '''mount'''.
* Nero image (.nrg) files can either be converted to iso using '''nrg2iso''' or mounted directly using '''mount'''.
** To mount using '''mount''':  
** To mount using '''mount''':  
第45行: 第29行:
sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
</nowiki></pre>
</nowiki></pre>
** To install '''nrg2iso''':  
* To install '''nrg2iso''':  
<pre><nowiki>
<pre><nowiki>
sudo apt-get install nrg2iso
sudo apt-get install nrg2iso
</nowiki></pre>
</nowiki></pre>
** To convert to iso using '''nrg2iso''':  
* To convert to iso using '''nrg2iso''':  
<pre><nowiki>
<pre><nowiki>
nrg2iso myfile.nrg myfile.iso
nrg2iso myfile.nrg myfile.iso
</nowiki></pre>
</nowiki></pre>
* Cue/Bin image (.cue/.bin) files must be converted. This can be done using '''bchunk'''.
* Cue/Bin image (.cue/.bin) files must be converted. This can be done using '''bchunk'''.
** To install '''bchunk''':  
** To install '''bchunk''':  
第59行: 第42行:
sudo apt-get install bchunk
sudo apt-get install bchunk
</nowiki></pre>
</nowiki></pre>
** To convert to iso using '''bchunk''':  
* To convert to iso using '''bchunk''':  
<pre><nowiki>
<pre><nowiki>
bchunk myfile.bin myfile.cue myfile
bchunk myfile.bin myfile.cue myfile
</nowiki></pre>
</nowiki></pre>
* Clone CD (.ccd/.img/.sub) files must be converted. This can be done using '''ccd2iso'''. The package for this program is ''extremely unstable'' and has been taken from the Ubuntu forums http://www.ubuntuforums.org. It is also only packaged for Pentium (i386) systems. You can also compile from the source using the guide on ManageDiscImages.
* Clone CD (.ccd/.img/.sub) files must be converted. This can be done using '''ccd2iso'''. The package for this program is ''extremely unstable'' and has been taken from the Ubuntu forums http://www.ubuntuforums.org. It is also only packaged for Pentium (i386) systems. You can also compile from the source using the guide on ManageDiscImages.
** To install '''ccd2iso''' download the package http://rarewares.org/debian/packages/unstable/ccd2iso_0.2-0.1_i386.deb. Then install the package:  
** To install '''ccd2iso''' download the package http://rarewares.org/debian/packages/unstable/ccd2iso_0.2-0.1_i386.deb. Then install the package:  
第69行: 第51行:
sudo dpkg -i ccd2iso_0.2-0.1_i386.deb
sudo dpkg -i ccd2iso_0.2-0.1_i386.deb
</nowiki></pre>
</nowiki></pre>
** To convert to iso using '''ccd2iso'''  
* To convert to iso using '''ccd2iso'''  
<pre><nowiki>
<pre><nowiki>
ccd2iso myfile.img myfile.iso
ccd2iso myfile.img myfile.iso
</nowiki></pre>
</nowiki></pre>
* Alcohol 120% image (.mdf) files can either be converted to iso using '''mdf2iso''' or mounted directly using '''mount'''.
* Alcohol 120% image (.mdf) files can either be converted to iso using '''mdf2iso''' or mounted directly using '''mount'''.
** To mount using '''mount''':  
** To mount using '''mount''':  
第80行: 第61行:
sudo mount -o loop=/dev/loop0 myfile.iso /media/cdimage
sudo mount -o loop=/dev/loop0 myfile.iso /media/cdimage
</nowiki></pre>
</nowiki></pre>
** To install '''mdf2iso''':  
* To install '''mdf2iso''':  
<pre><nowiki>
<pre><nowiki>
sudo apt-get install mdf2iso
sudo apt-get install mdf2iso
</nowiki></pre>
</nowiki></pre>
** To convert to iso using '''mdf2iso''':  
* To convert to iso using '''mdf2iso''':  
<pre><nowiki>
<pre><nowiki>
mdf2iso myfile.mdf myfile.iso
mdf2iso myfile.mdf myfile.iso
</nowiki></pre>
</nowiki></pre>
* A couple of other image formats can be found on the help page ManageDiscImages.
* A couple of other image formats can be found on the help page ManageDiscImages.
=== Other Options ===
=== 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.)
'''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.)
[http://www.debianadmin.com/mount-and-unmout-iso-images-without-burning-them.html "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.
[http://www.debianadmin.com/mount-and-unmout-iso-images-without-burning-them.html "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.
----
----
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2007年11月30日 (五) 20:21的版本

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

Mounting ISO Files

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

The default mount point under linux is under /media. To mount an iso file here do the following:

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

Where myfile.iso is replaced with the file you want to mount. To mount the image so that it can be written to do the following instead:

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

To unmount the image do this:

sudo umount /media/cdimage
rmdir /media/cdimage

Other Formats

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

  • Nero image (.nrg) files can either be converted to iso using nrg2iso or mounted directly using mount.
    • To mount using mount:
sudo mkdir /media/cdimage
sudo mount -o loop,offset=307200 myfile.nrg /media/cdimage
  • To install nrg2iso:
sudo apt-get install nrg2iso
  • To convert to iso using nrg2iso:
nrg2iso myfile.nrg myfile.iso
  • Cue/Bin image (.cue/.bin) files must be converted. This can be done using bchunk.
    • To install bchunk:
sudo apt-get install bchunk
  • To convert to iso using 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.