mount: wrong fs type, bad option, bad superblock...(cdrom,dvd and floppy)
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
This most likely means that there is a syntax error in the fstab file. The most obvious error to me is a missing comma in between codepage=850 and ro. Apart from that try trimming the number of options (for example iocharset defaults to iso8859-1). Also try setting the filesystem type. For the floppy drive vfat is probably best and for the CD-ROM/DVD-ROM drives iso9660 is probably the best bet. This replaces the auto in the third column.
It is interesting that it says /dev/fd0 is invalid. Can you copy a disk image to the floppy (e.g. with "dd if=disk.img of=/dev/fd0"). If this fails then it would seem that there is a problem with your device files rather than the fstab file for the floppy drive and possibly for the cdrom/dvd-rom drives as well.
I don't know I most likely think it's a fstab error cause before I compile a new 2.6.6 kernel it was working fine with all defaults options but I tried putting them back in and they don't work at all... I can't access the floppy at all even though when I try to mount it or mount cd-roms you see lights flashing...
Please explain what you mean by removing "unmask and codepage" for all us n00bs. I have been getting the exact same problem. I thought it had to do with supermount. So I got a patch for it, and it still doesn't work. Please help me out here. Thanks.
Here is my old /etc/fstab file :
fstab :/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850ro 0 0
/dev/fd0 /mnt/floppy auto umask=0,user,iocharset=iso8859-1,sync,codepage=850 0 0
Here is my new one :
/dev/hdc /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro,exec 0 0
/dev/hdd /mnt/cdrom2 udf,iso9660 noauto,owner,kudzu,ro,exec 0 0
/dev/fd0 /mnt/floppy vfat noauto,owner,ro,exec 0 0
I removed some useless stuff and modified other but I think only removing codepage=850 and umask=0 should do the trick. Oh and don't forget to put the auto to udf,iso9660.