LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting cd's , dvd's problems HELP!!!!! (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-cds-dvds-problems-help-304250/)

resego 03-21-2005 07:03 AM

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

oneandoneis2 03-21-2005 07:59 AM

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.

resego 03-21-2005 08:19 AM

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....

prasanta 03-21-2005 08:37 AM

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

resego 03-21-2005 08:43 AM

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........................

oneandoneis2 03-21-2005 08:58 AM

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.

resego 03-21-2005 09:05 AM

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

oneandoneis2 03-21-2005 09:14 AM

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)

resego 03-21-2005 09:20 AM

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!!!!!!!!!!!!!!!!!!!!!!!

resego 03-21-2005 09:27 AM

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

resego 03-21-2005 09:30 AM

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

resego 03-21-2005 09:33 AM

i hope you saw my last tow replys that i put...................

prasanta 03-21-2005 09:52 AM

#mount -t iso9660 /dev/hdc /mnt/cdrom
hdc - secondary master

-Prasanta

resego 03-21-2005 10:04 AM

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............

prasanta 03-21-2005 10:30 AM

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 01:26 AM.