[School-GNU-Linux] Cannot add CDROM with synaptic

Dear All,

If you got an error message "CDROM cannot be mounted" in Synaptic
Package Manager and the CD is opening automatically when inserting it
(ie you can copy files from the CD, but cannot use it with synaptic)
try the following steps.

1) Find the CDROM device name with the command eject -n
2) open a root terminal
3) execute the command: gedit   /etc/fstab
4) in the /etc/fstab find the line for cdrom
5) check the device name of the CDROM is what you get with the command eject -n
6) If it is not, please change the device to what you get with eject -n

Example:

the output of eject -n : eject: device is `/dev/hda'
so my cdrom device is /dev/hda
My /etc/fstab:
/dev/sda1 /                          ext3             defaults
              0  0
/dev/hdb   /media/cdrom0  udf,iso9660  user,noauto                 0  0

find the line with cdrom in it. In my case it is the second line.
The device name here is /dev/hdb. Which is different from what i got
with the eject -n command
so I Have to change the /etc/fstab entry for CDROM as
/dev/hda   /media/cdrom0  udf,iso9660  user,noauto                 0
0 and save the file.

reboot the system.

-- 
Free Software, Free Society
സ്വതന്ത്ര സോഫ്​റ്റ്​വെയര്, സ്വതന്ത്ര സമൂഹം
<http://fsfs.hipatia.net>

Other related posts: