Announcement

Collapse
No announcement yet.

How Do I Fix This Cdrom Error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How Do I Fix This Cdrom Error

    Hi,

    Yesterday I was using my cdrom just fine I was installing a program with Cedega. Now I just did a couple of fixes I had asked about and restarted and now I get this error when I put a CD in.

    Here it is:

    file:///home/chris/Cd Rom Error.jpg

    Just in case it doesn't show the picture it says the following:

    Unable to enter file:///media/cdrom0. You don't have access rights to this location.

    I didn't change anything so I don't know why it is coming up with this error.

    Thanks for any help on this.
    Attached Files

    #2
    Re: How Do I Fix This Cdrom Error

    Possible problems:
    You aren't a member of the cdrom group.
    The fstab line doesn't include the option "user".
    The directory's permissions are something like rw-r----- (0640).
    For external use only.

    Comment


      #3
      Re: How Do I Fix This Cdrom Error

      Hi,

      I checked and I am a member of the cdrom group.

      Also under Disk and Filesystems it is set for any user to mount and unmount.

      How to I check or edit the fstab?

      Thanks for anymore help.

      Here is my mtab:

      /dev/hdc1 / ext3 rw,errors=remount-ro 0 0
      proc /proc proc rw,noexec,nosuid,nodev 0 0
      /sys /sys sysfs rw,noexec,nosuid,nodev 0 0
      varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
      varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
      procbususb /proc/bus/usb usbfs rw 0 0
      udev /dev tmpfs rw,mode=0755 0 0
      devshm /dev/shm tmpfs rw 0 0
      devpts /dev/pts devpts rw,gid=5,mode=620 0 0
      lrm /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
      /dev/hda1 /media/hda1 fuseblk rw,nosuid,nodev,noexec,noatime,allow_other,blksize =4096 0 0
      /dev/sda1 /media/sda1 fuseblk rw,nosuid,nodev,noexec,noatime,allow_other,blksize =4096 0 0
      /dev/sdc1 /media/sdc1 ntfs ro,noexec,nosuid,nodev,nls=iso8859-1,umask=000,uid=0,gid=0 0 0
      none /sys/kernel/config configfs rw 0 0
      nfsd /proc/fs/nfsd nfsd rw 0 0
      rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
      binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
      /dev/hdd /media/cdrom0 iso9660 ro 0 0


      Also my Fstab:

      # /etc/fstab: static file system information.
      #
      # -- This file has been automaticly generated by ntfs-config --
      #
      # <file system> <mount point> <type> <options> <dump> <pass>

      proc /proc proc defaults 0 0
      # Entry for /dev/hdc1 :
      UUID=9799842d-dd9e-4f6b-a9a5-c7b5071414d3 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
      # Entry for /dev/hdc5 :
      UUID=262bc1c0-b281-4b9c-82ad-64e683091e36 none swap sw 0 0
      /dev/hdd /media/cdrom0 auto users,atime,noauto,rw,dev,exec,suid 0 0
      /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
      /dev/hda1 /media/hda1 ntfs-3g users,user 0 0
      /dev/sda1 /media/sda1 ntfs-3g users,user 0 0
      /dev/sdc1 /media/sdc1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,auto,ro,users 0 0
      /dev/hdb1 /media/hdb1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,noauto,ro,users 0 0
      /dev/sdb1 /media/sdb1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,auto,ro,users 0 0


      Hope this helps from what I can see it looks like the two for some reason don't match as far as the cdrom goes. I could be wrong.

      Hope this helps in trying to fix my issue.


      Comment


        #4
        Re: How Do I Fix This Cdrom Error

        Hmm...
        Try changing the "users" options for the CD drive (line 12 in your fstab) to "user". I don't know if it makes a difference, but apparently the option is "user", not "users".
        For external use only.

        Comment


          #5
          Re: How Do I Fix This Cdrom Error

          Originally posted by SheeEttin
          but apparently the option is "user", not "users"
          Both are valid (but slightly different in effect).

          @cchester:

          What does ls -l /media result in (both with and without a disk "mounted")?

          Comment


            #6
            Re: How Do I Fix This Cdrom Error

            Hi,

            Here is what it said with no cdrom in drive after running ls -l /media.

            lrwxrwxrwx 1 root root 6 2007-06-04 06:25 cdrom -> cdrom0
            drwxr-xr-x 2 root root 4096 2007-06-04 06:25 cdrom0
            lrwxrwxrwx 1 root root 7 2007-06-04 06:25 floppy -> floppy0
            drwxr-xr-x 2 root root 4096 2007-06-04 06:25 floppy0
            drwxrwxrwx 1 root root 28672 2007-06-11 03:13 hda1
            drwxr-xr-x 2 root root 4096 2007-06-06 16:40 hdb1
            drwxrwxrwx 1 root root 53248 2007-06-11 03:11 sda1
            dr-xr-xr-x 1 root root 61440 2007-06-11 03:11 sdb1
            drwxr-xr-x 2 root root 4096 2007-06-06 16:39 sdc1

            Here is what it said with a cdrom in the drive after running ls -1 /media.

            lrwxrwxrwx 1 root root 6 2007-06-04 06:25 cdrom -> cdrom0
            drwx------ 6 400 401 4096 2005-10-13 21:24 cdrom0
            lrwxrwxrwx 1 root root 7 2007-06-04 06:25 floppy -> floppy0
            drwxr-xr-x 2 root root 4096 2007-06-04 06:25 floppy0
            drwxrwxrwx 1 root root 28672 2007-06-11 03:13 hda1
            drwxr-xr-x 2 root root 4096 2007-06-06 16:40 hdb1
            drwxrwxrwx 1 root root 53248 2007-06-11 03:11 sda1
            dr-xr-xr-x 1 root root 61440 2007-06-11 03:11 sdb1
            drwxr-xr-x 2 root root 4096 2007-06-06 16:39 sdc1

            Looks pretty much the same to me with a few differences but nothing to me that would explain anything.

            I am a little of a noob still in some aspects of Linux though.

            Thanks for anymore help.

            Comment


              #7
              Re: How Do I Fix This Cdrom Error

              Originally posted by cchester
              Looks pretty much the same
              No way! - While

              Code:
              drwxr-xr-x  root root  [...]  cdrom0
              means that all user are allowed to access the empty folder,

              Code:
              drwx------  400 401  [...]  cdrom0
              means that only root is allowed to access the mounted disk

              -if at all ... I'm still trying to get the idea behind [UID =] 400 / [GID =] 401

              Comment


                #8
                Re: How Do I Fix This Cdrom Error

                Hi,

                OK so then what should I do to fix this then. That is if I can. I am wanting to burn some things and install some things and I can't. I really need my drive back.

                Is my only solution to reinstall?

                Or can I copy my files that I don't want to loose to my NTFS data drive that I have or will that mess it up.

                I have the drivers installed for it I believe since I can mount them and see them.

                Thanks for anymore help.

                Comment


                  #9
                  Re: How Do I Fix This Cdrom Error

                  Originally posted by cchester
                  what should I do to fix this
                  Good question - my "best guess" for now:
                  try to re-set the mount point while in use

                  Code:
                  sudo chown root:root /media/cdrom0
                  sudo chmod 777 /media/cdrom0

                  Comment


                    #10
                    Re: How Do I Fix This Cdrom Error

                    Hi,

                    Ok I tried what you said and this is what I got.

                    sudo chown root:root /media/cdrom0
                    chown: changing ownership of `/media/cdrom0': Read-only file system

                    sudo chmod 777 /media/cdrom0
                    chmod: changing permissions of `/media/cdrom0': Read-only file system

                    Don't know if it did anything or not by the replys.

                    I tried to click on the drive to access the cd and got the same error still.

                    Ejected and reloaded and still same error.

                    Thanks for the help. Anymore thoughts?

                    Comment


                      #11
                      Re: How Do I Fix This Cdrom Error

                      Originally posted by cchester
                      Anymore thoughts?
                      - Try a different disk & try to access it as root (e.g. via [Alt][F2] kdesu konqueror);
                      - Post the system's feedback to the following commands: groups & ls -al /dev/hd*.

                      "Plan B":

                      change the according record in /etc/fstab to

                      Code:
                      /dev/hdd  /media/cdrom0  udf,iso9660  noauto,users  0  0
                      - then retry (read: remount) ...

                      Comment


                        #12
                        Re: How Do I Fix This Cdrom Error

                        Hi,

                        I tried Post the system's feedback to the following commands: groups & ls -al /dev/hd*

                        This is what I got :

                        brw-rw---- 1 root disk 3, 0 2007-06-11 18:27 /dev/hda
                        brw-rw---- 1 root disk 3, 1 2007-06-11 22:27 /dev/hda1
                        brw-rw---- 1 root disk 3, 64 2007-06-11 18:27 /dev/hdb
                        brw-rw---- 1 root disk 3, 65 2007-06-11 22:27 /dev/hdb1
                        brw-rw---- 1 root disk 22, 0 2007-06-11 18:27 /dev/hdc
                        brw-rw---- 1 root disk 22, 1 2007-06-11 22:28 /dev/hdc1
                        brw-rw---- 1 root disk 22, 2 2007-06-11 18:27 /dev/hdc2
                        brw-rw---- 1 root disk 22, 5 2007-06-11 18:27 /dev/hdc5
                        brw-rw---- 1 root cdrom 22, 64 2007-06-11 18:27 /dev/hdd

                        Oh by the way when I did Try a different disk & try to access it as root (e.g. via [Alt][F2] kdesu konqueror) I got a blank konqueror window so I did the command in a terminal window.

                        Plan B I did change the according record in /etc/fstab to /dev/hdd /media/cdrom0 udf,iso9660 noauto,users 0 0.

                        I get the same error I will reboot and see if it changes anything and post back.

                        Oh here is my new fstab:

                        # /etc/fstab: static file system information.
                        #
                        # -- This file has been automaticly generated by ntfs-config --
                        #
                        # <file system> <mount point> <type> <options> <dump> <pass>

                        proc /proc proc defaults 0 0
                        # Entry for /dev/hdc1 :
                        UUID=9799842d-dd9e-4f6b-a9a5-c7b5071414d3 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
                        # Entry for /dev/hdc5 :
                        UUID=262bc1c0-b281-4b9c-82ad-64e683091e36 none swap sw 0 0
                        /dev/hdd /media/cdrom0 udf,iso9660 noauto,users 0 0
                        /dev/fd0 /media/floppy0 auto user,atime,noauto,rw,dev,exec,suid 0 0
                        /dev/hda1 /media/hda1 ntfs-3g users,user 0 0
                        /dev/sda1 /media/sda1 ntfs-3g users,user 0 0
                        /dev/sdc1 /media/sdc1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,auto,ro,users 0 0
                        /dev/hdb1 /media/hdb1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,noauto,ro,users 0 0
                        /dev/sdb1 /media/sdb1 ntfs nls=iso8859-1,umask=000,uid=0,gid=0,auto,ro,users 0 0


                        Comment


                          #13
                          Re: How Do I Fix This Cdrom Error

                          Hi,

                          Nope restarting my computer did nothing either.

                          This is nuts. I don't know how this changed and it seems like it can't be fixed.

                          The only thing I can think of is I had installed Wine installed one program then this problem started I uninstalled Wine just in case but it did nothing to help either. Wine couldn't have done anything could it?

                          Do I need to change my /etc/mtab. Are they supposed to match?

                          Any more thoughts?

                          Thanks for any more help.

                          Comment

                          Working...
                          X