LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-11-2006, 11:34 AM   #1
coronet_blue
LQ Newbie
 
Registered: May 2006
Location: Dallas
Distribution: Suse
Posts: 9

Rep: Reputation: 0
Angry How to mount a cdrom?


I am trying to mount a cdrom. First it gives me an error that it is missing from /etc/fstab and etc/mtab files so I attempted to add it. Here is what I am getting and what the files look like:


:~ # mount /mnt/cdrom
mount: mount point /mnt/cdrom does not exist
:~ # mount /cdrom
mount: mount point /cdrom does not exist
:~ # mount cdrom
mount: can't find cdrom in /etc/fstab or /etc/mtab


:~ # cat /etc/fstab
/dev/sda3 / reiserfs defaults 1 1
/dev/sda1 /boot vfat defaults 0 0
/dev/sda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

:~ # cat /etc/mtab
/dev/sda3 / reiserfs rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/sda1 /boot vfat rw 0 0
shmfs /dev/shm shm rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/cdrom /cdrom rw 0 0
:~ #
 
Old 05-11-2006, 11:36 AM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
try issuing "mount /dev/cdrom"
 
Old 05-11-2006, 11:43 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
The "mount point <mount point> does not exist" messages usually mean exactly that - that the directory you're trying to mount to doesn't exist.

Your mtab file suggests that /dev/cdrom is mounted on /cdrom, which is a bit confusing, given the earlier output. Did you add that line to mtab yourself? I'm not sure, but I don't think you're supposed to do this, as mtab is supposed to show you devices that are currently mounted
 
Old 05-11-2006, 11:49 AM   #4
coronet_blue
LQ Newbie
 
Registered: May 2006
Location: Dallas
Distribution: Suse
Posts: 9

Original Poster
Rep: Reputation: 0
"mount /dev/cdrom"
-bash: mount /dev/cdrom: No such file or directory


Yes I added that line thinking it needed something in there, so I just took that line out of mtab.


How can I set up a mount point. I know there is a disk in the drive. Everything I've read says to do mount /mnt/cdrom but it always says there is no mount point???
 
Old 05-11-2006, 12:08 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You use mkdir to create the directory that you want to mount to, e.g. "mkdir /mnt/cdrom". However, it seems that the /dev/cdrom link doesn't exist, given the output of your last post. Have you ever been able to mount a CD-ROM under Linux? Do you know which IDE controller the CD-ROM is connected to and whether it is set as master or slave?
 
Old 05-11-2006, 01:09 PM   #6
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
suse auto-mounts (at least 9.1 and above) check your /media/cd-rom for your data. if you type mount what does it give you?
 
  


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 On
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
Can't mount cdrom acidblue Fedora 5 01-21-2005 10:50 PM
cant mount cdrom solarcontrol Linux - Hardware 10 01-16-2005 01:34 PM
CDROM will not mount QtCoder Linux - Hardware 11 12-01-2003 09:11 PM
Can't mount cdrom?? jt1020 Linux - General 20 05-04-2003 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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