LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-20-2005, 03:50 AM   #1
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Rep: Reputation: 0
Angry 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 ?
 
Old 06-20-2005, 06:17 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

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

Last edited by musicman_ace; 06-20-2005 at 06:19 AM.
 
Old 06-20-2005, 09:16 PM   #3
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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?
 
Old 06-21-2005, 09:08 PM   #4
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Help me!No body have meet this problem?
 
Old 06-22-2005, 03:06 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Just a dumb qn; are you sure it's not NTFS ? Which Win Os are you running?
 
Old 06-22-2005, 04:14 AM   #6
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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!!
 
Old 06-29-2005, 04:23 AM   #7
lonelyghost317
LQ Newbie
 
Registered: May 2005
Posts: 13

Original Poster
Rep: Reputation: 0
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!
 
Old 06-29-2005, 09:42 AM   #8
mohit dhawan
Member
 
Registered: Mar 2005
Posts: 92

Rep: Reputation: 15
i was gonna talk about the modules
 
  


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
fat32 mount in linux ash_great Linux - Software 1 07-30-2005 05:50 AM
Reading of a FAT32 disk in Linux linuxcalvin Debian 5 06-01-2005 04:20 PM
use linux to format a FAT32 Hard Disk ? qwijibow Linux - Newbie 4 08-29-2003 09:38 PM
why can not mount ntfs and fat32 disk in redhat 8.0 littlecap Linux - Software 2 03-02-2003 08:08 PM
how to mount fat32 usb hard disk gvrglife Linux - General 10 02-27-2003 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 PM.

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