特殊:Badtitle/NS100:MountIso:修订间差异
小 新页面: {{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... |
小无编辑摘要 |
||
(未显示2个用户的11个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/MountIso}} | {{From|https://help.ubuntu.com/community/MountIso}} | ||
{{Languages|UbuntuHelp:MountIso}} | {{Languages|UbuntuHelp:MountIso}} | ||
== Introduction == | |||
For an introductory explanation of ISO images, instructions for creating and also burning them see [[UbuntuHelp:IsoImage|IsoImage]]. | |||
== Mounting ISO Files == | == Mounting ISO Files == | ||
The mounting of images is a very useful operation. It can allow a user to easily access data on an ISO without the need to burn and waste a disc. It also is much faster when dealing with the need to manage many images at once. These operations can be performed from a graphical user interface (GUI) or from a standard Terminal. | |||
=== | === GUI === | ||
gISOMount is a graphical utility for mounting and managing ISO images with the added ability to calculate md5sums and read volume information. | |||
To get gISOMount ensure '''Universe''' section of the Ubuntu repositories is enabled in your [[UbuntuHelp:Repositories/Ubuntu|Software Sources]]. Then to install this software in Ubuntu, [[UbuntuHelp:InstallingSoftware#installing-a-package|install the following package]]: '''''[[UbuntuHelp:apt:gisomount|gisomount]]'''''. | |||
The program can then be launched from '''Applications''' -> '''System Tools''' -> '''gISOMountUsage'''. | |||
=== | Usage is straightforward, simply browse to an ISO image on your hard drive and then either mount, calculate the md5 for comparison with a reference, or burn it to a disc. Additionally, once an image is select, the program can read off volume information in the pane. A favourites functionality allows commonly used images to be pulled up quickly. | ||
=== Command Line === | |||
The default mount point | The default [[UbuntuHelp:Mount|mount point]] for Ubuntu is under ''/media''. It is recommended a user create subdirectories to this folder for mounting to keep things organized. There is no physical limitation preventing mounting to any other directory on a drive. | ||
'''To Mount ''' <<BR>> | |||
To mount the image to a directory is a simple two step procedure. Sudo is required because we are working in directories owned by root. First make a directory with a name that identifies the contents of the ISO, usually its name. | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo mkdir /media/ | sudo mkdir /media/example</nowiki></pre> | ||
Then mount the file with the following command to the newly created directory. In the following example, it is assumed that NameOfISO.iso is in the users working directory, if not replace with the absolute path to the file. | |||
</nowiki></pre> | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo | sudo mount -o loop example.iso /media/example </nowiki></pre> | ||
</nowiki></pre> | To mount the image so that it can be written to, use the following mount command instead: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mount -o rw,loop example.iso /media/example | |||
</nowiki></pre> | </nowiki></pre> | ||
'''To Unmount ''' <<BR>> | |||
Umounting media is simply the reverse. First unmount the image, then remove the directory it was mounted to. Unmounting is universal, it doesn't matter what image was mounted it can be unmounted this way. | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo | sudo umount /media/example</nowiki></pre> | ||
</nowiki></pre> | |||
<pre><nowiki> | <pre><nowiki> | ||
sudo | sudo rmdir /media/example</nowiki></pre> | ||
== Manipulating Other Formats == | |||
See [[UbuntuHelp:ManageDiscImages|ManageDiscImages]]. | |||
== See Also == | |||
* '''cdemu''' is a kernel module for mounting Cue/Bin files directly. To install it you would have to setup linux headers, compile the module and modprobe it in. 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 Located Here] (Use this at your own risk.) | |||
</nowiki></pre> | * [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 explanation (with screen shots) showing how to mount and unmount ISO images. | ||
== | |||
'''cdemu''' is a kernel module for mounting Cue/Bin files directly. To install it you would have to | |||
[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 | |||
---- | ---- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 19:58的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MountIso }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/af | • {{#if: UbuntuHelp:MountIso|Afrikaans| [[::MountIso/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ar | • {{#if: UbuntuHelp:MountIso|العربية| [[::MountIso/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/az | • {{#if: UbuntuHelp:MountIso|azərbaycanca| [[::MountIso/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/bcc | • {{#if: UbuntuHelp:MountIso|جهلسری بلوچی| [[::MountIso/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/bg | • {{#if: UbuntuHelp:MountIso|български| [[::MountIso/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/br | • {{#if: UbuntuHelp:MountIso|brezhoneg| [[::MountIso/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ca | • {{#if: UbuntuHelp:MountIso|català| [[::MountIso/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/cs | • {{#if: UbuntuHelp:MountIso|čeština| [[::MountIso/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/de | • {{#if: UbuntuHelp:MountIso|Deutsch| [[::MountIso/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/el | • {{#if: UbuntuHelp:MountIso|Ελληνικά| [[::MountIso/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/es | • {{#if: UbuntuHelp:MountIso|español| [[::MountIso/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/fa | • {{#if: UbuntuHelp:MountIso|فارسی| [[::MountIso/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/fi | • {{#if: UbuntuHelp:MountIso|suomi| [[::MountIso/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/fr | • {{#if: UbuntuHelp:MountIso|français| [[::MountIso/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/gu | • {{#if: UbuntuHelp:MountIso|ગુજરાતી| [[::MountIso/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/he | • {{#if: UbuntuHelp:MountIso|עברית| [[::MountIso/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/hu | • {{#if: UbuntuHelp:MountIso|magyar| [[::MountIso/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/id | • {{#if: UbuntuHelp:MountIso|Bahasa Indonesia| [[::MountIso/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/it | • {{#if: UbuntuHelp:MountIso|italiano| [[::MountIso/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ja | • {{#if: UbuntuHelp:MountIso|日本語| [[::MountIso/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ko | • {{#if: UbuntuHelp:MountIso|한국어| [[::MountIso/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ksh | • {{#if: UbuntuHelp:MountIso|Ripoarisch| [[::MountIso/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/mr | • {{#if: UbuntuHelp:MountIso|मराठी| [[::MountIso/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ms | • {{#if: UbuntuHelp:MountIso|Bahasa Melayu| [[::MountIso/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/nl | • {{#if: UbuntuHelp:MountIso|Nederlands| [[::MountIso/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/no | • {{#if: UbuntuHelp:MountIso|norsk| [[::MountIso/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/oc | • {{#if: UbuntuHelp:MountIso|occitan| [[::MountIso/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/pl | • {{#if: UbuntuHelp:MountIso|polski| [[::MountIso/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/pt | • {{#if: UbuntuHelp:MountIso|português| [[::MountIso/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ro | • {{#if: UbuntuHelp:MountIso|română| [[::MountIso/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/ru | • {{#if: UbuntuHelp:MountIso|русский| [[::MountIso/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/si | • {{#if: UbuntuHelp:MountIso|සිංහල| [[::MountIso/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/sq | • {{#if: UbuntuHelp:MountIso|shqip| [[::MountIso/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/sr | • {{#if: UbuntuHelp:MountIso|српски / srpski| [[::MountIso/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/sv | • {{#if: UbuntuHelp:MountIso|svenska| [[::MountIso/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/th | • {{#if: UbuntuHelp:MountIso|ไทย| [[::MountIso/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/tr | • {{#if: UbuntuHelp:MountIso|Türkçe| [[::MountIso/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/vi | • {{#if: UbuntuHelp:MountIso|Tiếng Việt| [[::MountIso/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/yue | • {{#if: UbuntuHelp:MountIso|粵語| [[::MountIso/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/zh | • {{#if: UbuntuHelp:MountIso|中文| [[::MountIso/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/zh-hans | • {{#if: UbuntuHelp:MountIso|中文(简体)| [[::MountIso/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MountIso | UbuntuHelp:MountIso | {{#if: | :}}MountIso}}/zh-hant | • {{#if: UbuntuHelp:MountIso|中文(繁體)| [[::MountIso/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MountIso|:MountIso|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MountIso/zh | | {{#ifexist: MountIso/zh | | {{#ifeq: {{#titleparts:MountIso|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MountIso|1|-1|}} | zh | | }}
Introduction
For an introductory explanation of ISO images, instructions for creating and also burning them see IsoImage.
Mounting ISO Files
The mounting of images is a very useful operation. It can allow a user to easily access data on an ISO without the need to burn and waste a disc. It also is much faster when dealing with the need to manage many images at once. These operations can be performed from a graphical user interface (GUI) or from a standard Terminal.
GUI
gISOMount is a graphical utility for mounting and managing ISO images with the added ability to calculate md5sums and read volume information. To get gISOMount ensure Universe section of the Ubuntu repositories is enabled in your Software Sources. Then to install this software in Ubuntu, install the following package: gisomount. The program can then be launched from Applications -> System Tools -> gISOMountUsage. Usage is straightforward, simply browse to an ISO image on your hard drive and then either mount, calculate the md5 for comparison with a reference, or burn it to a disc. Additionally, once an image is select, the program can read off volume information in the pane. A favourites functionality allows commonly used images to be pulled up quickly.
Command Line
The default mount point for Ubuntu is under /media. It is recommended a user create subdirectories to this folder for mounting to keep things organized. There is no physical limitation preventing mounting to any other directory on a drive.
To Mount <
>
To mount the image to a directory is a simple two step procedure. Sudo is required because we are working in directories owned by root. First make a directory with a name that identifies the contents of the ISO, usually its name.
sudo mkdir /media/example
Then mount the file with the following command to the newly created directory. In the following example, it is assumed that NameOfISO.iso is in the users working directory, if not replace with the absolute path to the file.
sudo mount -o loop example.iso /media/example
To mount the image so that it can be written to, use the following mount command instead:
sudo mount -o rw,loop example.iso /media/example
To Unmount <
>
Umounting media is simply the reverse. First unmount the image, then remove the directory it was mounted to. Unmounting is universal, it doesn't matter what image was mounted it can be unmounted this way.
sudo umount /media/example
sudo rmdir /media/example
Manipulating Other Formats
See ManageDiscImages.
See Also
- cdemu is a kernel module for mounting Cue/Bin files directly. To install it you would have to setup linux headers, compile the module and modprobe it in. 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 Located Here (Use this at your own risk.)
- "Mount and Unmount ISO images without burning them" has a nice step-by-step explanation (with screen shots) showing how to mount and unmount ISO images.