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 07-09-2011, 11:42 PM   #1
sephstorm
LQ Newbie
 
Registered: Aug 2010
Distribution: Fedora
Posts: 18

Rep: Reputation: 0
mounting cdrom


Hi,

im doing a class and as an intro to linux, we are going through some basics. at this point I am trying to mount my cdrom. the OS is Fedora 9 I belive. Anyway, when I tried "mount cdrom" I got "cant find cdrom in /etc/fstab or /etc/mtab"

so I cat'd etc/fstab and saw /mnt/cdrom. So I tried "mount /mnt/cdrom" I get "mount: you must specify the filesystem type" and I am stuck here. im researching now, but what I have tried so far isnt working. Can someone help? in the meantime, I am going to find out about these filesystems in linux.
 
Old 07-09-2011, 11:45 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
im researching now, but what I have tried so far isnt working.
Let's see what happens when you google "mount cdrom in linux."

Enjoy your class.
 
Old 07-10-2011, 12:39 AM   #3
sephstorm
LQ Newbie
 
Registered: Aug 2010
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
When I used the instuctions at the list link "mount -t iso9660 -o ro /dev/cdrom /cdrom (in my case /mnt/cdrom)" it executed with no errors, but... I can see the files when I cd into the /mnt/cdrom folder, but I cannot access the disk in the GUI. any ideas why? Also can someone explain the options in the above command?
 
Old 07-10-2011, 03:07 AM   #4
Mr. Alex
Senior Member
 
Registered: May 2010
Distribution: No more Linux. Done with it.
Posts: 1,238

Rep: Reputation: Disabled
Can't tell anything about filesystem, but you should mount like this:
Code:
# mount /dev/sr0 /mnt/cdrom
for instance.
/mnt/cdrom must be created manually.
 
Old 07-10-2011, 02:55 PM   #5
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 2,610

Rep: Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703Reputation: 703
mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
Quote:
Also can someone explain the options in the above command?
mount => short for /bin/mount, the shell found mount by searching your PATH
-t iso9660 => filesystem type is iso9660, the standard format for data CDs and DVDs
-o ro => option ro is "read only" because you can't write to the cdrom
/dev/cdrom => the thing you want to mount, /dev is the place with all of your device names
/mnt/cdrom => where in your directory tree to mount it, must be an existing directory
 
Old 07-10-2011, 05:46 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,937

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by sephstorm View Post
When I used the instuctions at the list link "mount -t iso9660 -o ro /dev/cdrom /cdrom (in my case /mnt/cdrom)" it executed with no errors, but... I can see the files when I cd into the /mnt/cdrom folder, but I cannot access the disk in the GUI. any ideas why?
Refresh the GUI listing, and chances are the files will be there. Also, don't open the GUI until AFTER you mount the CD.
Quote:
Also can someone explain the options in the above command?
Yes, the man page for "mount" can.
 
Old 07-10-2011, 06:58 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
1. Try
Code:
cat /etc/*release*

uname -a
to check distro name/version & kernel

2. FYI, F9 is dead; current is F14 and/or F15

3. Useful links
http://rute.2038bug.com/index.html.gz
http://linux.die.net/man/
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html

Last edited by chrism01; 07-10-2011 at 07:01 PM.
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 05:46 PM
Mounting CdRom childofageek Linux - Newbie 16 01-16-2009 09:24 PM
Mounting cdrom adds2one Slackware 2 11-28-2005 05:41 AM
mounting a cdrom PlatinumRik Linux - Networking 6 05-27-2003 10:11 AM
mounting my CDROM linuxRules Linux - General 11 07-26-2002 02:52 AM


All times are GMT -5. The time now is 03:56 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