首先,要确保ISO被加载到了光驱中:

在Linux中mount一个ISO_linux mount /etc/fst 

查看当前系统中的文件系统使用情况:

  1. [root@RHEL ~]# df -h  
  2. Filesystem            Size  Used Avail Use% Mounted on 
  3. /dev/mapper/VolGroup00-LogVol00  
  4.                        18G  4.1G   13G  25% /  
  5. /dev/sda1              99M   13M   81M  14% /boot  
  6. tmpfs                 500M     0  500M   0% /dev/shm  
  7. [root@RHEL ~]# 

当前没有ISO被挂载到FS中。

配置文件系统的关联文件(/etc/fstb):

  1. [root@RHEL ~]# cat /etc/fstab   
  2. /dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1  
  3. LABEL=/boot             /boot                   ext3    defaults        1 2  
  4. tmpfs                   /dev/shm                tmpfs   defaults        0 0  
  5. devpts                  /dev/pts                devpts  gid=5,mode=620  0 0  
  6. sysfs                   /sys                    sysfs   defaults        0 0  
  7. proc                    /proc                   proc    defaults        0 0  
  8. /dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0  
  9. /dev/cdrom      /iso            iso9660 defaults    0 0  
  10. [root@RHEL ~]# 

应用配置:

  1. [root@RHEL ~]# mount -a  
  2. mount: block device /dev/cdrom is write-protected, mounting read-only 
  3. [root@RHEL ~]# 

再次查看文件系统的状态:

  1. [root@RHEL ~]# df -h  
  2. Filesystem            Size  Used Avail Use% Mounted on 
  3. /dev/mapper/VolGroup00-LogVol00  
  4.                        18G  4.1G   13G  25% /  
  5. /dev/sda1              99M   13M   81M  14% /boot  
  6. tmpfs                 500M     0  500M   0% /dev/shm  
  7. /dev/hdc              3.9G  3.9G     0 100% /iso  
  8. [root@RHEL ~]# 

光盘介质(/dev/hdc)已经被成功挂在到了/iso下面。

看看光盘(ISO)中有些什么:

  1. [root@RHEL ~]# ls /iso  
  2. Cluster            README-te.html            RELEASE-NOTES-U8-en.html  
  3. ClusterStorage     README-zh_CN.html         RELEASE-NOTES-U8-es.html  
  4. EULA               README-zh_TW.html         RELEASE-NOTES-U8-fr.html  
  5. eula.en_US         RELEASE-NOTES-as.html     RELEASE-NOTES-U8-gu.html  
  6. GPL                RELEASE-NOTES-bn.html     RELEASE-NOTES-U8-hi.html  
  7. p_w_picpaths             RELEASE-NOTES-de.html     RELEASE-NOTES-U8-it.html  
  8. isolinux           RELEASE-NOTES-en          RELEASE-NOTES-U8-ja.html  
  9. README-as.html     RELEASE-NOTES-en.html     RELEASE-NOTES-U8-kn.html  
  10. README-bn.html     RELEASE-NOTES-es.html     RELEASE-NOTES-U8-ko.html  
  11. README-de.html     RELEASE-NOTES-fr.html     RELEASE-NOTES-U8-ml.html  
  12. README-en          RELEASE-NOTES-gu.html     RELEASE-NOTES-U8-mr.html  
  13. README-en.html     RELEASE-NOTES-hi.html     RELEASE-NOTES-U8-or.html  
  14. README-es.html     RELEASE-NOTES-it.html     RELEASE-NOTES-U8-pa.html  
  15. README-fr.html     RELEASE-NOTES-ja.html     RELEASE-NOTES-U8-pt_BR.html  
  16. README-gu.html     RELEASE-NOTES-kn.html     RELEASE-NOTES-U8-ru.html  
  17. README-hi.html     RELEASE-NOTES-ko.html     RELEASE-NOTES-U8-ta.html  
  18. README-it.html     RELEASE-NOTES-ml.html     RELEASE-NOTES-U8-te.html  
  19. README-ja.html     RELEASE-NOTES-mr.html     RELEASE-NOTES-U8-zh_CN.html  
  20. README-kn.html     RELEASE-NOTES-or.html     RELEASE-NOTES-U8-zh_TW.html  
  21. README-ko.html     RELEASE-NOTES-pa.html     RELEASE-NOTES-zh_CN.html  
  22. README-ml.html     RELEASE-NOTES-pt_BR.html  RELEASE-NOTES-zh_TW.html  
  23. README-mr.html     RELEASE-NOTES-ru.html     RPM-GPG-KEY-redhat-beta  
  24. README-or.html     RELEASE-NOTES-ta.html     RPM-GPG-KEY-redhat-release  
  25. README-pa.html     RELEASE-NOTES-te.html     Server  
  26. README-pt_BR.html  RELEASE-NOTES-U8-as.html  TRANS.TBL  
  27. README-ru.html     RELEASE-NOTES-U8-bn.html  VT  
  28. README-si.html     RELEASE-NOTES-U8-de.html  
  29. README-ta.html     RELEASE-NOTES-U8-en  
  30. [root@RHEL ~]# 

——

To be continue