LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-26-2009, 09:37 PM   #1
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Rep: Reputation: 0
Command For Mounting the CD_ROM


Whet is the command for mounting the CD_ROM?
 
Old 06-26-2009, 09:58 PM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
If you are putting in a audio cd you don't mount it.

If you are trying to look at data make a directory someplace to mount it to.

as root

Code:
mkdir /mnt/directory-name 

mount /dev/sdc /mnt/directory-name
or take a look in /media and see if it has a directory named cdrom0 if so then as root or sudo

Code:
mount cdrom0
to un mount

Code:
umount cdrom0
 
Old 06-26-2009, 10:40 PM   #3
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
mount will require a filesystem type to be defined (does so on my system), so it will be something like
mount -t iso9660 /dev/sdc /mnt/directory-name
to follow-up on the previous sample.

Linux

Last edited by jeromeNP7; 09-04-2009 at 08:53 PM.
 
Old 06-26-2009, 11:31 PM   #4
gautamshaw
LQ Newbie
 
Registered: Jun 2009
Posts: 16

Original Poster
Rep: Reputation: 0
To defined the file system,I think the command would be
mkfs -t iso9660 /dev/sdc /mnt/directory-name
inspite of
mount -t iso9660 /dev/sdc /mnt/directory-name
 
Old 06-27-2009, 12:20 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by gautamshaw View Post
To defined the file system,I think the command would be
mkfs -t iso9660 /dev/sdc /mnt/directory-name
inspite of
mount -t iso9660 /dev/sdc /mnt/directory-name
No, mkfs creates filesystems. All you want to do is tell mount which system the CD uses. Actually, you may not even need to specify the -t option when mounting, but doing so won't hurt.

Usually, you should have a symbolic link, /dev/cdrom that points to the actual device (like /dev/sdc), so you can use that. Also, you usually have an entry in /etc/fstab for the CD-ROM, which means a mount point for it will already exist and you can just do "mount /dev/cdrom" (or whatever the device name is), which may need to be done as root. Attach your /etc/fstab to your next post if you're unsure.
 
  


Reply

Tags
linux



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
Already windows xp is there and when try to install linux cd not booting from CD_ROM kumartnj Linux - Hardware 3 05-24-2009 04:39 AM
Linux Tutorials ( CD_ROM Video) please help "NEWBIE" crashedspine Linux - Newbie 3 06-24-2004 02:35 PM
Linux Tutorials ( CD_ROM Video) please help "NEWBIE" crashedspine Linux - Security 2 06-24-2004 12:05 AM
any linux distro can running in RAM , not need CD_ROM reading when running. wangcity Linux - General 3 09-18-2003 05:45 AM
How do I make a bin and cue file from a cd_rom? Moses420ca Linux - Newbie 4 08-13-2003 12:55 AM

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

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