Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I looked up a few guides on google for getting the cdrom to work and followed them, but they did not seem to work.
I have a cdrw and a dvd rom. I am not sure how to get them working under debian.
What do I have to change to get it to make the cdrw and the dvd work? I have no idea what I was commenting out or anything so all suggestions are welcome.
Did you create the directories
/cdrw and
/dvd
for mount to mount them to?
Also, are they really called /dev/cdrw and /dev/dvd?
My cdrw is called
/dev/sr0
I find it strange, or amazing, if it does, that debian uses plain names for it's devices like /dev/cdrw, etc. How did you get the names? Do they show up in your hardware config. (I have never used debian, but assume that there is some kind of graphical hardware browser?)
Anyway, what happens when you put a data cd in, say, your cdrw and you mount /cdrw
I get: mount: you must specify the filesystem type
I followed this guide :
"Linux sees your first CD-ROM drive as /dev/hdc and second as /dev/hdd device. As root create the directories and the symbolic links like below
It looks like you are telling me conflicting things here. Do you have a SCSI system or IDE? The guide you mentioned, is telling you to make the sym links to IDE drives (/dev/hdc) but you say that your "cdrw was actually something like scd0 and scd1..." scd0 and scd1 are referring to SCSI devices 0 and 1.
Originally posted by shubb It looks like you are telling me conflicting things here. Do you have a SCSI system or IDE? The guide you mentioned, is telling you to make the sym links to IDE drives (/dev/hdc) but you say that your "cdrw was actually something like scd0 and scd1..." scd0 and scd1 are referring to SCSI devices 0 and 1.
An IDE CD-RW has to use the kernel's SCSI emulation in order to be writeable (otherwise, it's only readable). That's why they're symlinked to (pseudo-)SCSI device nodes. However, SCSI emulation also needs to be enabled in the bootloader in order to work. This is usually accomplished by adding an ide-scsi option for the relevant drive (if the kernel is 2.4 series), or an ide-cd option (if the kernel is 2.6 series).
Depending on the version of Debian in question, the kernel may need to be recompiled, or the bootloader configuration may need to be adjusted --or both-- in order for the drive to be recognized as writeable.
SCSI emulation support is compiled into the kernel already, so you don't have to do anything to get it. The ide-cd module should load by default, though you might have to tell cdrecord which drive is using it.
Did you mount the CD-ROM drive before trying to read it? I assume that your nick indicates that you're using RedHat, and I don't think RH automounts or supermounts CD-ROM drives.
Do you know how your system is cabled? The reason that the guide said that the CD-ROM is seen by Linux as /dev/hdc is because the most common location for the CD-ROM drive is the master device on the secondary IDE channel (which device is always seen by Linux as /dev/hdc). But if your drive is the slave device on the primary IDE channel, it's /dev/hdb. If it's the slave device on the secondary IDE channel, it's /dev/hdd. So the guide is kind of misleading.
But it's easily fixed if you reboot and check your BIOS for the detected devices, so that we know which device is which.
[QUOTE]Originally posted by motub
This is usually accomplished by adding an ide-scsi option for the relevant drive (if the kernel is 2.4 series), or an ide-cd option (if the kernel is 2.6 series).
Interesting that I was using 2.6.0 for some time with the hdc=ide-scsi on lilo instead of ide-cd without any problems.. But now that i've upgraded to 2.6.6 i've been having problems with that since the kernel identifies my cdrw as hdc... maybe putting ide-cd will fix it, but why would it be working before w/ ide-scsi then?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.