LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   mount /cdrom problems (http://www.linuxquestions.org/questions/slackware-14/mount-cdrom-problems-78011/)

legin 08-01-2003 09:18 AM

mount /cdrom problems
 
I'm sure I should know this, but can anyone remind an old brain?
I recently installed Slackware 9.0 and I am having trouble mounting a cd.
The line in /etc/fstab seems to be ok:-

/dev/cdrom /cdrom iso9660 ro,users,noauto 0 0

but every time I try to mount the cd I get the old:-

legin@alfred:~$ mount /cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
or too many mounted file systems
legin@alfred:~$


Can anyone help me out please?

legin

reclusivemonkey 08-01-2003 09:59 AM

Slackware mounts drives on /mnt. You should have a /mnt/cdrom. Change this in /etc/fstab and then do a mount /mnt/cdrom. If for some reason you don't have /mnt/cdrom, mkdir /mnt/cdrom. Should work then :-)

munkeh

mindnumbed 08-01-2003 05:55 PM

I always used auto for my cdrom. that would probably help with the "wrong fs type" message...however i would have thought it's work with iso9660

LinFreak! 08-02-2003 02:25 PM

here's my fstab.

/dev/hda6 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hda3 /home reiserfs defaults 1 2
/dev/hda5 /usr/local reiserfs defaults 1 2
/dev/hda1 /mnt/hda1 vfat defaults 1 0
/dev/hda7 /mnt/hda7 vfat noauto,user,exec,rw,nosuid,umask=007 1 0
/dev/cdrom /mnt/cdrom auto noauto,user,ro 0 0
/dev/cdrom1 /mnt/cdrom1 auto noauto,user,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

as mentioned above, if you dont have /mnt/cdrom then create it! other applications use /mnt/cdrom as their default cd device (cdplayer for instance)


All times are GMT -5. The time now is 12:58 PM.