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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-21-2005, 07:03 AM
|
#1
|
Member
Registered: Mar 2005
Posts: 37
Rep:
|
mounting cd's , dvd's problems HELP!!!!!
how do i fix this error....
[myname@ip-0511 myname]$ mount /dev/hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
i get it when i try to mount a dvd on mandrake 10.1
|
|
|
03-21-2005, 07:59 AM
|
#2
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
Is it a movie DVD? If so, you don't mount it, you just play it.
If it's a data disc, check what you have in /etc/fstab for hdc.
|
|
|
03-21-2005, 08:19 AM
|
#3
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
the dvd is a data dvd
i get this message when i do /etc/fstab
[myname@ip-0511 etc]$ cd fstab
bash: cd: fstab: Not a directory
or i am doing something wrong.... i am new to linux....
|
|
|
03-21-2005, 08:37 AM
|
#4
|
Member
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368
Rep:
|
fstab is not a directory. It is a file. You are getting the error because of this.
And for mounting your DVD, read the man pages.
-Prasanta
|
|
|
03-21-2005, 08:43 AM
|
#5
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
aaaah.......!!!!!!! sorry !!!! i am new to this linux thing....
where do i find the man page?????
i dont even know how to fix this problem.....
i dont get what the problem with my fstab is.......
maybe you could help me out........................
|
|
|
03-21-2005, 08:58 AM
|
#6
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
run "cat /etc/fstab" and paste the output here. Then we can tell you if it's been set up to allow you to mount a DVD with the command you're using, or if you need to specify more details.
|
|
|
03-21-2005, 09:05 AM
|
#7
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
thats the output from the command below.............
[name@ip-0511 name]$ cat /etc/fstab
/dev/hda6 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
/dev/hdc /mnt/cdrom iso9660 noauto,users,ro 0 0
|
|
|
03-21-2005, 09:14 AM
|
#8
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
There's your problem!
You have two entries for /dev/hdc! Comment out the bottom one (by putting a # in front of it) and then try 'mount /mnt/cdrom'
(If /mnt/cdrom doesn't exist, then 'mkdir /mnt/cdrom' first)
|
|
|
03-21-2005, 09:20 AM
|
#9
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
hello again ..................
how do i comment out the last entry???
could you give me the exact steps to follow......................
please put as much details in the as possible(newbie to linux)....................sorry!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
03-21-2005, 09:27 AM
|
#10
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
okay i managed to comment out the last entry and this is how it looks like
[name@ip-0511 name]$ cat /etc/fstab
/dev/hda6 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-15,ro 0 0
/dev/hda5 /mnt/win_d ntfs umask=0,nls=iso8859-15,ro 0 0
none /proc proc defaults 0 0
#/dev/hdc /mnt/cdrom iso9660 noauto,users,ro 0 0
still i get this error!!!!!!!!!!!!!!!!!!!!!
[name@ip-0511 name]$ mount /dev/hdc
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
|
|
|
03-21-2005, 09:30 AM
|
#11
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
as for this command............
mount /mnt/cdrom
i get this.......................
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
or too many mounted file systems
|
|
|
03-21-2005, 09:33 AM
|
#12
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
i hope you saw my last tow replys that i put...................
|
|
|
03-21-2005, 09:52 AM
|
#13
|
Member
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368
Rep:
|
#mount -t iso9660 /dev/hdc /mnt/cdrom
hdc - secondary master
-Prasanta
Last edited by prasanta; 03-21-2005 at 09:56 AM.
|
|
|
03-21-2005, 10:04 AM
|
#14
|
Member
Registered: Mar 2005
Posts: 37
Original Poster
Rep:
|
okay this is what i i get from the last command you sad i should try........
[root@ip-0511 name]# mount -t iso9660 /dev/hdc /mnt/cdrom
mount: block device /dev/hdc is write-protected, mounting read-only
[root@ip-0511 name]#
then it does open the dvd....
is there a way of correcting this............so that i can mount the dvd or cd without being root............
|
|
|
03-21-2005, 10:30 AM
|
#15
|
Member
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368
Rep:
|
If you want to pass parameters while using the command then you have to root. A normal user don't have the priviledge to pass parameters.
For a normal user to mount your cdrom one must have an entry in the /etc/fstab file.
It should look like this
/dev/hdc /mnt/cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
-Prasanta
|
|
|
All times are GMT -5. The time now is 04:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|