LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 05:31 AM   #1
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Rep: Reputation: 16
How do I mount a 2nd CD drive???


Hello! I am running Debian, and the computer came with 1 CDROM. I purchased a CDRW today and installed it, setting the jumpers to Master and the old CDROM to Slave.

Now what???

I have been researching this all night and only have partial information.

etc/fstab reads:
/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
proc /proc proc defaults 0 0

Am I correct to add this line?:
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noauto 0 0

I read something about having to compile a kernal... Since I already have a CDROM do I need to do this?

I understand I need to mount the device, but am still unsure of what to do.

Please HELP!!! Thank you very much.
 
Old 09-01-2005, 06:00 AM   #2
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
hi.
what you have to do is to ensure that /dev/cdrom1 (the new cdrw) really exists in the /dev directory. surely /dev/cdrom (the cdrom you altrady have) is a symbolic link to a device. you should discover where this link points (ls -l /dev/cdrom). it should point to /dev/hdb or hdc, it dipends where you plugged the drive. please do this and post it here!
bye
 
Old 09-01-2005, 07:01 AM   #3
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 11 Jul 22 13:05 /dev/cdrom -> /dev/cdrom0
is what I get...

If I use Konqueror to get to file:/dev I find 2 italicized entries:
cdrom is a link to dev/cdrom0, and
cdrom0 is a link to dev/hdc.

I haven't added the line for cdrom1 in etc/fstab yet because I wasn't sure if I'm supposed to do it now (or at all) or wait til later....

ready 4 next nugget of information- & thanx 4 the help!!!

Last edited by phreakshew; 09-01-2005 at 07:13 AM.
 
Old 09-01-2005, 07:28 AM   #4
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
ok, if /dev/cdrom points to /dev/hdc, i am quite sure that the new cd drive points to /dev/hdb or /dev/hdd. try to check them, try to add either

/dev/hdd <mount_point> iso9660 ro,user,noauto 0 0

or

/dev/hdb <mount_point> iso9660 ro,user,noauto 0 0

then

#mount -a

and then try to mount the cdrom drive.
 
Old 09-01-2005, 08:36 AM   #5
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
ok- just to be sure I did thid right so far--

I added:

/dev/hdd /cdrom1 iso9660 ro,user,noauto 0 0

to the fstab list, then exited and at a root prompt typed:

mount -a

Is that right? - If so, then great! And now how exactly do I try to mount the device?
 
Old 09-01-2005, 08:43 AM   #6
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
To mount the second device:
Code:
mount 
/dev/hdd /cdrom1
you may also have to make the mount directory if it doesn't exist:
Code:
mkdir /cdrom1
 
Old 09-01-2005, 08:51 AM   #7
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
ok! 1st I typed: mkdir /cdrom1

2nd I typed: mount /dev/hdd /cdrom1

Computer said: mount: you must specify the filesystem type
 
Old 09-01-2005, 08:59 AM   #8
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
I just tried: mount -t iso9660 /dev/hdb /cdrom

and the computer responded:
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
 
Old 09-01-2005, 09:10 AM   #9
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
I think I did it...?

I went to desktop and clicked create new / device / cdrom device
and clicked on device tab and selected /dev/hdd (/cdrom1) and clicked ok

then I put a cdrom disk in the drive and clicked on the new icon and whaddya know-? It loaded!

Yahoooooooooo!-

Now, is that all I have to do?

What about audio discs? There are 2 icons on the desktop relating to the other (CDRW) - one labeled cdrom and the othe labeled audio cd... Do I need to do something to let audio cds play from both cd drives or should I only let 1 drive play audio?

Thanx again for your help!
 
Old 09-01-2005, 01:55 PM   #10
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
i hope i have well understood your question...

1)you want to play 2 audio cd at the same time one in the cdr and the other in the cdrw? i don't know if you can do that, never tried.

2)you are asking if it's the same to play an audio cd either from the cdr or the cdrw? well yes, it's the same thing. you just have to specify the source cd, for example in the configure panel of KsCD.

cheers
 
Old 09-01-2005, 04:27 PM   #11
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
yes, my question was, is it the same to play an audio cd either from the cdr or the cdrw?

I tried to specify the source cd by going to the configure panel of KsCD and changing the source from dev/cdrom to dev/hdd- and again with dev/cdrom1... Both times I got a message saying:

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.

I guess I need to grant access permissions to that drive-? I thought I already did that..... Anyways- I really appreciate your help!
 
Old 09-01-2005, 05:05 PM   #12
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
hmmm ok try this, substitute:

Code:
/dev/hdd /cdrom1 iso9660 ro,user,noauto 0 0
with

Code:
/dev/hdd /cdrom1 iso9660 ro,users,noauto 0 0
please notice the difference from user and userS and then tell me.

bye
 
Old 09-01-2005, 05:34 PM   #13
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
yes, my question was, is it the same to play an audio cd either from the cdr or the cdrw?

I tried to specify the source cd by going to the configure panel of KsCD and changing the source from dev/cdrom to dev/hdd- and again with dev/cdrom1... Both times I got a message saying:

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.

I guess I need to grant access permissions to that drive-? I thought I already did that..... Anyways- I really appreciate your help!
Hmm, KsCD should automatically determine the drive your using for an Audio CD... Mine will play wheather I use my /dev/hdc or /dev/hdd but the default is /dev/hdd

I however, use Mplayer which is a diff story... the cdda option in mplayer has a default and mine is /dev/hdc and I play audio CD's using:

mplayer cdda://2

This will play track #2 of my audio CD in my CDRW drive /dev/hdc

This:

mplayer cddb://2 -cdrom-device /dev/hdd

will play the same track but in my CDROM drive /dev/hdd but it must be specified as such...

KC
 
Old 09-01-2005, 05:47 PM   #14
phreakshew
Member
 
Registered: Aug 2005
Distribution: Ubuntu, Kubuntu, Linux Mint
Posts: 97

Original Poster
Rep: Reputation: 16
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.
 
Old 09-01-2005, 07:31 PM   #15
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
are you able to play audio cd's as root on the cdrw?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:01 PM
How do i mount a partition on a 2nd HD? Linux_Nooby Linux - Newbie 5 03-22-2005 06: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 03:38 AM
Where to mount 2nd and 3rd disks vrillusions Linux - Hardware 3 11-29-2003 06:13 PM
how to: mount existing partition on 2nd drive atljam Linux - General 2 07-28-2002 01:32 PM


All times are GMT -5. The time now is 10:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration