LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 05-17-2006, 09:55 AM   #1
ayman718
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Unhappy mounting a cd drive


Hey people, i'm a supernewb when it comes to linux..i'm working at this company, and it's up to me to teach myself linux, anyway, i've learned that to access the cd drive it has to be mounted first, so when i typed in the mount/bla bla bla stuff it says I have to be root to do this..is there a way I can do this myself, or do i have to find my boss...
 
Old 05-17-2006, 10:21 AM   #2
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
Provided you haven't made a mistake when typing the command you need your user to be fitted with the right to mount CDs. In most companies I'd rather find the administrator rather than the boss, though...

Robin
 
Old 05-17-2006, 11:44 AM   #3
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Yeah as above, find an admin or suitable person who has permissions to either mount it for you or give you the capabilities.

I must say this though, did you tell them you had some linux experience? A company refusing to train and let you learn yoruself is seriously harming it's productivity and efficiency.
 
Old 05-18-2006, 09:12 AM   #4
ayman718
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Smile experience

I'm supposed to take a class on it starting next week, I was just trying to get a head start..
 
Old 05-18-2006, 11:18 AM   #5
Chantale
LQ Newbie
 
Registered: May 2006
Location: Canada
Distribution: RHEL ES v4
Posts: 5

Rep: Reputation: 0
hehe.. I'm having to do the same thing. Diving in head first, bumbling my way through the command line using online doc and forum help.. but I tell you, I can install an rpm now like the wind :P
 
Old 05-19-2006, 09:09 AM   #6
ayman718
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Cool

well that's cool that you can install an rpm like nothing...what is an rpm? =)
 
Old 05-19-2006, 11:27 AM   #7
Chantale
LQ Newbie
 
Registered: May 2006
Location: Canada
Distribution: RHEL ES v4
Posts: 5

Rep: Reputation: 0
RedHat Package Manager.. I guess they're like executables or a libraries for RedHat. They're already compiled so you don't have to get source code and compile it to install something. Makes installs a little quicker!
 
Old 05-19-2006, 01:44 PM   #8
broknindarkagain
Member
 
Registered: May 2006
Location: Atlanta
Distribution: WinXP, Ubuntu
Posts: 64

Rep: Reputation: 15
I did basically the same thing you did, dive in head first.

Mounting the drive is quite a strange concept, especially if your a noob and you have been using MS all your life.

at any shell (i think you have to be root, or have admin or something) type mount /dev/hdc /mnt/hdc

/dev/hdc is your cd rom (this may varry....hdb hdc hde etc....)

and /mnt/hdc is basically the folder you will be able to find the cd rom at. Windows uses drive letters (c: d: a: etc). Linux uses a folder to mount the drive

anyways, i hope that was a help. Im kinda a noob myself....only been using linux for a few weeks, but i might as well at least try adn help.
 
Old 05-19-2006, 02:40 PM   #9
jeelliso
Member
 
Registered: Oct 2005
Location: Knoxville, Tn (USA)
Distribution: OpenSUSE, Ubuntu
Posts: 250

Rep: Reputation: 30
The best way to find out where you CDrom drive is is to try
Code:
fdisk -l
Sometimes this is in the /usr/sbin/ directory and you need to type the entire location. This will list everything in /proc/partitions. Then you will know exactly what command to issue to mount the CDrom. Make sure the directory you are trying to mount to exists, i.e., don't try to mount to /mnt/hdc if /mnt/hdc does not exist.

Typically mounting/unmounting can only be done by root, unless a certain drive is specified as otherwise in the /etc/fstab file. If you don't know anything about fstab, read this: http://www.tuxfiles.org/linuxhelp/fstab.html

In addition, there is a program called "sudo" that allows regular users (only those specified in the sudo configuration) to run root commands without having full root access, like knowing the root password. When sudo is configured, you just have to prepend "sudo" to the command you need to run as root. Take a look at the home page for sudo: http://www.courtesan.com/sudo/

Finally, newer versions of KDE and Gnome have an automount daemon that runs in the background. If this is running then KDE/Gnome should ask you what you want to do with your CDrom once a new CD in inserted. This is really the easiest way to use a CD, since you don't have to have any root permissions to do it. You can find out if automount is running by typing
Code:
ps -aux
You don't have to be root to do this either. Just look for /usr/bin/automount (or something similar) on the right side of the information it gives you.

Good luck on using/learning Linux. If you have any questions feel free to email them to me if you can't otherwise find the answer (my email is in my signature).

~Justin
 
  


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
mounting the drive resist_r Linux - Newbie 3 09-23-2005 11:26 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 07:23 PM
Mounting a drive daiver Linux - General 3 10-10-2003 07:43 PM
mounting a drive? BajaNick Linux - General 4 07-28-2003 07:20 PM
mounting drive Timboi Linux - Software 2 07-17-2003 08:14 PM


All times are GMT -5. The time now is 06:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration