Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"mount: block device /dev/cdrom is write-protected, mounting read-only"
This is a normal warning message and can be ignored. Are there any other messages besides this one being displayed? The mount command without options will show you if the CD is being mounted. Make sure your not "in" the /mnt/cdrom directory when trying to mount the CD.
slackware 11.0 and i've tried several disks .. not only one so all kinds of files.
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
p.s. now i saw some kind of error : "mount: block device /dev/cdrom is write-protected, mounting read-only"
I assume that the above is from your fstab. According to this, it will not be mounted automatically, and can only be mounted by the owner. (Pretty sure that means the owner of the mount point.)
First, how do you know that /dev/cdrom is the right device? Are there some others in /dev? ...or in /dev/usb?
The first auto means the filetype is selected automatically. You might try using "iso9660" and see if that helps. The second "noauto" means that this line is ignored during bootup when the system runs "mount -a". You want this option for all removable media, because if a disc or usb pendrive isn't present, it can't be mounted and would cause the bootup to fail. Consider the possibility that the disc or drive is bad.
What kind of disc are you trying to mount. You don't mount music cd's. A program like xmms plays the disc from the raw device /dev/cdrom.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.