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 09-16-2005, 08:06 PM   #1
ben_h_24
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Rep: Reputation: 15
how do i read a cd


I finally got mandrake 10.1 going, this is my first time using linux. How do I get linux to read my data cd and let me copy files?
 
Old 09-16-2005, 08:45 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
you have to mount the cd at a mount point. if your cd-rom is /dev/hdc and your mount point is /mnt/cdrom, as root you would do

mount /dev/hdc /mnt/cdrom

then you could cd to /mnt/cdrom and read the disc, or open the location with a file manager, etc.
 
Old 09-16-2005, 08:52 PM   #3
recursv
Member
 
Registered: Oct 2004
Location: Cork, Ireland
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
there is a graphical way, but i am not a mandrake user so i can only tell you the console way of doing it.

For the quick fix, as root in a console window type:
mount /mnt/cdrom

this could work , it depends if your cdrom is configured to be mounted in /etc/fstab. The fstab file contains entries on how to mount and who may mount certain file systems. That may sound complex but its easy after a the first time.

There are a bunch of entries in the fstab file. It should look something like this...
/dev/hda1 / ext3 defaults 0 0
what this means follows....
"device name" "mount point" "file system type" "options" "priority" "something"
Yeah, i;m a newbie too
So, what you want to look for is a line that points to your cdrom drive ( the easy way to find that is the mount point should be /mnt/cdrom ) and change the options to read
/dev/cdrom /mnt/cdrom /iso9660 user,noauto,owner,ro

This will enable any user to mount a cdrom. so you should be able to do it from knoqueror in kde or what ever you are using.

Just for a final handy tip.. "man <app>" is a usefull command. It is a reffernce to manuals for programs installed. (you should have it installed by default) so for more information try "man fstab" and "man mount"

Best of luck to you.
 
Old 09-16-2005, 08:55 PM   #4
arjun_sh
LQ Newbie
 
Registered: Mar 2005
Location: Bangalore, India
Distribution: Ubuntu (Dapper Drake)
Posts: 25

Rep: Reputation: Disabled
You need to 'mount' block devices like cd roms under a directory before you actually read them. what i mean is that after mounting a cdrom, it no longer remains a seperate device, but part of your linux filesystem.
Even hard drive partitions are 'mounted' under a directory before you can read them.

to mount, you need to issue a command in the terminal (hope you know what that is)
if you were using Fedora, like I do, you would find it in System Tools in the KDE Menu. (I doubt if you are using text mode, and if you are then, the first thing you see after login is the bash prompt!)

1. type "mount /dev/cdrom" in the terminal
2. if you are lucky, your cdrom device (/dev/cdrom) will get mounted in "/mnt/cdrom" or some such directory inside "/mnt" (check /etc/fstab file to see where the cdrom gets mounted by default)
3. you can then access the cdrom as if it WERE the directory "/mnt/cdrom"

when you are done with using the cdrom, do this to be able to eject it:
ty
1. close all programs using the cdrom (including file browsers)
2. type "umount /dev/cdrom" in the terminal to unmount it (no, its not 'unmount' but 'umount')
3. type "eject /dev/cdrom" in the terminal to eject the cdrom

hope that helps!
 
Old 09-16-2005, 08:59 PM   #5
arjun_sh
LQ Newbie
 
Registered: Mar 2005
Location: Bangalore, India
Distribution: Ubuntu (Dapper Drake)
Posts: 25

Rep: Reputation: Disabled
oh sick! i just posted that because i didn't see the other posts before i posted. in fact i saw 0 replies when i first opened the thing, but it seems there are a lot of people ready to help
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 01:17 PM
mozzla problems-can not read files online, can not read attachments sarajevo Linux - Software 1 09-20-2005 07:58 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 08:14 PM
kernel panic unable to mount root (yes ive read/read other posts) dmx9595 Linux - General 4 01-17-2004 06:07 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM


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