LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-19-2013, 09:55 PM   #1
ashish.deokar
LQ Newbie
 
Registered: Nov 2013
Posts: 18

Rep: Reputation: Disabled
Unhappy not able to mount dvd in rhel6


HI,

Recently i have installed RHEL 6, and i am trying to mount dvd after running
#mount /dev/cdrom /media command it shows error mount: you must specify the filesystem type
can anyone help me to resolve this issue.?

Last edited by ashish.deokar; 12-19-2013 at 09:58 PM.
 
Old 12-19-2013, 10:30 PM   #2
74razor
Member
 
Registered: Dec 2012
Posts: 39

Rep: Reputation: Disabled
I've seen this error when trying to mount to a location that doesn't exist. Maybe try mounting to /mnt/cdrom? Please keep in mind I've never actually helped anyone on these boards. I'm very new to CentOS.
 
Old 12-19-2013, 11:38 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by ashish.deokar View Post
HI,

Recently i have installed RHEL 6, and i am trying to mount dvd after running
#mount /dev/cdrom /media command it shows error mount: you must specify the filesystem type
can anyone help me to resolve this issue.?
This means that the filesystem code in the kernel doesn't understand what is on the disk you attempt to mount. The DVD might not have the right format. /dev/cdrom might not be what you think, e.g. it might point to a different device or it could be a regular file.
Perhaps there is useful information in /var/log/messages.

Also, while I doubt this is relevant here, I believe you should mount the DVD not on /media, but /media/something.

Last edited by berndbausch; 12-19-2013 at 11:39 PM.
 
Old 12-20-2013, 04:29 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Try specifying the fstype as indicated by the error msg eg iso9660
 
Old 12-20-2013, 09:10 PM   #5
ashish.deokar
LQ Newbie
 
Registered: Nov 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile

its done..
Thanks you guys...
 
Old 12-20-2013, 09:17 PM   #6
74razor
Member
 
Registered: Dec 2012
Posts: 39

Rep: Reputation: Disabled
Quote:
Originally Posted by ashish.deokar View Post
its done..
Thanks you guys...
Mind sharing what you did to make it work?
 
1 members found this post helpful.
Old 12-20-2013, 09:30 PM   #7
ashish.deokar
LQ Newbie
 
Registered: Nov 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Wink

i have add new cdrom and run # mount /dev/cdrom1 /media
after that i got cd mounted...
 
Old 12-20-2013, 10:20 PM   #8
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by ashish.deokar View Post
i have add new cdrom and run # mount /dev/cdrom1 /media
after that i got cd mounted...
Kindly share with us what your original /dev/cdrom looks like.
This is not only for curiosity. Personally, it helps me to know of real-world use cases when I teach classes. Also, everybody benefits more if you tell us what your mistake was.
 
Old 12-21-2013, 05:44 AM   #9
ashish.deokar
LQ Newbie
 
Registered: Nov 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile

If you are trying on physical machine then you have to add extra cdrom or if you are trying on vmware then simply
Go to setting you will get new window and add cdrom otherwise power off vmware, reomove exixting cdrom and readd cdrom once again..
then run # mount /dev/cdrom /media OR # mount /dev/cdrom1 /media
you will get mount: block device /dev/cdrom write protected, mounting read only..
 
  


Reply



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
Unable to mount USB device on to RHEL6.1 virtual machine krishnakishorerhce Linux - Hardware 1 07-16-2013 11:37 PM
RHEL6, VMware, shared disk - how to mount to avoid caching? cadet_concept Linux - Server 2 02-06-2013 11:10 AM
Replace /etc/inittab file from RHEL6 dvd utkarshsawant Linux - Newbie 1 03-04-2012 12:55 AM
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-02-2011 11:59 PM
[SOLVED] how to mount ntfs in rhel6.0 beta1 rahulvishwakarma Linux - Software 3 09-08-2010 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:22 AM.

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