Subscribe:

Ads 468x60px

Pages

Thursday, August 11, 2011

To mount cdrom in Linux


Create a mount point
# mkdir /media/data


Temporarliy mounting cdrom to mount point
# mount -t iso9660 /dev/sdc0 /media/data


Permanently mounting cdrom to mount point
# vim /etc/fstab
/dev/sdc0 /media/data iso9660 ro,user,noauto 0 0 
:wq


umounting cdrom
# umount /dev/sdc0


If unable to unmount the cdrom
# fuser -mk /dev/sdc0


To eject the cd from cdrom drive
# eject


Troubleshooting:
Testing for iso9660 filesystem is support or not in your linux system.


To search for loaded kernel modules with lsmod command or by reading a content of /proc/filesystem file
# cat /proc/filesystems | grep iso9660
or
# lsmod | grep iso9660

0 comments:

Post a Comment