LinuxQuestions.org
Visit Jeremy's Blog.
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 08-25-2003, 07:45 AM   #1
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Rep: Reputation: 15
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?
 
Old 08-25-2003, 07:55 AM   #2
nephilim
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248

Rep: Reputation: 30
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.
 
Old 08-25-2003, 08:28 AM   #3
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Original Poster
Rep: Reputation: 15
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.
 
Old 08-25-2003, 08:41 AM   #4
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
/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.
 
Old 08-25-2003, 08:49 AM   #5
nephilim
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248

Rep: Reputation: 30
You'll probably have to type umount /dev/cdrom, then you'll be able to open the cdrom again.
 
Old 08-25-2003, 08:51 AM   #6
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Original Poster
Rep: Reputation: 15
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
 
Old 08-25-2003, 09:01 AM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
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.
 
Old 08-25-2003, 11:43 AM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
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
 
Old 08-26-2003, 09:36 AM   #9
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for that Mike, I've tryed that but 'device not found' comes up........what does that meen?
 
Old 08-26-2003, 12:26 PM   #10
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Are you sure the disk is in the drive?
 
Old 08-27-2003, 06:48 AM   #11
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Original Poster
Rep: Reputation: 15
Angry

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
 
Old 08-27-2003, 08:03 AM   #12
Bullzeye
Member
 
Registered: Aug 2003
Location: Florida
Distribution: DEBIAN 3.x
Posts: 34

Rep: Reputation: 15
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.
 
Old 08-27-2003, 09:23 AM   #13
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
You can't mount audio disks, you need to use a CD player. You only need to mount data disks.
 
Old 08-28-2003, 11:53 AM   #14
butface
LQ Newbie
 
Registered: Jul 2003
Location: UK
Distribution: Mandrake10
Posts: 23

Original Poster
Rep: Reputation: 15
Thumbs up

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
 
Old 08-28-2003, 12:00 PM   #15
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting
 
  


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
CD-ROMs PhuckFonix Linux - Games 2 07-24-2004 01:15 PM
Cannot mount CD-ROMs... candiazoo Fedora 2 04-13-2004 11:41 PM
Dual cd roms ajbrouwe Slackware 14 01-30-2004 05:39 PM
Remove CD ROMs warnick Linux - Newbie 1 08-16-2003 12:59 AM
where my roms at?! humanveal Linux - Hardware 1 10-27-2002 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:14 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
Open Source Consulting | Domain Registration