How to solve the problem that CentOS Linux can't mount the CD-ROM drive

  
 

One day, one meter of sunshine started to play CentOS Linux (CentOS is the abbreviation of Community Enterprise Operating System, the CentOS community downloads all the source code on Redhat's website and recompiles it. After recompilation, due to AS/ES /WS is a commercial product, you must change all Redhat logos and logos to your own CentOS logo. For example, after compiling the original SRPM source code of AS4, it becomes CentOS 4.0. After compiling the source code of AS4Update1, it becomes CentOS4.1. Similarly, CentOS 3.x/4.x corresponds to the corresponding version.) Installing CentOS Linux is exactly the same as installing RedHat. My installation environment: the host uses VMware ESX3.5 U2, and then install CentOS Linux 5.2. After the installation is completed, one meter of sunlight is trying to compile and install Apache through the RPM package inside the CD, and the point of mounting the CD-ROM drive piece of cake. Problem Description: Execute the mount /dev/cdrom command to mount the CD-ROM. The following error message appears: can& rsquo;t find cdrom in /etc/fstab or /etc/mtab The following is a solution for one meter sunshine: one: execute mkdir /media/Cdrom>>>>>>>>>>>>>>>>>New cdrom under mnt (if you are using mount /mnt/cdrom Use mkdir /mnt/cdrom to mount the CD-ROM drive. 2. Add the CD-ROM load command vi /etc/fstab to the fstab file. Add the following line /dev/cdrom /media/cdrom auto ro,noauto,user. Exec 0 0 >>>>>>>>>>>>> (corresponding modification /media/cdrom to /mnt/cdrom) 3: Restart with init 6 Mount the CD-ROM drive with mount /dev/cdrom after the computer is turned on. That's it! Note: In RedHat 9.0, the CD-ROM drive is mounted to /mnt/cdrom by default. I don't know if you use mount /dev/cdrom to mount to /media/cdrom by default.

Copyright © Windows knowledge All Rights Reserved