Linux - Newbie This 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.
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.
|
 |
|
09-02-2003, 12:24 PM
|
#1
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Rep:
|
cd mounting issues
i recently reinstalled RH9 from the cdrom, so thus my cd-drive does actually function correctly. however, when i put in a music cd, nothing happens. usually i would expect the cd to mount automatically.
when i try to mount it manually...
# mount /dev/hdc /mnt/cdrom/
mount: /dev/hdc is not a valid block device
my fstab entry for that device is as follows (one line):
/dev/hdc /mnt/cdrom udf,iso9660 noauto,user,kudzu,ro 0 0
i also notice that i have no /dev/cdrom defined. is this of significance?
THANKS
|
|
|
09-02-2003, 12:39 PM
|
#2
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
try a program such as
gcd
or
grip
|
|
|
09-02-2003, 12:42 PM
|
#3
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
tried to run grip...
$ grip
Error: Unable to initialize [/dev/cdrom]
|
|
|
09-02-2003, 12:43 PM
|
#4
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
tried cdplay...
$ cdplay
/dev/cdrom: No such file or directory
|
|
|
09-02-2003, 02:57 PM
|
#5
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Try adding to fstab:
/dev/cdrom /mnt/cdrom iso9660 noauto,user,kudzu,ro 0 0
|
|
|
09-02-2003, 03:05 PM
|
#6
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
thanks for the help so far ...
added the line to my fstab. tried the following...
# mount /mnt/cdrom/
mount: special device /dev/cdrom does not exist
|
|
|
09-02-2003, 04:04 PM
|
#7
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Try playing grip now. You don't mount music cd's
|
|
|
09-02-2003, 04:08 PM
|
#8
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
thanks for the continuing help
i tried grip, but got a "No Disc" error
i tried cdplay again...
$ cdplay
/dev/cdrom: No such file or directory
|
|
|
09-02-2003, 06:00 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,811
|
There is nothing wrong with your fstab entry for the device except for the fact there was an error.
/dev/cdrom is a link to the actual cdrom device which in your case should be /dev/hdc. Look at the hardware detection GUI to see what device if any RH thinks it should be.
If you want to create a link to /dev/hdc then:
ln -s /dev/hdc /dev/cdrom
You can change the configuration of cdplay with the actual cdrom device. There should be some kind of configuration button.
|
|
|
09-02-2003, 07:28 PM
|
#10
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
thanks for your input...
i put my fstab back to the /dev/hdc version i listed earlier and opened the gnome cdplayer. i got the following message:
<snip>
/dev/hdc does not appear to point to a valid CD device. This may be because:
a) CD support is not present in your machine
b) You do not have the correct permissions to access the CD drive
c) /dev/hdc is not the CD drive.
This means that the CD player will not be able to run.
</snip>
i made a link to /dev/hdc called /dev/cdrom and configured the player to point to this "new" device instead. i get the same message from the player except it reads
/dev/cdrom does not appear to point to a valid CD device
THANKS for any help here
|
|
|
09-02-2003, 11:02 PM
|
#11
|
Member
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825
Rep:
|
try chmod /dev/cdrom 444 this gives all users full permission for this device
|
|
|
09-03-2003, 02:00 AM
|
#12
|
LQ Newbie
Registered: Feb 2001
Location: India
Distribution: RedHat8
Posts: 8
Rep:
|
usually the /dev/cdrom is symlinked to /dev/hd<some char>
on my m/c it is /dev/hdd also a ls -l /dev/hdd reveals this:
0 brw------- 1 sandeep disk 22, 64 Aug 31 2002 /dev/hdd
check for the 'b' in the second column, this indicates that this is a block device. Whats your /dev/hdc like ?
|
|
|
09-03-2003, 08:30 AM
|
#13
|
LQ Newbie
Registered: Sep 2003
Location: England
Distribution: Gentoo 1.4
Posts: 11
Rep:
|
|
|
|
09-03-2003, 09:50 AM
|
#14
|
Member
Registered: Aug 2003
Location: long island, ny
Distribution: RH, SuSE, FC
Posts: 59
Original Poster
Rep:
|
thanks all for the help...
mcd, i did the chmod you suggested, but no change in gnome cdplayer message. i have a feeling that i have no cd support for this machine, but am not sure how to diagnose that...any hints?
sandeep, here is my cd-related device and link
br--r--r-- 1 root disk 22, 0 Jan 30 2003 /dev/hdc
lrwxrwxrwx 1 root root 3 Sep 2 13:43 /dev/cdrom -> hdc
benpope, i get a "command not found" message using hdparm. what does that script do? perhaps it's not included with my distro?
THANKS
|
|
|
09-03-2003, 11:07 AM
|
#15
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Try
/sbin/hdparm -i /dev/hdc
|
|
|
All times are GMT -5. The time now is 03:26 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
|
|