LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-22-2005, 03:15 PM   #1
niru
LQ Newbie
 
Registered: Mar 2005
Location: Basel, Switzerland
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Debian: /dev/cdrom device does not exist


I have debian woody on my T42. Recently after an upgrade, my cdrom is not recognised. Below is a copy of my fstab and other useful inputs for experts.

/etc/fstab:

[SIZE=3][code]
# /media devices, user-mountable:
/dev/fd0 /media/floppy auto defaults,user,noauto 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,user,noauto 0 0
/dev/sda /media/usb-floppy vfat defaults,user,noauto 0 0
/dev/sda1 /media/usb-storage vfat defaults,user,noauto 0 0
/dev/sda4 /media/usb-zip vfat defaults,user,noauto 0 0
/dev/sr0 /media/usb-cdrom iso9660 defaults,user,noauto 0 0


cat /proc/ide/hdc/model
HL-DT-STCD-RW/DVD DRIVE GCC-4242N


mount -t iso9660 /dev/cdrom /media/cdrom

Please help
 
Old 03-23-2005, 12:30 AM   #2
cry0x
LQ Newbie
 
Registered: Feb 2005
Distribution: Archlinux 0.7
Posts: 24

Rep: Reputation: 15
try changing /dev/cdrom to /dev/hdc
 
Old 03-23-2005, 01:39 AM   #3
niru
LQ Newbie
 
Registered: Mar 2005
Location: Basel, Switzerland
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0

I did try that beforehand. It doesnt work.
 
Old 03-23-2005, 02:07 AM   #4
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Try runig this (as root):
Code:
ln -s /dev/hdc /dev/cdrom
 
Old 03-23-2005, 02:09 AM   #5
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Is your ide-cd module loaded. lsmod to see it.

My site Veera's
 
Old 03-23-2005, 02:33 PM   #6
niru
LQ Newbie
 
Registered: Mar 2005
Location: Basel, Switzerland
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0

I guess after doing a ln -s /dev/hdc /dev/cdrom, things appear to work. I will reboot and check again.
 
Old 03-23-2005, 02:49 PM   #7
niru
LQ Newbie
 
Registered: Mar 2005
Location: Basel, Switzerland
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0

Well after a reboot, same problem appears.
I guess some sort of auto link or mount might help. Does any body know this.




Thank you all!
 
Old 03-23-2005, 07:47 PM   #8
hshane
LQ Newbie
 
Registered: Mar 2005
Location: Austin, Texas
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Are you using devfs or udev, per chance? If so you can alter the config files for whichever to automatically create the device on boot-up. Alternatively, a dirty method to fix this would be putting a script called e.g., cdrom in /etc/init.d/ that reads as follows:

#!/bin/sh
ln -s /dev/hdc /dev/cdrom
#EOF

...then making it executable:

# chmod u+x /etc/init.d/cdrom

...then using update-rc.d:

# update-rc.d cdrom.sh start 99 2 3 4 5 .

...where the # are obviously meant to be as root. A kludge of a way to do it, but fool-proof.

hs
 
Old 03-24-2005, 10:01 AM   #9
niru
LQ Newbie
 
Registered: Mar 2005
Location: Basel, Switzerland
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0

How do I check if its devfs or udev? I am total newbie to linux, so sorry for such naive questions. and which lines in which config files should be altered?
 
Old 03-24-2005, 06:52 PM   #10
hshane
LQ Newbie
 
Registered: Mar 2005
Location: Austin, Texas
Distribution: Debian
Posts: 9

Rep: Reputation: 0
In that case I suggest the second method I outlined. It will work no matter what; don't worry about udev or devfs.

hs
 
Old 04-08-2005, 03:02 PM   #11
Novarkingood
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
My solution to missing cdrom

I had the same problem. It turns out the /media/cdrom0 was missing.

/cdrom was linked to /media/cdrom which was linked to /media/cdrom0.

so I made the mount point (mkdir /media/cdrom0), then mounted it (mount -t iso9660 /dev/hdc /cdrom).

I hope that helped.

Novarkin....
 
  


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
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 10:39 AM
mount: special device /dev/cdrom does not exist robrichards Linux - Hardware 20 02-15-2005 02:52 PM
another "device /dev/dsp can't be opened (device does not exist)" in DEBIAN, woody Kroppus Linux - Hardware 12 11-13-2003 12:23 PM
special device /dev/cdrom does not exist anolan514 Linux - Newbie 1 11-14-2001 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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