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-25-2003, 07:45 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Rep:
|
cd roms
I have 2 cd roms one rewriter the other not. Ithe system says that there not mounted. Er.......excuse me whats that & how do I do that?
|
|
|
08-25-2003, 07:55 AM
|
#2
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248
Rep:
|
you should mount devices in linux by typing mount /dev/device /mountpoint
for example, when you want to mount your cdrom to /cdrom, type
mount /dev/cdrom /cdrom
After that you can access your cdrom through the folder /cdrom.
|
|
|
08-25-2003, 08:28 AM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Original Poster
Rep:
|
Thanx for that. But what are you doing when you r mounting? My cdrom seems to work but won't open again. Any reason?
Last edited by butface; 08-25-2003 at 08:35 AM.
|
|
|
08-25-2003, 08:41 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
/cdrom is just an empty directory to start with.
/dev/cdrom is what's called a 'special device file'. It's not a chunk of bytes like a regular file. It's sort of an access point to the hardware.
When you mount /dev/cdrom on /cdrom all the files on the CD (assuming there is one in the drive) magically appear as they should in the directory /cdrom.
Each partition on the hard drive also has an /dev/something special device file. One is designated as root '/'. Then all the files in the other devices and partitions are sort of glued in place relative to that by the mount process.
The file /etc/fstab contains the description of what should be mounted where and how.
For removable media like CD's, you generally have to unmount the device before you remove the disk, and vice-versa. The easiest way to handle this depends on your setup/distribution.
|
|
|
08-25-2003, 08:49 AM
|
#5
|
Member
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248
Rep:
|
You'll probably have to type umount /dev/cdrom, then you'll be able to open the cdrom again.
|
|
|
08-25-2003, 08:51 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Original Poster
Rep:
|
So if my cdrom seems to read my cd's but doesn't open when I press the button, does that meen I have to mount it? I'm sorry for this I'm a little slow u know a little like linux
|
|
|
08-25-2003, 09:01 AM
|
#7
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
If you can read the CD contents then the drive is mounted, and the computer won't let you take the disk out. So you have to unmount it e.g.
# umount /dev/cdrom
Then press the button, and it should open. Depending on your setup, there may be some sort of desktop menu for mounting/unmounting CD drives.
|
|
|
08-25-2003, 11:43 AM
|
#8
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
There is an easier way.
Open up "disk management" from 'System Tools', click the drive you want, then click mount. It will appear on the desktop. When you're done copying files or whatever, right click on the drive and hit eject
|
|
|
08-26-2003, 09:36 AM
|
#9
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Original Poster
Rep:
|
Thanks for that Mike, I've tryed that but 'device not found' comes up........what does that meen?
|
|
|
08-26-2003, 12:26 PM
|
#10
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
Are you sure the disk is in the drive?
|
|
|
08-27-2003, 06:48 AM
|
#11
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Original Poster
Rep:
|
Yep. I get most of what's on there, except audio. I can't eject. Aaaaaggghhh, this is so frustrating as I'm sure once I find out it will be something simple..........isn't usually
|
|
|
08-27-2003, 08:03 AM
|
#12
|
Member
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34
Rep:
|
Maybe the audio files are bad?
When you mount a cdrom drive it locks the drive. You can't eject. You have to unmount the drive then the eject should free up. If that is not working the only thing I can suggest is to try and eject while rebooting. That should be possible. Then if your system is auto-mounting the cdrom it should error and not mount therefor allowing you to open the drive.
Some things I would suggest:
1) try other cd's
2) try other cdrom drives and/or that drive in anothe comp.
|
|
|
08-27-2003, 09:23 AM
|
#13
|
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565
Rep:
|
You can't mount audio disks, you need to use a CD player. You only need to mount data disks.
|
|
|
08-28-2003, 11:53 AM
|
#14
|
LQ Newbie
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23
Original Poster
Rep:
|
Er thanx mike I've just figured out what you ment by Disk management............did I mention I am the most newbie'est newbie................Der
|
|
|
08-28-2003, 12:00 PM
|
#15
|
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141
Rep:
|
|
|
|
All times are GMT -5. The time now is 11:14 PM.
|
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
|
|