LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Vfat errors. (https://www.linuxquestions.org/questions/linux-newbie-8/vfat-errors-173475/)

operationshiri 04-22-2004 05:55 PM

Vfat errors.
 
I have a dual boot and want to be able to pass files between 98se and rh linux. From what I found online I use the command mount -t vfat -o rw /dev/hda3 /mnt/c which of course is modified to fit my setup. but I get this error...

mount: wrong fs type, bad option, bad superblock on /dev/hda3,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)


Can someone please offer some advice or help. And also why can't i run lsmod in redhat 9? it tells me command cant be found. Anyway..thank you.

davec 04-22-2004 06:05 PM

ok, try this:
mount -t vfat /dev/hda3 /mnt/c/
which will mount your win98 partition. This only works if your win98 partition is fat32? if you have it as NTFS, it won't work.
The reason your command wasn't working was the option '-o rw', which means you want to write to a vfat partition, which linux will not do, and for good reason! all you can do is copy files across to your linux partition in order to modify them. If you are only reading or viewing/ listening, you can do it directly from the mount point. any other bother, post up again....

operationshiri 04-22-2004 06:32 PM

Tells me command not found. And why can't I read/write to my 98 drive? Is it a permission issue..kernal..etc? I do thank you for the help. May open source take over the world!!!

michaelk 04-22-2004 06:59 PM

lsmod is located in /sbin and is not included in a users path. Try:
/sbin/lsmod

Are you positive that your 98 partition is hda3? log in as root and post the output of the following command
fdisk -l (that is a small L)

Electro 04-23-2004 12:51 AM

Change:
mount -t vfat -o rw /dev/hda3 /mnt/c

To:
mount -t vfat -o umask=000,rw /de/hda3 /mnt/c

davec 04-23-2004 08:21 AM

how did you get on with that? the main reason that the 'rw' option doesn't work is because you are mounting a windows partition, not a linux partition..... and of course, you must be SU before you can mount anything at terminal. BTW, what distro are you using? that might make all the difference....


All times are GMT -5. The time now is 03:07 PM.