首先,要确保ISO被加载到了光驱中:
查看当前系统中的文件系统使用情况:
- [root@RHEL ~]# df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/mapper/VolGroup00-LogVol00
- 18G 4.1G 13G 25% /
- /dev/sda1 99M 13M 81M 14% /boot
- tmpfs 500M 0 500M 0% /dev/shm
- [root@RHEL ~]#
当前没有ISO被挂载到FS中。
配置文件系统的关联文件(/etc/fstb):
- [root@RHEL ~]# cat /etc/fstab
- /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
- LABEL=/boot /boot ext3 defaults 1 2
- tmpfs /dev/shm tmpfs defaults 0 0
- devpts /dev/pts devpts gid=5,mode=620 0 0
- sysfs /sys sysfs defaults 0 0
- proc /proc proc defaults 0 0
- /dev/VolGroup00/LogVol01 swap swap defaults 0 0
- /dev/cdrom /iso iso9660 defaults 0 0
- [root@RHEL ~]#
应用配置:
- [root@RHEL ~]# mount -a
- mount: block device /dev/cdrom is write-protected, mounting read-only
- [root@RHEL ~]#
再次查看文件系统的状态:
- [root@RHEL ~]# df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/mapper/VolGroup00-LogVol00
- 18G 4.1G 13G 25% /
- /dev/sda1 99M 13M 81M 14% /boot
- tmpfs 500M 0 500M 0% /dev/shm
- /dev/hdc 3.9G 3.9G 0 100% /iso
- [root@RHEL ~]#
光盘介质(/dev/hdc)已经被成功挂在到了/iso下面。
看看光盘(ISO)中有些什么:
- [root@RHEL ~]# ls /iso
- Cluster README-te.html RELEASE-NOTES-U8-en.html
- ClusterStorage README-zh_CN.html RELEASE-NOTES-U8-es.html
- EULA README-zh_TW.html RELEASE-NOTES-U8-fr.html
- eula.en_US RELEASE-NOTES-as.html RELEASE-NOTES-U8-gu.html
- GPL RELEASE-NOTES-bn.html RELEASE-NOTES-U8-hi.html
- p_w_picpaths RELEASE-NOTES-de.html RELEASE-NOTES-U8-it.html
- isolinux RELEASE-NOTES-en RELEASE-NOTES-U8-ja.html
- README-as.html RELEASE-NOTES-en.html RELEASE-NOTES-U8-kn.html
- README-bn.html RELEASE-NOTES-es.html RELEASE-NOTES-U8-ko.html
- README-de.html RELEASE-NOTES-fr.html RELEASE-NOTES-U8-ml.html
- README-en RELEASE-NOTES-gu.html RELEASE-NOTES-U8-mr.html
- README-en.html RELEASE-NOTES-hi.html RELEASE-NOTES-U8-or.html
- README-es.html RELEASE-NOTES-it.html RELEASE-NOTES-U8-pa.html
- README-fr.html RELEASE-NOTES-ja.html RELEASE-NOTES-U8-pt_BR.html
- README-gu.html RELEASE-NOTES-kn.html RELEASE-NOTES-U8-ru.html
- README-hi.html RELEASE-NOTES-ko.html RELEASE-NOTES-U8-ta.html
- README-it.html RELEASE-NOTES-ml.html RELEASE-NOTES-U8-te.html
- README-ja.html RELEASE-NOTES-mr.html RELEASE-NOTES-U8-zh_CN.html
- README-kn.html RELEASE-NOTES-or.html RELEASE-NOTES-U8-zh_TW.html
- README-ko.html RELEASE-NOTES-pa.html RELEASE-NOTES-zh_CN.html
- README-ml.html RELEASE-NOTES-pt_BR.html RELEASE-NOTES-zh_TW.html
- README-mr.html RELEASE-NOTES-ru.html RPM-GPG-KEY-redhat-beta
- README-or.html RELEASE-NOTES-ta.html RPM-GPG-KEY-redhat-release
- README-pa.html RELEASE-NOTES-te.html Server
- README-pt_BR.html RELEASE-NOTES-U8-as.html TRANS.TBL
- README-ru.html RELEASE-NOTES-U8-bn.html VT
- README-si.html RELEASE-NOTES-U8-de.html
- README-ta.html RELEASE-NOTES-U8-en
- [root@RHEL ~]#
——
To be continue