July 1, 2007
How I mount my CDROM drive contents in linux operating system?
- you can use
# mount /media/cdrom
or
# mount /mnt/cdromone of these must do this for you..
Regards,
Mohit
- well, what version of Linux are you runnig?
most newer Linux distros have a control panel that allow you to have the computer mount the cdroms, etc automatically at startup.
PCLinuxOS is one of the best for this, it's control panel is one of the best around.
for the most basic way, go to a command line and type
mount /dev/cdrom
to make it mount automatically, there should be a file inthe etc folder called fstab
go to /etc/fstab in a program like vi, cream, kwrite, kate, pick your editor
if your distro has found your cdrom, it will be listed in the fstab file. it may be commented out ( have a # sign in front of the words.
simply remove the # sign, and make sure you have automount in the listing with your cdroms info. for example
# cdrom: LITE-ON DVDRW SHW-160P6S
/dev/hdc /mnt/cdrom auto user,exec,ro,noauto 0 0
# cdrom: Pioneer DVD-ROM ATAPIModel DVD-115 0111
/dev/hdd /mnt/cdrom2 auto user,exec,ro,noauto 0 0notice the lines that start with /dev have no hash in front they also include auto then user, which mounts the cdrom automatically and that any user can mount a drive.
hope this helps























