I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom!
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom!
A bit ago, my cd drives stopped working, the system (Suse Linux 10) stopped recognizing them, and when I clicked on the icon for them it'd say only root can mount.. blah blah blah.
So, I manually mounted them as root with "mount -t iso9660 /dev/dvd /media/dvd -r" or somesuch and it worked, though badly, for some time.
Now not even that works, because there's no /dev/hdc or /dev/hdd or /dev/cdrom or /dev/cdrecorder or any of the things that used to be in /dev relating to my CD drives.
And I'm absolutely and totally lost with no idea what to do, I know I'm going to have to reinstall soon unless I can fix this, because I need to access my CD drives.
"mount -t iso9660 /dev/dvd /media/dvd -r" or somesuch
Did you mean - mount -t iso9660 /dev/hdc (or /dev/hdd)??? What does /etc/fstab contain for your removable media i.e. /media/cdrom or /mnt/cdrom or /mnt/cdwriter or /media/blah blah blah. If issuing the correct mount command still gives no joy, shutdown and check your cables. You could swap the motherboard IDE cables to your removable media and harddrives, but depending on the situation you could blow the other IDE channel, so be forewarned.
If you've got no removable media how are you going to reinstall?
Originally posted by nonzero Did you mean - mount -t iso9660 /dev/hdc (or /dev/hdd)??? What does /etc/fstab contain for your removable media i.e. /media/cdrom or /mnt/cdrom or /mnt/cdwriter or /media/blah blah blah. If issuing the correct mount command still gives no joy, shutdown and check your cables. You could swap the motherboard IDE cables to your removable media and harddrives, but depending on the situation you could blow the other IDE channel, so be forewarned.
If you've got no removable media how are you going to reinstall?
/dev/hdc is the first drive on the second ide interface
/dev/hdd is the slave on the second ide interface
If /etc//fstab is not correct the kernel will refuse to mount the drive no matter what you type on the command line. Givning you errors exactly or similar to what you are experiencing.
I do not know why the likes of RedHat and Suse decided to jack with /etc/fstab dynamically during boot but they do and sometines things go awry. autofs and automount suck IMHO. But, I guess we've got to give Windows users whaterver they are familiar with.
I managed to get SuSE to recreate the /dev entries, and now I can run the cd drives if I mount them manually!
Now, the question is, how do I configure them so they'll mount so I can view them when I insert a CD, and automatically unmount when I press the button on the cd drive (default SuSE behavior)? While it might not be for everyone, I'd rather not type the exact same command in on the command line 10-20 or more times a day. I'd just like the default behavior for CD's. Relevant portions of my current etc/fstab is as follows:
If it does than mybad. If it doesn't your /etc/fstab formatting is off, first of all. Second you have two entries for /dev/hdd /media//dvd and two different entries pointing to the same mountpoint (/media/cdrecorder). If what I have said is confusing have a look at;
To get an idea of what I am talking about. Again, find out what the master removable drive is, I am assuming it will be /dev/hdc /media/cdrecorder and the slave will be /dev/hdd /media/dvd. Then edit /etc/fstab as follows;
Also, make sure you actually have mountpoints (directories) under /media as /media/cdrecorder and /media/dvd.
Another thing I have had problems with is using a cable select cable on the drives. I'm still a jumper sort of guy and straight up IDE cables have never failed me. Oh well, just trying to help.
It was just formatting when I posted it, the etc/fstab's correct.
The error message I'm getting when I clck on the dvd drive (only root can mount /dev/hdc on /media/cdrecorder) makes me think it might be a permissions problem. ls -la shows the following:
linux:/media # ls -la dvd
total 0
drwxrwxrwx 2 root root 6 2005-10-22 17:25 .
drwxr-xr-x 5 root root 51 2005-11-07 13:22 ..
linux:/media # ls -la /dev/hdd
brw------- 1 illidan disk 22, 64 2005-11-15 02:34 /dev/hdd
As I said make the changes mentioned above to /etc/fstab and try again, you do not have to reboot. Then we will see about permissions. You can save a copy of your original /etc/fstab as /etc/fstab.orig.
Yes that is what I was hoping to get you to try. Adding those two lines below the four above it after commenting (remarking) out the four old lines with the '#' sign. As an additional precaution, before editing I would have you copy /etc/fstab to /etc/fstab.orig. You will need to be root to do this. Without rebooting you should then be able to issue 'mount /dev/hdc' and see your files on a mounted data CD under /media/cdrecorder and conversely 'mount /dev/hdd' would let you see files on a DVD under /media/dvd.
Your /etc/fstab instruction lines are rather busy for my comfort, I subscribe to the KISS principle. So my entries are more like;
But, let's not confuse the issue any more than we have to at this point. Maybe those two changes will at least allow you to mount the drives manually and possibly automount will come back. If not, you drill down a little deeper. To your benefit you are not trying to do something really hard like trying to configure a Lexmark printer under Linux!
and tell us what happened when you try and mount from the command line. The 'user' option in the above lines should allow all users to mount those two drives. I also changed 'ro' to 'rw' for /dev/hdc since it is a writable device.
I still get the "only root can do that" message if I try to mount / umount as user from the command line, but it now automounts and unmounts so everything's fine!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.