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.
I had the same problem someone else on this board did, however that solution didn't work. Here is what the problem is:
ls -l /dev/cdrom
lr-xr-xr-x 1 root root 16 Feb 23 19:14 /dev/cdrom (flashes red)-> ../cdroms/cdrom0(flashes red)
The advise that was offered was to do the following code, which I did:
rm /dev/cdrom && ln -s /dev/hdc /dev/cdrom
This however returned:
ln: `/dev/cdrom': File exists
Which is weird, because I just removed it supposedly. So when I go into the directory using KDE (under dev) the icon for cdrom is the questionmark with a big lock on it, and it says the file type is unknown (though it has an arrow like it is a link). So I thought, ok, I'll delete it and then make the new link, no problem. Well when I delete it and try to make the link with the code ln -s dev/hdc /dev/cdrom it gives the same response, saying the file exists. An low and behold when I refresh the directory it's back! Apparently I just can't delete it. When I just click on it, it says I don't have permission. How do I remove this faulty link and put in the correct one?
One thing that I might have done to mess it up is that initially I typed (forgot the space):
rm /dev/cdrom && ln -s /dev/hdc/dev/cdrom
Would that really have screwed all this up, or is it something else? Any help you can give is greatly appreciated!!
that's the big problem here--I think, it WON'T remove it, even when it appears to have removed it, when I go back to the directory later it is back. I've tried rm from the command line, I go into kde and delete it, I even tried just renaming it but when I say:
ln -sf /dev/hdc /dev/cdrom
it says:
ln: creating symbolic link '/dev/cdrom' to '/dev/hdc': file exists
and then when I go back to my dev directory that locked cdrom link is back again. I tried just clicking on the link to see what it would do and it says:
"You do not have enough permissions to read file:/dev/cdrom"
I am in root, which I thought was the highest level of permissions? When I check the permissions on the file all the boxes are checked under read write and execute for all three. The user is listed as root and the group is listed as root.
Is there some sort of "override" or someting that I need to do to seriously stop this locked link from coming back so I can make the new one?
I really appreciate your help with this frustrating problem!! Thanks!!
The /dev/cdrom link points to ../cdroms/cdrom0
There is no /cdroms/cdrom0, the link flashes red.
There is however a /dev/cdroms/cdrom6@ which points to ../ide/host0/bus1/target0/lun0/cd
I tried changing the device under kscd to point to something else and every time it gives a signal 11
If anyone has...or already found a solution, or any ideas i could try that'd be sweet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.