linux下CDROM挂载

和自甴很熟 提交于 2020-02-22 14:32:12

在VM-->removableDevice-->CD DVD-->加载iso镜像文件:

[root@rusky2 mnt]# mount /dev/cdrom /mnt/cdrom 
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@rusky2 mnt]# mount -o ro  /dev/cdrom /mnt/cdrom     #-o rw 用可读写模式挂载
mount: /dev/cdrom already mounted or /mnt/cdrom busy
mount: according to mtab, /dev/hdc is already mounted on /mnt/cdrom
[root@rusky2 mnt]# ls /mnt/cdrom
Cluster         README-en       README-ml.html     README-zh_TW.html      RELEASE-NOTES-it.html     RELEASE-NOTES-si.html         RPM-GPG-KEY-redhat-release
ClusterStorage  README-en.html  README-mr.html     RELEASE-NOTES-as.html  RELEASE-NOTES-ja.html     RELEASE-NOTES-ta.html         Server
EULA            README-es.html  README-or.html     RELEASE-NOTES-bn.html  RELEASE-NOTES-kn.html     RELEASE-NOTES-te.html         TRANS.TBL
eula.en_US      README-fr.html  README-pa.html     RELEASE-NOTES-de.html  RELEASE-NOTES-ko.html     RELEASE-NOTES-zh_CN.html      VT
GPL             README-gu.html  README-pt_BR.html  RELEASE-NOTES-en       RELEASE-NOTES-ml.html     RELEASE-NOTES-zh_TW.html
images          README-hi.html  README-ru.html     RELEASE-NOTES-en.html  RELEASE-NOTES-mr.html     RPM-GPG-KEY-fedora
isolinux        README-it.html  README-si.html     RELEASE-NOTES-es.html  RELEASE-NOTES-or.html     RPM-GPG-KEY-fedora-test
README-as.html  README-ja.html  README-ta.html     RELEASE-NOTES-fr.html  RELEASE-NOTES-pa.html     RPM-GPG-KEY-redhat-auxiliary
README-bn.html  README-kn.html  README-te.html     RELEASE-NOTES-gu.html  RELEASE-NOTES-pt_BR.html  RPM-GPG-KEY-redhat-beta
README-de.html  README-ko.html  README-zh_CN.html  RELEASE-NOTES-hi.html  RELEASE-NOTES-ru.html     RPM-GPG-KEY-redhat-former

卸载:

umount /mnt/cdrom  

 

 

 

 

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!