LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-22-2004, 05:55 PM   #1
operationshiri
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
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.
 
Old 04-22-2004, 06:05 PM   #2
davec
LQ Newbie
 
Registered: Apr 2004
Location: Dublin, Ireland
Distribution: fedora core 1, redhat 9.0, slackware 9.0
Posts: 22

Rep: Reputation: 15
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....
 
Old 04-22-2004, 06:32 PM   #3
operationshiri
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
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!!!
 
Old 04-22-2004, 06:59 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,391

Rep: Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652
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)
 
Old 04-23-2004, 12:51 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

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

To:
mount -t vfat -o umask=000,rw /de/hda3 /mnt/c
 
Old 04-23-2004, 08:21 AM   #6
davec
LQ Newbie
 
Registered: Apr 2004
Location: Dublin, Ireland
Distribution: fedora core 1, redhat 9.0, slackware 9.0
Posts: 22

Rep: Reputation: 15
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mkfs.vfat /dev/hdb ERRORS! fatrandy13 Linux - Hardware 1 05-31-2005 08:36 PM
Slow access to VFAT partition and errors in dmesg Cyber Paladin Linux - Hardware 1 05-22-2005 12:57 PM
vfat I/O error 2.6.5 Farmchild Linux - Hardware 0 04-21-2004 12:27 PM
vfat InsaneBob Linux - Software 1 03-22-2003 11:01 AM
copy files from vfat to vfat from linux? purpleburple Linux - General 2 12-11-2002 03:24 PM


All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration