LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2007, 11:02 AM   #1
theweehours
LQ Newbie
 
Registered: Nov 2004
Location: Texas
Distribution: slackware
Posts: 7

Rep: Reputation: 0
still can't mount cdrom in Slack 12


Hello all,

I feel like I'm missing something very basic, but I cannot get my cdrom to mount after installing Slack 12. I've read through the sticky not on HAL, and added users to the plugdev and cdrom groups. The cdrom drive shows up in the Gnome file manager now, but trying to mount it causes the error "special device /dev/cdrom does not exist."

Here is my fstab:
/dev/hda2 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/hda3 /home ext2 defaults 1 2
/dev/hdd1 /storage vfat auto,rw,umask=000 1 0
#/dev/sdd1 /camera vfat noauto,user,rw,umask=000 1 0
#/dev/sdb1 /zen vfat noauto,user,rw,umask=000 1 0
#/dev/sdc1 /portable auto noauto,user,rw,umask=000
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

the commented lines remain from before I got HAL working, but the only other change was to uncomment the cdrom line.

Any ideas?
 
Old 07-29-2007, 11:12 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
To see what the device name is, do "dmesg|grep CD". My optical drives are all hd-something.

"lshw" will also give you the device name. (My system did not come with lshw by default, but it was in the repositories)
 
Old 07-29-2007, 11:59 AM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
/dev/cdrom is a symlink to your real drive, but slackware can only guess which one it is. you can let it point to the correct one by editing /etc/udev-or-hal-and-something/75-optical-devices.rules
 
Old 07-29-2007, 01:24 PM   #4
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
if there is /dev/hdc in your /dev directory then change the line in /etc/fstab from /dev/cdrom to /dev/hdc...

/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0 (BEFORE)

/dev/hdc /mnt/cdrom auto noauto,user,ro 0 0 (AFTER)
 
Old 07-29-2007, 03:14 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It won't necessarily be /dev/hdc..
 
  


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
CDROM refuses to mount, /dev/cdrom does not exist shane25119 Linux - Hardware 10 08-02-2009 10:43 PM
slack 11 not seeing /dev/cdrom d2490n Linux - Newbie 2 10-11-2006 08:06 AM
unable to Mount cdrom in slack 10.2 valjoux Linux - Hardware 2 10-04-2005 07:04 PM
Slack 9.1/10.1 fails to mount CDROM brianko Slackware 3 06-05-2005 07:26 PM
How do I get sound and a CDROM in Slack 8? DiscoStoo Linux - Software 3 03-10-2002 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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