DebianThis forum is for the discussion of Debian Linux.
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.
Is your cdrom an IDE drive or a SATA drive? If it's IDE it will be something like /dev/hd*. If it's a SATA cdrom it will probably be something like /dev/sd*.
Assuming that your drive is an IDE drive, first determine whether it is a primary/secondary master/slave.
When you mount a device, you can mount it wherever you want. So try this out: If the following directory doesn't exist, issue the command:
mkdir /mnt/cdrom
Now try the following command:
mount -t auto /dev/hdX /mnt/cdrom #where hdX is based upon the chart above
If that fails, try:
mount -t iso9660 /dev/hdX /mnt/cdrom
But how do I determine wheter that it is primary/secondary master/slave
I tried the commands and again tried mounting cdrom. But the system returned
/dev/cdrom already mounted or too busy. But i cannot unmount the drive, the system says cdrom not mounted
I checked the /etc/fstab. There is an entry
/dev/sda /media/cdrom udf iso9660 user, noauto 00
There is no primary/secondary master/slave with SATA.
Note that fstab does not tell you what is mounted--it is the mounting instructions that a) get used at startup, or b) get used when you issue a "mount" command without specifying all parameters.
mtab tells you what is already mounted.
In your case, the "noauto" entry means that the CD won't be mounted automatically, and that you you can mount it by entering either the device name or mount point in the "mount" command.
Note that most modern distros will automatically mount a CD or DVD whenever media is inserted. When you get the "already mounted" message, that could mean it is....already mounted.
Re-boot the machine (no CD in the drive), look in /media and see what entries are there. Then, what happens when you simply insert a CD? For example, an icon might appear on your desktop.
finally, "dmesg|grep CD" (or grep DVD) should confirm what device names are assigned to your optical drives
A couple questions for you:
1. Are you trying to mount a CD or a DVD?
2. If it's a CD, is it an audio CD or a data CD?
3. Have you tried another CD yet? Maybe the particular CD that you are trying to read is bad, or maybe the drive is bad.
It looks more like that your CD-ROM works but when you try to isntall anything from it apt is looking in the wrong place. Try just putting a normal data CD in there and open /media/cdrom
I don't think that there is something wrong with my hardware(cd drive). I have windows and ubuntu 7.04 installed and the cd drive is workingn very well with them.
Is there any thing wrong with the kernel. The kernel i am using is
2.6.16k smp
I don't think that there is something wrong with my hardware(cd drive). I have windows and ubuntu 7.04 installed and the cd drive is workingn very well with them.
Is there any thing wrong with the kernel. The kernel i am using is
2.6.16k smp
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.