How to Mount CDROM Media on CentOS 5/CentOS 6/CentOS 7

Question :
How to mount CDROM/DVDROM media on linux CentOS server ?

Solution :
In certain situations, system administrators will need to mount cdrom containing the installer or data on linux CentOS or RHEL. Once cdrom mounted, they can access the data in the media discs directly. For reference, here is the easy way to do it through the command line on Linux CentOS 5 or CentOS 6 or CentOS 7 :

Note : This example will mount the device /dev/cdrom to /mnt.

[root@centos6 ~]# mount /dev/cdrom /mnt

Examples :

[root@centos6 ~]# mount /dev/cdrom /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only

Comments

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *