2011年5月11日 星期三

[Linux] Linux學習-- mount iso as a cdrom howto

    As we download a iso image file, we would sometimes need to mount it as a CDROM for some purpose. All we have to do is issue the commend below:

>sudo mount -o loop [iso file] [Destination Directory]

For instance,

a00ylc00@asus-ubuntu:/$ sudo mount -o loop /download/rhel-server-6.0-x86_64-dvd.iso /mnt


a00ylc00@asus-ubuntu:/$ cd /mnt

a00ylc00@asus-ubuntu:/mnt$ ls
EFI                       RELEASE-NOTES-es-ES.html  RELEASE-NOTES-si-LK.html
EULA                      RELEASE-NOTES-fr-FR.html  RELEASE-NOTES-ta-IN.html
GPL                       RELEASE-NOTES-gu-IN.html  RELEASE-NOTES-te-IN.html
HighAvailability          RELEASE-NOTES-hi-IN.html  RELEASE-NOTES-zh-CN.html
images                    RELEASE-NOTES-it-IT.html  RELEASE-NOTES-zh-TW.html
isolinux                  RELEASE-NOTES-ja-JP.html  repodata
LoadBalancer              RELEASE-NOTES-kn-IN.html  ResilientStorage
media.repo                RELEASE-NOTES-ko-KR.html  RPM-GPG-KEY-redhat-beta
Packages                  RELEASE-NOTES-ml-IN.html  RPM-GPG-KEY-redhat-release
README                    RELEASE-NOTES-mr-IN.html  ScalableFileSystem
RELEASE-NOTES-as-IN.html  RELEASE-NOTES-or-IN.html  Server
RELEASE-NOTES-bn-IN.html  RELEASE-NOTES-pa-IN.html  TRANS.TBL
RELEASE-NOTES-de-DE.html  RELEASE-NOTES-pt-BR.html
RELEASE-NOTES-en-US.html  RELEASE-NOTES-ru-RU.html
a00ylc00@asus-ubuntu:/mnt$

That's all.

沒有留言:

張貼留言

艾倫搜尋企業級的Open Source Solutions,提供簡易好上手的教學文件。