CDRom access?


Recommended Posts

Add 'user' to the options of the fstab entry like:

/dev/hdc                /mnt/cdrom0    iso9660        noauto,ro,user        0 0
Link to comment
Share on other sites

open up /etc/fstab in your favorite text editor. look for a line similar to this:

/dev/hdc         /mnt/dvdrom      iso9660     noauto,user,ro   0   0

the first item is the device, then the mount point, then the filesystem type, the options, and i can't remember what the last two are at the moment, but i know they aren't relevant to CD-ROM drives.

you will need to change the options section to something similar to what i have: noauto,user,ro. this will make the CD drive not automatically mount at boot-up, allow the user to mount and unmount the drive (if one user mounts the drive, and another user needs to unmount the drive use users rather than user.), and ro is short for read-only.

Link to comment
Share on other sites

Just curious, but those changes don't take effect immediately upon save, do they?

How do you get Linux to re-read the fstab? I read the man pages for fstab and for mount (because I thought I remembered something about this in the mount man pages, but I cannot find it now...)

Link to comment
Share on other sites

oro? it's always been instant for me...

You are right.. It is effective immediately. :blush:

Just tired it. Sometimes it is better to try first, rather than read the man pages, I guess... :pinch:

Link to comment
Share on other sites

hi guys, i have access to drives now but i can't mount if a audio cd is in the drive (can mount a cd or dvd)

any ideas?

you wouldn't have to mount an audio cd would you? i'm not completely sure...but i think audiocd players just read directly from /dev/hdc ?

i could be completely wrong though.

Link to comment
Share on other sites

There is no filesystem on an audio CD. It is just raw data. You just play it in an audio CD player. If you want to rip the CD, consider easy GUI tools like SoundJuicer or Grip.

Link to comment
Share on other sites

hmm, i've never played an audio cd in linux...

i'll give it a try :)

Just make sure that, if this was a purchased Windows PC, then you might be missing the audio cable from the CD-ROM to your sound card.

Windows uses the CPU to process the sound data. Linux lets the CD-ROM do it's own job of sending audio. This is a common case of "Hey! This worked in Windows, but Linux is broken!". If you don't have sound, pop open your case.

Link to comment
Share on other sites

If you don't have an analog audio cable to connect your cdrom to your sound card, you can play the cd's in xine, mplayer, or a recent version of xmms. Those players support so-called "digital" playback, the way that Windows does.

Link to comment
Share on other sites

Oh, that's cool! Should be less people complaining that their sound works except for CDs. (Y)

Link to comment
Share on other sites

It's not the cable issue, it is not reading the cd's no mater what i use to play it

There is *nothing* that should prevent a CD-ROM from playing an audio CD. They have that feature built-into the CD-ROM, itself.

If the CD cannot play it, then you have a bad CD, or a bad CD-ROM.

Link to comment
Share on other sites

It's not the cable issue, it is not reading the cd's no mater what i use to play it

Looking over your earlier post, Fozzieb, I am wondering if Linux hasn't possibly assigned your CD-ROM separately.

For example, in my grub.conf file, my kernel line looks like this:

kernel /vmlinuz-2.4.22-1.2174.nptl ro root=LABEL=/12 hdc=ide-scsi rhgb

with the important part being the hdc=ide-scsi part, where it identifies the master device on my secondary IDE as my CD-ROM.

Could this cause a problem like you are seeing if the kernel isn't passed this information? Check your grub.conf (if you use GRUB to boot)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.