| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 57980 | 2005-05-18 03:02:00 | Mandrake Linux /mnt/cdrom access denied | BaY (8144) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 356158 | 2005-05-18 03:02:00 | I have an Asus A7VC with Mandrake Linux 9.0 and KDE Desktop. After loading a cd (a Pimsleur language) into the drive and clicking on the Removable Media icon on the desktop, the next screen gives a choice of CD or Floppy (the floppy works fine). Click on this CD icon and I get "unable to enter file:/mnt/cdrom. You do not have access rights to this location". A right click on the Removable Media icon on the desktop shows the permissions as rwx rwx rwx. I am an absolute beginner with Linux and have tried what little I know or could find relevant that I could understand eg... Opening a terminal as su - and typing /mnt/cdrom gives the reply : -bash: /mnt/cdrom : is a directory typing mount /dev/cdrom /cdrom gives the reply mount: mount point /cdrom does not exist typing mount /dev/cdrom /mnt/cdrom gives the reply mount: block device /dev/cdrom is write-protected, mounting read-only mount:: no medium found typing mount /dev/hdb /mnt/cdrom gives the reply mount: block device /dev/hdb is write-protected, mounting read only mount: no medium found I am at a loss and any help would be appreciated. Any reply would need to be spelled out - if one assumes that I know nothing then one wouldn"t be far wrong. |
BaY (8144) | ||
| 356159 | 2005-05-18 03:51:00 | The mount point is just a directory in the file system. It is called /mnt/cdrom. It's just like any other directory. You can write files to it with no problems if there is no CD mounted. But they will "disappear" while a CD is mounted. The CD drive is a hardware device, so it is not a "directory"; it's a node, prabably called /dev/cdrom. In fact, that name will probably be a symbolic link to the actual hardware address, maybe "/dev/hdc" (if it's the master device on the second IDE bus). (Ooops ... i've just noticed that it's /dev/hdb on your machine ... so its the slave device on the first IDE bus). A manual mount command needs to specify one of the names used in the record in the etc/fstab file to work. That's why only the last two varaints you tried worked. ;) Have a look at /etc/fstab. You may see an "supermount" keyword in the line which defines trhe cdrom device. That means that any disk you insert will be automatically mounted, and you would see an icon for it appear on your home ("desktop") page in the GUI. The "write-protectected, mounting read only" is normal; that's quite right for a CD. The "mount: no medium found" is a real error message. It can't see the CD. Try the command again (which is probably taking a while?) , then in the terminal, do tail -20 /var/log/messages. That will probably show you some "serious" error messages from the I/O system while it's trying to find a CD in the drive. (That command will need to be run as root (su - or sudo). I suspect there's something wrong with the CD you are trying to read. |
Graham L (2) | ||
| 356160 | 2005-05-18 05:44:00 | Graham L Thanks for your reply. The line in /etc/fstab with "supermount" in it is none /mnt/cdrom supermount dev=/dev/hdb, fs=auto, ro, --, iocharset=iso 8859, codepage=850, umask= 0 0 0 I did the tail -20 /var/log/messages and there were two lines of 15:31:29 locolhost kernel : lp0 on fire 15:33:26 localhost kernel : lp0 on fire Does this mean anything to you? |
BaY (8144) | ||
| 356161 | 2005-05-18 06:12:00 | "lp0 on fire" is a very old Unix joke. It means that there is some "unknown" error with the printer. Any "good" CD should be mounted automatically with fstab set up like that. Sometimes a flakey one will cause a lot of retries, so the system log gets told about it. That one's not being seen at all. Try a mount command (with no options). I have seen (especially when I've been having troubles with CDs) a CD being mounted multiple times automatically. This can cause things to behave strangely. That's fixable with repeated umount /dev/cdrom commands. But I really think that your problem is a dud CD. Can you read it on another machine? (Or with another OS on the same machine? ;)) |
Graham L (2) | ||
| 356162 | 2005-05-18 08:03:00 | Hi, Tried a different cd but the results were just the same as previous. Entered the mount command and these are the results: /dev/hda1 on / type ext3 (rw) none on /proc type proc (rw) none on /proc/bus/usb type usbdevfs (rw) none on /dev type devfs (rw) none on /dev/pts type devpts (rw, mode=0620) /dev/hda6 on /home type ext3 (rw) none on /mnt/cdrom type supermount (ro, dev=/dev/hdb, fs=auto, --, iocharset=aso8859-1,codepage=850, umask=0 none on /mnt/floppy type supermount (rw, sync, dev=/dev/fd0, fs=auto, --, iocharset=iso8859-1, codepage=850, umask=0 none on /mnt/cdrom type supermount (ro, dev=/dev/hdb, fs=auto,--, iocharset=iso8859-1, codepage=850, umask=0) Am afraid this is way above my head. |
BaY (8144) | ||
| 356163 | 2005-05-19 05:23:00 | That means that the CD has been mounted . Twice . :groan: That is wrong . Try the umount command I gave you, until it says it isn't mounted . Then eject . Then reboot . That's a good way to clean the system up . Then put the CD in again . . You should see a CD icon appear on your desktop . ;) |
Graham L (2) | ||
| 1 | |||||