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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-10-2003, 10:24 PM
|
#1
|
Member
Registered: Jul 2003
Location: Georgia
Posts: 49
Rep:
|
I can't mount my cdrom drive
When I type in mount cdrom i get this back:
mount: can't find cdrom in /etc/fstab or /etc/mtab
What do I do to mount it.
|
|
|
08-10-2003, 10:27 PM
|
#2
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
mount /dev/cdrom
and unmount using:
umount /dev/cdrom
|
|
|
08-10-2003, 10:41 PM
|
#3
|
Member
Registered: Jul 2003
Location: Georgia
Posts: 49
Original Poster
Rep:
|
Thanks, I got it to mount. Now I created a desktop icon so I wouldn't have to use command line to always mount it. When I'm out of root and I click on it it says:
Could not mount device.
The reported error was:
mount: only root can mount /dev/cdrom on /mnt/cdrom
I went to superuser mode and did a chmod +x to /dev/cdrom but it still doesn't work. what do i do for this
|
|
|
08-10-2003, 11:33 PM
|
#4
|
Member
Registered: Apr 2003
Posts: 68
Rep:
|
check your fstab file [/etc/fstab]. Verify if inside of it there is a line that starts with the LABEL : /dev/cdrom, if no add this line:
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
"/MNT/CDROM MUST EXIST" SO check if that folder exists, it should
|
|
|
08-11-2003, 12:37 AM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
thats not so much the case, its just that a normal user doesn't have the rights to mount in which in turn you have to give them rights to do it....
and looper /mnt/cdrom obviously exists if he can mount it as root...
so in your /etc/fstab file where you see the line for you cdrom just add "user" to its options...
so instead of it just saying:
noauto,ro
it will say:
noauto,ro,user
then your normal users will be able to mount.
|
|
|
08-11-2003, 09:15 AM
|
#6
|
Member
Registered: Apr 2003
Posts: 68
Rep:
|
scorpion777, Dr0zz is right, I forgot to complete it [it was late]. I wrote what I thought you had inside your fstab instead of what you should have to allow any user to mount it. So yes, add "user" to field 4 of your fstab
|
|
|
All times are GMT -5. The time now is 01:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|