LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Automounting working for everything except CDdrive (https://www.linuxquestions.org/questions/linux-hardware-18/automounting-working-for-everything-except-cddrive-569617/)

otter8187 07-15-2007 07:38 PM

Automounting working for everything except CDdrive
 
Some time ago I swapped out the CD drive on my Dell latitude for a second battery and everything was fine (8-12 hours of battery life =] ). Though when reattaching the CD drive I'm unable to mount any disks, but updates through Yast are still possible and other removable devices can automount. Tried using the konsole but I get an error saying that hdc isn't in fstab or "files nis does not provide any mounts" when enabling autofs. After reading some other threads I've edited fstab, mtab, auto.misc and sadly no changes. Any ideas before I consider reinstalling or switching to a permanent Slax installation.



___________________________________________________________________
Mainboard : Dell Latitude CPx J750GT
Processor : Intel Pentium III E @ 750 MHz
Physical Memory : 512 MB (2 x 256 SDRAM )
Video Card : ATI Technologies Inc Rage P/M Mobility AGP 2x 8MB
Hard Disk : IBM-DJSA-220 (20 GB)
CD-Rom Drive : SAMSUNG CD-ROM SN-124
Network Card : Broadcom BCM4309 802.11a/b/g
Operating System : openSuSE 10.2 / Windows XP Professional SP 2

vinnywrite 07-16-2007 06:05 PM

be shure you edited fstab & the rest corectley (I wonce had a simalar prob and it wus /dev/hdd not dev/cdrom and then
Try chmod 666 /dev/cdrom (or /dev/hdc, or whatever your CD-ROM drive is).permishons for dev/cdrom or wutever it is mite have ben lost? but then I use a slackware based distro. so??????

VINNY :newbie:

rodrifra 07-17-2007 01:47 AM

Check your bios. Does it see the cdrom? Maybe the bios lost it and since bios doesn't see the drive linux can't see it either thus being unable to mount it.

adilbhilai 07-17-2007 01:57 AM

check FSTAB
#cp /etc/fstab /etc/fstab1 ////backup fstab
#vi /etc/fstab ///edit fstab
check the following line:
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
and u r done

otter8187 07-19-2007 11:16 AM

Quote:

Originally Posted by adilbhilai
check FSTAB
#cp /etc/fstab /etc/fstab1 ////backup fstab
#vi /etc/fstab ///edit fstab
check the following line:
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
and u r done

Found a similar fix before I posted my dilemma. The line was missing all together, went and inserted it, rebooted and no change. When I tried this one, like before no success... but it did make the drive sound like weed eater

otter8187 07-19-2007 11:22 AM

Quote:

Originally Posted by rodrifra
Check your bios. Does it see the cdrom? Maybe the bios lost it and since bios doesn't see the drive linux can't see it either thus being unable to mount it.

Yes the bios detects it, it can boot a live system, and Windows had no problem swapping the drive with the battery without rebooting.

Like stated before the strange thing is that applications like yast are able to access the drive for updates, though browsing media disks is still out of reach.

moxieman99 07-19-2007 11:24 AM

Quote:

Originally Posted by otter8187
Found a similar fix before I posted my dilemma. The line was missing all together, went and inserted it, rebooted and no change. When I tried this one, like before no success... but it did make the drive sound like weed eater

---------
Sounds like your cd-rom drive is defective (dust got into the mechanism while improperly stored away, maybe?), since editing fstab would do nothing to the sound of the drive itself.

Swap in a friend's drive and see if it mounts (keeping the line you added in fstab, of course).

otter8187 07-19-2007 11:29 AM

Quote:

Originally Posted by vinnywrite
Try chmod 666 /dev/cdrom (or /dev/hdc, or whatever your CD-ROM drive is).permishons for dev/cdrom or wutever it is mite have ben lost?

VINNY :newbie:

Nothing, dammit this sucks.

Went and ran the repair function from the installation disk, it fixed a corrupt drive, though found nothing wrong with fstab entries

otter8187 07-19-2007 11:39 AM

Quote:

Originally Posted by moxieman99
---------
Sounds like your cd-rom drive is defective (dust got into the mechanism while improperly stored away, maybe?), since editing fstab would do nothing to the sound of the drive itself.

Swap in a friend's drive and see if it mounts (keeping the line you added in fstab, of course).


What are these "friends" you speak of? This word is foreign to me, explain its significance.

But seriously, I've never seen anyone with an old clunker like this with whom I could cross reference. I'm pretty sure the drive isn't bad. Windows, livelinux systems, even DOS work well with it. Its just the locally installed linux system that's giving me problems.

adilbhilai 07-22-2007 07:51 AM

i think you CDROM is connected to Secondary Master(hdc for linux)
you can try this command...
#mkdir /mnt/tt
#mount -t iso9660 /dev/hdc /mnt/tt


All times are GMT -5. The time now is 06:25 PM.