在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
来源:https://www.cnblogs.com/rusking/p/3835411.html