LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 03-14-2005, 10:12 AM   #1
learnfast
Member
 
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Rep: Reputation: 15
/dev/cdrom directory is suddenly gone, how can I get it back?


I wanted to mount my cdrom and noticed that /dev/cdrom is not there anymore.
Is there a way to get linux to "rerecognize" it?
How could this have happened, I'm sure I didn't explicitly delete it.
I'm using Fedora 3 in vmware and I'm trying to install vmware tools (which acts as a CD-ROM that you have to load the files from).

Thanks.
 
Old 03-14-2005, 10:30 AM   #2
morneo
Member
 
Registered: Mar 2005
Location: New York
Distribution: FC3
Posts: 39

Rep: Reputation: 15
did you try restarting the computer.

cos i dont want you to mess with fstab file if you are not comfortable with it.
 
Old 03-14-2005, 10:47 AM   #3
learnfast
Member
 
Registered: Mar 2005
Location: berlin
Distribution: Redhat 9, Fedora 3
Posts: 70

Original Poster
Rep: Reputation: 15
- I restarted my machine but /dev/cdrom is still not there.
- when I click on the CD icon on the deskktop a window says "mount: can't find /mnt/cdrrom in /etc/fstab or /etc/mtab"
- this is just a virtual machine, so what can I need to add to fstab to get linux to recognize the cd drive again?

thanks.
 
Old 03-14-2005, 11:40 AM   #4
morneo
Member
 
Registered: Mar 2005
Location: New York
Distribution: FC3
Posts: 39

Rep: Reputation: 15
check /etc/fstab and see if there is an entry for cdrom. If not add one. Make sure u have a backup of the fstab file before u make any changes to it.
 
Old 03-14-2005, 11:47 AM   #5
audibel
Member
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
You should have something comparable to this, if not add something like it:

/dev/hdc /cdrom iso9660 ro,user,noauto 0 0

I have two harddrives so yours may not be named hdc.
 
Old 03-14-2005, 11:56 AM   #6
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
For me it is the same: my cdrom device is /dev/hdc (even when I've only one harddisk ).
 
Old 03-14-2005, 11:58 AM   #7
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
If the reference in /dev is not there, then there is a fairly good chance there is something physically wrong with the computer,... perhaps the drive has failed. If you can, check the cabling or try the drive in another computer.

The /dev entries in the file system are put there by the OS itself, whereas the /mnt or /media entries are made by adding the drive into your fstab file. Essentially, the /mnt/cdrom or /media/cdrom entries are symbolic links (in a sense) to the /dev entries. When the system boots, it goes through a hardware recognition routine which adds those things there. Sometimes, for instalce, if you put a symbolic link to a removeable device some place other than the system architecture provides, it will disappear if you remove that device for that very reason,... while the normal /dev entry in the filesystem won't...
 
Old 03-14-2005, 01:39 PM   #8
audibel
Member
 
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
that's only if hdc is not there tho right Jase? If hdc is there, then there shouldn't be a problem, because all /dev/cdrom is is a link to hdc.
 
  


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
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 PM
No boot from cdrom suddenly dnial Linux - General 2 10-06-2004 11:53 AM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 09:36 PM
cdrom suddenly failing illtbagu Linux - General 2 07-03-2003 12:18 AM


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