Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
does vfat work?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Wed Apr 20, 2005 8:21 am    Post subject: does vfat work? Reply with quote

for some reason i can't get vfat to work, i am not able to mount vfat partitions with #mount -t vfat /dev/hda7 /mnt/vfat
my kernel looks like this

<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
(437) Default Codepage for FAT
(iso8859-1) Default iocharset for FAT


am i missing something?
_________________
help the needy
Back to top
View user's profile Send private message
nyk
Guru
Guru


Joined: 28 Aug 2004
Posts: 527
Location: Bern (Switzerland)

PostPosted: Wed Apr 20, 2005 8:27 am    Post subject: Reply with quote

Your kernel settings look good, if it's the corrent codepage for this partition.
What's the error message, if you use
-v Verbose mode
with mount?
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Wed Apr 20, 2005 8:30 am    Post subject: Reply with quote

nyk wrote:
Your kernel settings look good, if it's the corrent codepage for this partition.
What's the error message, if you use
-v Verbose mode
with mount?


Code:
# mount -v -t vfat /dev/hda7 /mnt/vfat
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
       or too many mounted file systems

_________________
help the needy
Back to top
View user's profile Send private message
nyk
Guru
Guru


Joined: 28 Aug 2004
Posts: 527
Location: Bern (Switzerland)

PostPosted: Wed Apr 20, 2005 8:46 am    Post subject: Reply with quote

Ok, this isn't very helpful..
Maybe there's a hint in dmesg or in your metalog (if you use it or something similar). When I had problems with mounting (and I had lots), sometimes I found the reason in one of the system logs.
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Wed Apr 20, 2005 8:58 am    Post subject: Reply with quote

nyk wrote:
Ok, this isn't very helpful..
Maybe there's a hint in dmesg or in your metalog (if you use it or something similar). When I had problems with mounting (and I had lots), sometimes I found the reason in one of the system logs.


oh haha i found it. ok how do i fix this?
Code:
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
NTFS driver 2.1.20 [Flags: R/O MODULE].
Unable to load NLS charset iso8859-1
NTFS volume version 3.1.
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found
Unable to load NLS charset cp437
FAT: codepage cp437 not found


from dmesg
_________________
help the needy
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Wed Apr 20, 2005 9:39 am    Post subject: Reply with quote

you have to enable codepage 437 in your kernel.
Under --> File Systems --> Native Language Support
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Wed Apr 20, 2005 9:37 pm    Post subject: Reply with quote

babo wrote:
you have to enable codepage 437 in your kernel.
Under --> File Systems --> Native Language Support


i built it as a module, and loaded it fine (nls_cp437) but when i tried to mount it i still get
mount: wrong fs type, bad option, bad superblock on /dev/hda7,
or too many mounted file systems

the partition was made in windows and i put one file in it to see if it works.

what should i do? build it into the kernel?
_________________
help the needy
Back to top
View user's profile Send private message
snapper73
n00b
n00b


Joined: 18 Jul 2004
Posts: 25

PostPosted: Thu Apr 21, 2005 12:15 am    Post subject: Reply with quote

its working fine for me. below are my .config entries. hope this helps...

Code:


  DOS/FAT/NT Filesystems  --->
                          <*> MSDOS fs support                                                         
                          <*> VFAT (Windows-95) fs support                                           
                          (437) Default codepage for FAT                                               
                          (iso8859-1) Default iocharset for FAT                                     

  --- Base native language support                                                           
                         (utf8) Default NLS Option                                                                     
                         <*>   Codepage 437 (United States, Canada)
                         <*>   ASCII (United States)



good luck. :)
Back to top
View user's profile Send private message
babo
Guru
Guru


Joined: 10 Aug 2004
Posts: 477
Location: Ljubljana

PostPosted: Thu Apr 21, 2005 9:26 am    Post subject: Reply with quote

I also have 437 and iso8859-1 built in to the kernel like snapper73
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Sun Apr 24, 2005 4:08 pm    Post subject: Reply with quote

as far as I know, if you build vfat into the kernel, you also need to load codepage 437 into the kernel. Think of it as a dependancy for fat and vfat to work correctly.

edit: a pre-requisit even. codepage needs to be up first, I think
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum