LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   About mount fat32 disk in linux (https://www.linuxquestions.org/questions/linux-newbie-8/about-mount-fat32-disk-in-linux-335349/)

lonelyghost317 06-20-2005 02:50 AM

About mount fat32 disk in linux
 
SOS!!!!
Hello,everybody.
I have updated my Redhat 9's kernel to 2.6.11.6.
But when i try to mount a windows partion ,i get error.
It says :
[root@localhost root]# mount -t vfat /dev/hda7 /windisk/
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
or too many mounted file systems

Anybody meet the same problem?
Can anyone help me ?

musicman_ace 06-20-2005 05:17 AM

Is FAT either loaded as a module or compiled into the kernel?
If it is a module, is it loaded? type lsmod
If it isn't loaded, load it.

Or if it truely is mounted somewhere already, type mount and that will tell you where it is mounted.

lonelyghost317 06-20-2005 08:16 PM

to:musicman_ace,thank you for your reply.
I have compiled the vfat in kernel.
But when i mount a fat32 partition,it tell me "wrong fs type,bad option".

Can you give some other advices?

lonelyghost317 06-21-2005 08:08 PM

Help me!No body have meet this problem?

chrism01 06-22-2005 02:06 AM

Just a dumb qn; are you sure it's not NTFS ? Which Win Os are you running?

lonelyghost317 06-22-2005 03:14 AM

I have two system:WindowsXP and RedHat9.
WindowsXp's system partion is C,which file system is NTFS.
And there are another partion D,E and F.They are FAT32.
After I update my RH9 to 2.6.11.6,I could'nt mount the FAT32 partion
in Linux any more.
I am hopeless.Please help me!!

lonelyghost317 06-29-2005 03:23 AM

I have solved the problem.
This is how:
From a forum,I know that to mount the FAT32 partion the modules nls_cp437 and nls_iso8859-1 are needed.So if you want to mount fat32 partion,you should load these two
modules first.
modprobe nls_cp437
modprobe nls_iso8859-1
And you also need load vfat module
modprobe vfat
Now ,you can mount the fat32 partion.
And you can add
modprobe nls_cp437
modprobe nls_cp8859-1
modprobe vfat
into the file /etc/rc.d/rc.local to avoid do this every time.
Good luck!

mohit dhawan 06-29-2005 08:42 AM

i was gonna talk about the modules :D


All times are GMT -5. The time now is 02:48 PM.