Find

How to Mount CD-ROM in Linux

How to Mount CD-ROM in Linux

Finding out your CD/DVD names in Linux
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
hdc: ATAPI 1X DVD-ROM DVD-R-RAM CD-R/RW drive, 32kB Cache, UDMA(33)

Syntax to mount DVD / CDROM in Linux

The syntax is:
# mount -t iso9660 -o ro /dev/deviceName /path/to/mount/point


 Create a mount point, type mkdir command as follows:
# mkdir -p /mnt/cdrom

 Mount /dev/cdrom or /dev/sr0 as follows:
# mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
 OR
# mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom

How do I unmount CD-ROM or DVD on Linux?

Type the following command as the root user:
# umount /cdrom
 OR
# umount /dev/cdrom
 OR
# umount /mnt/cdrom