Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-08-2006, 08:14 PM
|
#1
|
Member
Registered: Nov 2005
Posts: 61
Rep:
|
Linux "Error CD"
Dear Forum Members - I don't quite know where to post this - It goes like this: Just installed a DVD Rom RW in PC. Currently learning to use Xandros 3.0 on this Unit. Cannot get Audio CD to play. ERROR CD - "Unable to initialize CD-Rom for playback. Make sure you have permission to access the device(/dev/hdc) and an audio CD in drive?" That last part, I understand, and yes I do have an audio cd in drive. However, thats all I get . Is there somebody that can assist with sorting this out for me. Thank you so very much with your assistance. pepper
|
|
|
04-09-2006, 01:05 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
BY providing more detail about what is causing the problem, you will get a more acurate response. Without the proper information I can only attempt to guess at what the problem is. Did you mount your cdrom drive to a mount point? If so, where and how? If you did not, switch over to root by typing su and then try:
Code:
mount /dev/cdrom /mnt/cdrom
I'm not sure how familure you are with linux but all storage devices must be "assigned a folder" called a mount point. If you want to access the files on that device you would simply change to the directoy where it is mounted. The standard is to mount the cdrom to /mnt/cdrom, the floppy to /mnt/floppy, ..etc.
If you allready did that, then the problem is possibly a permissions error. If that is the case, make sure there is a line in your /etc/fstab that reads like this:
Code:
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
the "user" part would allow any user on your system to mount that type of device. If you don't want that, replace "user" with "owner" and only root will be able to mount the drive.
If you are still having problems with this, try to provide more information and I would be happy to help.
regards,
...drkstr
Last edited by drkstr; 04-09-2006 at 01:08 AM.
|
|
|
04-09-2006, 09:53 AM
|
#3
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,814
|
Actually if it's an audio CD then you shouldn't mount it, there's no file system on it. see http://jamesthornton.com/linux/Intro...ect_07_04.html
I'd say the first thing to do is check the permissions on /dev/hdc. This is the file that is associated with the cd drive. To this run ls -l /dev/hdc. I get
brw-rw---- 1 root cdrom 22, 0 2006-04-09 05:43 /dev/hdc
The b means it is a block device, ie not a normal file, the first rw means the owner can read and write, the second rw means users in the group can read and write. The owner is root, and the group is cdrom. If you get something like this, it is likely that your user account is not a member of the cdrom group, which is why you don't have permission to access the CD. To add yourself to the cdrom group, run su, enter root password, then open the /etc/group file in your favourite text editor. Find the line with cdrom:x:24: (or possibly some other number) and add your user name to the end of it.
|
|
|
04-09-2006, 12:08 PM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Thanks for the correction ntubski, I don't have a sound card so I've never attempted to mount an audio CD. I will keep that in mind if I ever get one.
thanks!
...drkstr
|
|
|
04-09-2006, 09:55 PM
|
#5
|
Member
Registered: Nov 2005
Posts: 61
Original Poster
Rep:
|
Dear Sir - You wrote:
Did you mount your cdrom drive to a mount point? If so, where and how? If you did not, switch over to root by typing su and then try:
Code:
mount /dev/cdrom /mnt/cdrom
Can't help you much there as I'm not familiar with a mount point?
I'm not sure how familure you are with linux but all storage devices must be "assigned a folder" called a mount point. If you want to access the files on that device you would simply change to the directoy where it is mounted. The standard is to mount the cdrom to /mnt/cdrom, the floppy to /mnt/floppy, ..etc.
Not too familiar - but was able to find the control panel. I presume that xandros would automatically detect & install the DVD Rom & that I could live happily ever after Thank you for your input as I have much to learn.
|
|
|
04-09-2006, 10:08 PM
|
#6
|
Member
Registered: Nov 2005
Posts: 61
Original Poster
Rep:
|
Dear Sir - You Wrote: It's a DVD Rom and I presume that it could play Audio CDs. Here again I thought that the hardware would automatically be detected & installed by Xandros. You got newbie senior when you use the term mounted??? Have no clue!
Quote:
Originally Posted by ntubski
Actually if it's an audio CD then you shouldn't mount it, there's no file system on it. see http://jamesthornton.com/linux/Intro...ect_07_04.html
I'd say the first thing to do is check the permissions on /dev/hdc. This is the file that is associated with the cd drive. To this run ls -l /dev/hdc. I get brw-rw---- 1 root cdrom 22, 0 2006-04-09 05:43 /dev/hdc. I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??
The b means it is a block device, ie not a normal file, the first rw means the owner can read and write, the second rw means users in the group can read and write. The owner is root, and the group is cdrom. If you get something like this, it is likely that your user account is not a member of the cdrom group, which is why you don't have permission to access the CD. To add yourself to the cdrom group, run su, enter root password, then open the /etc/group file in your favourite text editor. Find the line with cdrom:x:24: (or possibly some other number) and add your user name to the end of it.
|
Thank you also for your input I can see I have much too learn concerning Linux.
Pepper
|
|
|
04-10-2006, 10:11 AM
|
#7
|
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,814
|
Quote:
Originally Posted by pepperwood
I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??
|
Sorry, I'll try to explain more clearly. First launch a terminal (konsole or xterm) then type
and hit enter. This is what I meant by running ls -l /dev/hdc.
It might also be possible to view and change the permissions from your graphical file manager, unfortunately I don't how it works.
PS: don't put your answer inside the [quote] tags, I nearly missed what you said.
|
|
|
04-10-2006, 02:00 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Quote:
I know how to launch program. Can go to the control panel. I cannot locate permissions tab as you call it??
|
I just wanted to interject something. It sounds like your pretty new to linux and have not yet gotten familiar with the command prompt. I would take some time to learn a little bit about linux commands on the console. The console is the heart of linux and you will not be able to do everything you need in the windows manager alone. Also, most of the replies you will get on this forum will give you instructions that need to be done at the command prompt. To open a console, just find the program your windows manager uses to open a command prompt. Under KDE its under system->Konsole. If you can't find a suitable one you can just run the command xterm. I warn you though, xterm is very basic and not very friendly to use. A lot of commands need to be run as root. To switch over to root (Administrator) just type su ath the command prompt and enter in the root password. I just wanted to expand on this a bit since it is a common problem with people used to working in a windows enviroment.
This is a good document to read when first starting linux. It explains a lot about how to use the command prompt.
http://tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html
Once you are comfortable working on the console, follow the directions ntubski has given you to get your CD working.
regards,
...drkstr
Last edited by drkstr; 04-10-2006 at 02:03 PM.
|
|
|
04-10-2006, 08:25 PM
|
#9
|
Member
Registered: Nov 2005
Posts: 61
Original Poster
Rep:
|
[QUOTE=ntubski]Sorry, I'll try to explain more clearly. First launch a terminal (konsole or xterm) then type
and hit enter. This is what I meant by running ls -l /dev/hdc.
It might also be possible to view and change the permissions from your graphical file manager, unfortunately I don't how it works.
PS: don't put your answer inside the
Quote:
tags, I nearly missed what you said.
|
It happens that I'm not only new to the linux console, as I believe it is referred to, but I'm also trying to learn how to post to our forum.  When I get some confidence I will start up xandros and launch a terminal then type in the [code] as you posted it and see if I can get the permission that is required. Thanks for your patience. pepper
|
|
|
04-10-2006, 08:44 PM
|
#10
|
Member
Registered: Nov 2005
Posts: 61
Original Poster
Rep:
|
Quote:
Originally Posted by drkstr
I just wanted to interject something. It sounds like your pretty new to linux and have not yet gotten familiar with the command prompt. I would take some time to learn a little bit about linux commands on the console. The console is the heart of linux and you will not be able to do everything you need in the windows manager alone. Also, most of the replies you will get on this forum will give you instructions that need to be done at the command prompt. To open a console, just find the program your windows manager uses to open a command prompt. Under KDE its under system->Konsole. If you can't find a suitable one you can just run the command xterm. I warn you though, xterm is very basic and not very friendly to use. A lot of commands need to be run as root. To switch over to root (Administrator) just type su ath the command prompt and enter in the root password. I just wanted to expand on this a bit since it is a common problem with people used to working in a windows enviroment.
This is a good document to read when first starting linux. It explains a lot about how to use the command prompt.
http://tldp.org/HOWTO/DOS-Win-to-Linux-HOWTO.html
Once you are comfortable working on the console, follow the directions ntubski has given you to get your CD working.
regards,
...drkstr
|
The how to Link is something that I most certainly need and should prove very helpful with  In time hoping to become somewhat familiar with Xandros & other Distros. Like what I see with Xandros but have a ways to go to become Microsoft OS free. Rather anxious to follow up on the directions ntubski enclosed. If it works It'll make my day and than some.  cordially, pepper
|
|
|
All times are GMT -5. The time now is 03:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|