On Fri, Jan 04, 2002 at 09:03:04PM +0530, srinivas wrote:
> 
> I am using PCQLinux 7.1. Please excuse if my problem seems 
> very trivial since I am a newbie. Well, anyway the problem 
> is that I am not able to mount any  cdroms in Linux.  I am 
> getting the following error message each time I use either 
> use the 'mount' command or the desktop icon. 
> 
> mount: wrong fs type, bad option, bad superblock on 
>        /dev/cdrom, or too many mounted file systems
> 

I am writing this detailed so that the principles are under-
stood. Unfortunately when you learn on a user-friendly  mod-
ern distro, you are the treated  almost  the same  way as M$
treats you ... does everything but tells you nothing.

1) Your CD-ROM needs to be recognised by your kernel.
   If you do "dmesg | less" you will see a line like:
   hdd: SAMSUNG CD-ROM SC-152C, ATAPI CDROM drive

2) Note this hdd or hdc or whatever.
 
3) Check what your /dev/cdrom points to.
   do 'ls -al /dev/cdrom' you will see something like:
   lrwxrwxrwx   1 root  ...  /dev/cdrom -> /dev/hdd

4) If it is pointed correctly, subsequent referencing will
   have no problems (provided permissions are okay)
   
5) You need a mount point to be present. See if you have a
   dir called /mnt/cdrom. Permission of 755 is adequate.
  
6) The full mount command is:
   mount -t iso9660 /dev/cdrom /mnt/cdrom
   
7) Please note that mounting/ unmounting devices is a root
   function, you need to su to root for this. There  are a
   few methods of user mounts, and even shortcuts,  and  a
   simple command like "mount /mnt/cdrom" as an user would
   do the trick. This bit is  detailed for a full explana-
   tion. Have a look LOST #010  below for a summary. 

8) The desktop icon you are referring to is probably KDE.
   I admit my ignorance on this score ...
      
HTH

Bish   

--
:
####[ Linux One Stanza Tip (LOST) ]############################

Sub : User CDROM mount                               LOST #010

This is a security issue ....  NOT recommended unless it is on
a stand alone box.  Make the following changes to  /etc/fstab,
(where the mount point is /cdrom).  Then, $mount /cdrom ... as 
an user will do the trick          

/dev/cdrom /cdrom iso9660 defaults,nosuid,nodev,noauto,user 0 0

####<[EMAIL PROTECTED]>#####################################
:
     

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to