LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-05-2004, 03:35 PM   #1
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Rep: Reputation: 30
CDROM Mounting (Searched...and no answer!)


Hello! I finally set up my Linux as I want it and I realized that my cdrw and dvdrom drives weren't being recognized. Well they actually were but the X server doesn't recognize them (if that's possible). At startup it says:
hdc: TDK164032 CD-RW DRive
hdd: VOM 12XSOMETHING DVD-ROM (those are somewhat close to reality)
Then, I followed the Slackware Help guy's advice and edited /etc/fstab so it looks like this:

/dev/hda2 / ext2 defaults 1 1
/dev/hda1 /Windows ntfs ro,umask=000 1 0
/dev/hdc /mnt/cd-rw iso9660 noauto,user,ro 0 0
/dev/hdd /mnt/dvd-rom iso9660 noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /sys sysfs defaults 0 0

*Not lined up very well but you get the idea.

Then I did:

ln -s /dev/hdc /dev/cd-rw
ln -s /dev/hdd /dev/dvd-rom
ln -s /mnt/hdc /mnt/cd-rw
ln -s /mnt/hdd /mnt/dvd-rom


...and when I click on either drive it says:

mount point /mnt/dvd-rom is a symbolic link to nowhere
or mount point /mnt/cd-rw is a symbolic link to nowhere


I'm using Slackware 10 on a P4 2.4ghz. Thanks ahead!
-Galen
 
Old 12-05-2004, 04:24 PM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Hi,

I think you want it to look more like this...

fstab should be, for instance,
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
but now my /dev/cdrom is actually a symlink to /dev/scd0, which is my cd burner.

So, look in /dev and see where your cdrom is linked, and look for other symlinks to find your dvd rom. THen point fstab to these links. I think it's the labels hdd and hdc in fstab that it doesn't like. See if you can find the actual devices is the /dev/directory...they wont show up as hd*

GOod luck, let us know what find...
 
Old 12-05-2004, 04:33 PM   #3
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
I found ¨dvd¨ w/ a little arrow on it and the dvd-rom I´m asssuming I created. But clicking on them just tells me that they aren´t associated with something. And still no go...do I need to reboot after changing my fstab file? Thanks!
-Galen
 
Old 12-05-2004, 04:45 PM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
to what does the little arrow point?

Actually, enter this command and then copy/paste the results in a reply...

ls -l /dev |grep /dev

and that'll help us see the symlinked devices there...

post back the results...
 
Old 12-05-2004, 04:54 PM   #5
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
ls -l /dev |grep /dev
lrwxrwxrwx 1 root root 8 2004-12-05 13:07 cd-rw -> /dev/hdc
lrwxrwxrwx 1 root root 8 2004-08-12 06:56 cdrom -> /dev/hdd
lrwxrwxrwx 1 root root 8 2004-08-12 06:56 dvd -> /dev/hdd
lrwxrwxrwx 1 root root 8 2004-12-05 13:08 dvd-rom -> /dev/hdd

So I have three devices using hdd...=( Hope we´re getting somewhere!
-Galen
 
Old 12-05-2004, 04:57 PM   #6
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
I'm taking off for a minute, but in the meantime get this info...

how are the drives hooked up? WHich on eis on the first connector of the IDE cable, and which is on the second?

I'll get back when I'm home again...
 
Old 12-05-2004, 04:59 PM   #7
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
I believe I did it Primary for both drives...CDRW is master and DVDROM is slave.
-Galen
 
Old 12-05-2004, 05:29 PM   #8
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
okay, thta'll make the cdrw most likely hdc, and dvd hdd

GOtta go, I'll check back in a few hours...
 
Old 12-05-2004, 07:15 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,949

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Quote:
ln -s /mnt/hdc /mnt/cd-rw
ln -s /mnt/hdd /mnt/dvd-rom
Does /mnt/hdc or /mnt/hdd exist?
Delete the links and create a directories of your choosing. Then change the fstab file to reflect the actual mount directory names.
 
Old 12-05-2004, 10:52 PM   #10
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
What links are you referring to? and No, /mnt/hdc and /mnt/hdd do NOT exist. What does it all mean?
-Galen
 
Old 12-05-2004, 11:17 PM   #11
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
reak quick, gotta go to bed...

you dont want symlinks (or any links for that matter) in /mnt. You should create directories in /mnt to which you will mount drives and devrices such as your cdrw. So...

change to the /mnt directory, and do the follwing as root...

unlink cd-rw
unlink dvd-rom

then type the following to make these directories...

mkdir cd-rw
mkdir dvd-rom

then change to the /dev/ directory and TRY the following:

unlink cdrom
unlink dvd-rom

Now, while you're there, type ls -l |grep hdc and post the output of that in your nest reply if all this doesn't work.

Now edit fstab to now look like this for those entries...

/dev/cd-rw /mnt/cd-rw udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/dvd /mnt/dvd-rom udf,iso9660 noauto,owner,kudzu,ro 0 0

Save fstab. Reboot (just for fun) and see if it works. If you're still having issues, TRY the following command to help get some more info..

cdrecord -scanbus

and post the output of that.

I
I
ll check back early in the morening and see what's up...

Jeff
 
Old 12-05-2004, 11:40 PM   #12
DreameR-X
Member
 
Registered: Dec 2004
Location: New York
Distribution: Slackware
Posts: 154

Original Poster
Rep: Reputation: 30
Jeffrey my man, may you go to school/work with the great satisfaction that you have helped an extreme newb overcome his difficulties. I did all your unlinking,etc and Voila! Both drives work splendidly! You are superb! Thanks again.

The Ever-So-Gracious Newb,
Galen
 
Old 12-06-2004, 06:49 AM   #13
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Glad to hear it!

Now you should test that burner and make sure you can get it to work. cdrecord will be your best choice for getting it up and running. Let me know if you need a brief run-down on using it or testing the drive...

Good luck,

Jeff
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
smbmount is ignoring file permisions, I've searched, but have no answer lostboy Linux - General 6 10-15-2005 11:24 AM
I have Searched high and low on here and can't get a straight answer thebover Slackware 6 09-09-2004 11:17 AM
about mounting cdrom rabside Linux - Newbie 1 04-23-2004 02:51 PM
mounting a cdrom PlatinumRik Linux - Networking 6 05-27-2003 10:11 AM


All times are GMT -5. The time now is 12:30 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