LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CDROM Mounting (Searched...and no answer!) (https://www.linuxquestions.org/questions/linux-newbie-8/cdrom-mounting-searched-and-no-answer-262919/)

DreameR-X 12-05-2004 02:35 PM

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

jeffreybluml 12-05-2004 03:24 PM

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...

DreameR-X 12-05-2004 03:33 PM

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

jeffreybluml 12-05-2004 03:45 PM

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...

DreameR-X 12-05-2004 03:54 PM

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

jeffreybluml 12-05-2004 03:57 PM

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...

DreameR-X 12-05-2004 03:59 PM

I believe I did it Primary for both drives...CDRW is master and DVDROM is slave.
-Galen

jeffreybluml 12-05-2004 04:29 PM

okay, thta'll make the cdrw most likely hdc, and dvd hdd

GOtta go, I'll check back in a few hours...

michaelk 12-05-2004 06:15 PM

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.

DreameR-X 12-05-2004 09:52 PM

What links are you referring to? and No, /mnt/hdc and /mnt/hdd do NOT exist. What does it all mean? :D
-Galen

jeffreybluml 12-05-2004 10:17 PM

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

DreameR-X 12-05-2004 10:40 PM

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

jeffreybluml 12-06-2004 05:49 AM

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


All times are GMT -5. The time now is 05:19 PM.