View previous topic :: View next topic |
Author |
Message |
bartszyszka n00b
Joined: 23 May 2002 Posts: 29
|
Posted: Sat May 25, 2002 3:07 pm Post subject: vfat not working |
|
|
Hi. I just got Gentoo setup a few days ago, but am having trouble mounting a partition I have WindowsMe installed on so that I can access the files there. When I run mount -t vfat /dev/hda4 /c (I mkdird the /c directory before), I get this error:
mount: fs type vfat not supported by kernel
but I specifically re-compiled my kernel so that it would have vfat support. And when I check the Kcontrol module for looking at the kernel setup, everything for vfat support seems to be working fine. Any idea?
- Bart |
|
Back to top |
|
|
craftyc Guru
Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Sat May 25, 2002 4:04 pm Post subject: |
|
|
Have you got an entry for it in your /etc/fstab file? This is what my /etc/fstab file says for the windows partition.
/dev/hda1 /mnt/windows vfat noatime,user,noauto 0 0
Then what I do to mount is mount /dev/hda1. It will mount the drive to /mnt/windows and I will have write access to it. Try it, if you run into any errors post the exact error here. _________________ Postcount ++ |
|
Back to top |
|
|
bartszyszka n00b
Joined: 23 May 2002 Posts: 29
|
Posted: Sat May 25, 2002 4:59 pm Post subject: Still no go |
|
|
Hmm.... it still says:
mount: fs type vfat not supported by kernel
Is there some config file for mount or some other file where it might still think that vfat isn't supported? I think the first time around I compiled my kernel without vfat support by accident and then I recompiled with the support added in. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20097
|
Posted: Sat May 25, 2002 5:19 pm Post subject: |
|
|
fstab is the only file I have ever made changes. What other partitions are on the hard drive? Are you certain you are trying to mount the correct partition? Also, what support did you load in the kernel? IIRC there is more than 1 setting to include. |
|
Back to top |
|
|
bartszyszka n00b
Joined: 23 May 2002 Posts: 29
|
Posted: Sat May 25, 2002 6:50 pm Post subject: |
|
|
Which settings would that be? Under filesystens, I have both "DOS FAT fs support" and "VFAT (Windows-95) fs support" compiled in. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20097
|
Posted: Sat May 25, 2002 7:07 pm Post subject: |
|
|
I've compiled these: Code: | DOS FAT fs support
MSDOS fs support
VFAT support (only works if you say Y to DOS FAT) | I'm not sure if MSDOS fs support is required. Also, I think you might need PC BIOS (MSDOS partition tables) support. Found under partition support.
I'm not positive thats it, but those seem to be the obvious ones to check. |
|
Back to top |
|
|
bartszyszka n00b
Joined: 23 May 2002 Posts: 29
|
Posted: Sat May 25, 2002 7:12 pm Post subject: |
|
|
Hmm... maybe I should try re-compiling, then. My laptop uses NVidia's geforce2go drivers. Does that mean I'll have to emerge those and xfree again too? And if I do that, does that mean I'll have to recompile stuff like kde? I have a beautiful setup right now and am afraid to break it... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20097
|
Posted: Sat May 25, 2002 7:14 pm Post subject: |
|
|
AFAIK the only thing you'll need to recompile are the alsa-drivers (if you're using them). |
|
Back to top |
|
|
bartszyszka n00b
Joined: 23 May 2002 Posts: 29
|
Posted: Sat May 25, 2002 8:48 pm Post subject: |
|
|
Hmm... I just tried recompiling everything, selected all those extra options, and it's *still* not letting me mount a vfat drive. Are there any config files I can check that would tell me if vfat support was properly setup and that there's nothing left over thinking that vfat hasn't been installed? I have a feeling that there's still some old configuration left somewhere... |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20097
|
Posted: Sat May 25, 2002 8:52 pm Post subject: |
|
|
The only other thing I can think of, is to try and get a fat32 partition onto another controller to test. You never mention hda or hdb? Could you put the drive there to see if it would mount? It could be your onboard raid controller is not supported. I know of no config files. |
|
Back to top |
|
|
gboyce n00b
Joined: 18 Apr 2002 Posts: 22 Location: Lynn, MA
|
Posted: Tue May 28, 2002 11:06 am Post subject: |
|
|
bartszyszka wrote: | Hmm... I just tried recompiling everything, selected all those extra options, and it's *still* not letting me mount a vfat drive. Are there any config files I can check that would tell me if vfat support was properly setup and that there's nothing left over thinking that vfat hasn't been installed? I have a feeling that there's still some old configuration left somewhere... |
Did you compile vfat into the kernel, or as a loadable module? If it's a module, try running modprobe vfat before attempting to mount the partition.
You can also try checking /proc/filesystems. It shows all filesystems supported by your kernel. make sure that vfat is listed in there |
|
Back to top |
|
|
brackenhill_mob n00b
Joined: 17 Jul 2002 Posts: 62 Location: Berkhamsted, Herts, UK
|
Posted: Wed Jul 17, 2002 12:36 pm Post subject: |
|
|
I'm having exactly the same problem, but when I run mount I see this message
Code: |
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
|
This is on a laptop which used to have Mandrake 8.2BetaX on it which worked fine finding the Win98 partition (/dev/hda1). Mandrake ran LILO if this helps.
I've checked fstab and /dev/proc/filesystems and vfat shows up everywhere.
I'm stumped!
Philip |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Wed Jul 17, 2002 3:34 pm Post subject: |
|
|
Can you post your /etc/fstab file and a listing of "fdisk -l /dev/hda"?
Philip de Lisle wrote: | I'm having exactly the same problem, but when I run mount I see this message
Code: |
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
|
...
|
|
|
Back to top |
|
|
Guest
|
Posted: Wed Jul 17, 2002 4:25 pm Post subject: |
|
|
fdisk -l /dev/hda shows
Code: |
Disk /dev/hda: 240 heads, 63 sectors, 2343 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 417 3152488+ b Win95 FAT32
/dev/hda2 418 2344 14564088 5 Extended
/dev/hda5 418 431 105808+ 83 Linux
/dev/hda6 432 535 786208+ 82 Linux swap
/dev/hda7 536 2344 13671976+ 83 Linux
|
and the relevant line /etc/fstab is
Code: |
/dev/hda1 /mnt/Win98 vfat iocharset=iso8859-15,umask=0,codepage=850 0 0
|
Obviously there is no line break in the actual file
Philip |
|
Back to top |
|
|
puddleglum n00b
Joined: 04 Jul 2002 Posts: 63 Location: Albuquerque
|
Posted: Wed Jul 17, 2002 5:06 pm Post subject: |
|
|
Have you tried mounting a different vfat device (like a floppy) to see if
its the device or the software. |
|
Back to top |
|
|
Guest
|
Posted: Wed Jul 17, 2002 6:06 pm Post subject: |
|
|
These options can cause problems:
iocharset=iso8859-15,umask=0,codepage=850
Did you build in these NLS options into your kernel directly or as a module? If you did not, you will get these errors. Try doing:
Code: |
mount -t vfat /dev/hda1 /mnt/Win98
|
If this works, you can either remove these options from fstab or rebuild you kernel.
Anonymous wrote: | fdisk -l /dev/hda shows
Code: |
Disk /dev/hda: 240 heads, 63 sectors, 2343 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 417 3152488+ b Win95 FAT32
/dev/hda2 418 2344 14564088 5 Extended
/dev/hda5 418 431 105808+ 83 Linux
/dev/hda6 432 535 786208+ 82 Linux swap
/dev/hda7 536 2344 13671976+ 83 Linux
|
and the relevant line /etc/fstab is
Code: |
/dev/hda1 /mnt/Win98 vfat iocharset=iso8859-15,umask=0,codepage=850 0 0
|
Obviously there is no line break in the actual file
Philip |
|
|
Back to top |
|
|
brackenhill_mob n00b
Joined: 17 Jul 2002 Posts: 62 Location: Berkhamsted, Herts, UK
|
Posted: Thu Jul 18, 2002 4:01 pm Post subject: |
|
|
Anonymous wrote: | These options can cause problems:
iocharset=iso8859-15,umask=0,codepage=850
|
Yippee! Fixed it by removing these in fstab.
You are a star - many thanks
Philip |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Thu Jul 18, 2002 4:21 pm Post subject: |
|
|
I just noticed that I did not remove the umask=0 option in my quote. You can actually keep that option since it has nothing to do with NLS. Sorry about that.
BTW, if you really want codepage 850 and iso8859-15, compile them into the kernel and you should be OK with these options in fstab too.
Philip de Lisle wrote: | Anonymous wrote: | These options can cause problems:
iocharset=iso8859-15,umask=0,codepage=850
|
Yippee! Fixed it by removing these in fstab.
You are a star - many thanks
Philip |
|
|
Back to top |
|
|
ealfert Tux's lil' helper
Joined: 17 Jul 2002 Posts: 86 Location: Weston, FL, US
|
Posted: Fri Jul 19, 2002 7:18 pm Post subject: |
|
|
Thanks... i was having the same problem...
I basically copied my settings from my previous Mandrake 8.2 install thinking it would work...
removing codepage 850 and iso8859-15 worked... i left umask=0
What is NLS?
What is codepage 850 and iso8859-15 good for?
Should i go through th trouble of compiling into the kernel?
Mandrake had it...does that mean that they know what they are doing and i should do it that way too? _________________ Edward Alfert
RootMode, LLC
http://www.rootmode.com/ |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Fri Jul 19, 2002 7:30 pm Post subject: |
|
|
NLS = Native Language Support, support for internationalized text.
iso8859-15 = charset (encoding) that supports the Euro character, etc.
codepage 850 = microsoft oem code page for Western European languages
Compiling them as modules probably would not hurt and won't bloat your kernel much.
ealfert wrote: | Thanks... i was having the same problem...
I basically copied my settings from my previous Mandrake 8.2 install thinking it would work...
removing codepage 850 and iso8859-15 worked... i left umask=0
What is NLS?
What is codepage 850 and iso8859-15 good for?
Should i go through th trouble of compiling into the kernel?
Mandrake had it...does that mean that they know what they are doing and i should do it that way too? |
|
|
Back to top |
|
|
rburley n00b
Joined: 07 Mar 2003 Posts: 28 Location: USA
|
Posted: Sun Mar 09, 2003 6:57 pm Post subject: |
|
|
hello,
i'm having a hard time getting the vfat module to install correctly. i think that it has something to do with not having the correct NLS setup. if anyone has experienced anything like this, please see the thread fat filesystem module in the Installing Linux forum.
thanks |
|
Back to top |
|
|
EnigmaedgE Tux's lil' helper
Joined: 20 Mar 2003 Posts: 89
|
Posted: Fri Mar 21, 2003 9:23 am Post subject: |
|
|
hey, i have the same problem....everything seemed to comple fine. But it still says vfat not recognized by kernel.
But my /proc/filesystem doesnt show vfat. What do i do from here? |
|
Back to top |
|
|
|