LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-01-2005, 07:36 PM   #16
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354

Note that all your advice has had you mount your CDRW as a CDROM, that is, as a "ro" device.

If you want to mount it as a writable device, you need something lihe this
Code:
/dev/hdf                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
/dev/hde                /media/cdrom            auto    pamconsole,exec,noauto,managed 0 0
in your /etc/fstab. (That's a copy from my fstab, on Fedora, where the "pamconsole" option is used. You would probably not want it.)

You need to look at your /dev directory to see what you've got, and what it's called. For example, again, here's what mine looks like:
Code:
 ls -l /dev | grep dvd
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 dvd -> hde
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 dvd1 -> hdf
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 dvdwriter -> hdf
$ ls -l /dev | grep cd
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 cdrom -> hde
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 cdrom1 -> hdf
lrwxrwxrwx  1 root  root          3 Sep  1 11:30 cdwriter -> hdf
(Yes, they're cheap enough that I use two DVDs instead of CDs.)

Anyhow, my advice is to drop the ro option.
 
Old 09-01-2005, 07:46 PM   #17
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Quote:
Originally posted by phreakshew
I tried both dev/hdd /cdrom1 iso9660 ro,user,noauto 0 0
and /dev/hdd /cdrom1 iso9660 ro,users,noauto 0 0

and got: CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/cdrom1 (or) /dev/hdd.

both times...blah.
I am confused... Are you refering now to Audio or Data CD's now? If so changing your fstab file will not help reading audio cd's only data... Tell us what your attempting to access first...

KC
 
Old 09-02-2005, 02:13 AM   #18
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
Thanx 4 all the info- I'll try to be as clear as possible...
OK- this is what I have in etc/fstab:

dev/hda1 /boot ext3 defaults 0 2 #size=100
/dev/hda2 none swap sw 0 0 #size=250
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1 #size=remaining
/dev/fd0 /floppy auto defaults,user,noauto 0 0
/dev/cdrom /cdrom iso9660 defaults,rw,user,noauto 0 0
/dev/hdd /cdrom1 iso9660 ro,user,noauto 0 0
proc /proc proc defaults 0 0

Since cdrom is rw, do I still need to add a line like:
/dev/cdwriter /cdwriter iso9660 defaults,rw,user,noauto 0 0 ?

Soooo, I'll go thru what I have done so far:
I installed a new CDRW where the old CDROM was initially, and set the CDROM to slave and the CDRW to master.

The initial line in etc/fstab was:
/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0

Since the drive now attached there is a CDRW, I changed ro to rw to read:
/dev/cdrom /cdrom iso9660 defaults,rw,user,noauto 0 0

Then I had to figure out how to successfully mount the old CDROM in it's new position as a slave..

Additionally, I would like to be able to play audio CDs in either drive- as of right now it appears I can only play them in the CDRW drive, not in the CDROM.

Sooo I really have 2 questions at this point:
1. Did I set up the CDRW correctly?
2. How do I make it so that I can play aduio CDs in my CDROM also?

I am a super newbie, and have a total of about 2 weeks experience with Linux so far, so alot of these concepts are new to me. Thanx again for all your help everybody!
 
Old 09-03-2005, 09:31 AM   #19
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
any more thoughts / ideas / suggestions on this? thanx in advance!
 
Old 09-03-2005, 11:10 AM   #20
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Have you enabled "digital audio" in your sound system? (Often the default is "analog," which requires the analog wire connection from your CD drive to your audio card. [It's the three-wire, small plug connector.] Most audio system will only accept one analog input connection.

If you do have digital audio enabled, have you told your sound system that you have two CD drives? (How that is done depends on the system you're using.)

I suspect that your sound system has defaulted to looking only at /dev/cdrom. (Note that CD playback is normally done directly from the device since audio CDs don't contain any file system that can be mounted.)

Bottom line: Read the manual for your audio playback system to see how you can set it to access more than one device.
 
Old 09-04-2005, 05:38 PM   #21
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
thanx- I will look into how to enablr digital audio-- unfortunately I have no documentation for my hardwareas this is all used equipment...
 
Old 09-05-2005, 01:05 PM   #22
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally posted by phreakshew
thanx- I will look into how to enablr digital audio-- unfortunately I have no documentation for my hardwareas this is all used equipment...
As I said, "read the manual for your sound system". E.g., ALSA, OOG, etc. - whatever you're using.

For example, if you're using ALSA, then it's an option in "system-sound-config".

It should have nothing to do (except internally) with your hardware -- CD and sound card -- provided your sound card is supported. (Which it must be, because yu're getting some sound.)
 
Old 09-05-2005, 07:51 PM   #23
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
O I C! ok I will look there- :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
How do i mount a partition on a 2nd HD? Linux_Nooby Linux - Newbie 5 03-22-2005 05:41 PM
FC2 install on 2nd drive, no dual-boot, will install modify 1st WinXP drive at all? Equisilus Fedora - Installation 14 06-27-2004 02:38 AM
Where to mount 2nd and 3rd disks vrillusions Linux - Hardware 3 11-29-2003 05:13 PM
how to: mount existing partition on 2nd drive atljam Linux - General 2 07-28-2002 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration