Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot mount VFAT (solved)
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
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sat Feb 19, 2005 6:41 pm    Post subject: Cannot mount VFAT (solved) Reply with quote

Here's my partition layout:

Code:

    hda1        Boot        Primary   W95 FAT32 (LBA)                  15915.92
    hda5                    Logical   Linux ReiserFS                   43001.77
    hda6                    Logical   W95 FAT32 (LBA)                  20003.89
    hda7        Boot        Logical   Linux swap / Solaris              1003.49
    hda8                    Logical   Linux ext3                          98.71


And here is my fstab:

Code:

/dev/hda8               /boot           ext3            noauto,noatime          1 1
/dev/hda5               /               reiserfs        noatime                 0 0
/dev/hda7               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro               0 0
/dev/sda                /mnt/floppy     auto            noauto                  0 0
/dev/hda1               /mnt/winxp      vfat            user=bigun,gid=users,rw,auto 0 0
/dev/hda6               /mnt/media      vfat            user=bigun,gid=users,rw,auto 0 0


And for some reason:

Code:

64lappy bigun # mount /mnt/media
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
       or too many mounted file systems
64lappy bigun # mount /mnt/winxp
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems


I've never had trouble before... what am I missing?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Sat Feb 19, 2005 10:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Sat Feb 19, 2005 6:48 pm    Post subject: Reply with quote

what does 'cat /proc/filesystems' says ?
IE did you compile vfat support in your kernel ?
Is it available as module ?
_________________
PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!!
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sat Feb 19, 2005 6:49 pm    Post subject: Reply with quote

Code:
$ cat /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   usbfs
nodev   usbdevfs
nodev   futexfs
nodev   tmpfs
nodev   pipefs
nodev   eventpollfs
nodev   devpts
        reiserfs
        ext3
        ext2
        cramfs
        squashfs
nodev   ramfs
nodev   hugetlbfs
        iso9660
nodev   devfs
        ntfs
nodev   autofs
        jfs
        xfs
nodev   mqueue
        vfat
nodev   smbfs

Code:

64lappy bigun # lsmod
Module                  Size  Used by
smbfs                  73160  0
ds                     21384  4
usbhid                 34816  0
yenta_socket           21440  0
pcmcia_core            66892  2 ds,yenta_socket
8139cp                 23680  0
nvidia               5292084  14
vfat                   16064  0
fat                    50016  1 vfat
ndiswrapper           154256  0
8139too                27072  0
st                     41636  0
sbp2                   26376  0
ohci1394               34948  0
ieee1394              120728  2 sbp2,ohci1394
usb_storage            70208  0
ohci_hcd               22596  0
uhci_hcd               33376  0
ehci_hcd               32324  0

_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Matt126
n00b
n00b


Joined: 18 Apr 2004
Posts: 16

PostPosted: Sat Feb 19, 2005 8:12 pm    Post subject: Reply with quote

I had this problem too.. check dmesg for errors after you try it. You're missing a kernel option. Go into filesystems, make sure you have DOS filesystem enabled as well as vfat, then go to Native Language Support and enable NLS ISO 8859-1 (Latin 1; Western European Languages). Don't ask me why, but it works.

Hope this helps.
Back to top
View user's profile Send private message
Le Sot Zi
n00b
n00b


Joined: 06 Feb 2003
Posts: 64
Location: Lille

PostPosted: Sat Feb 19, 2005 8:20 pm    Post subject: Reply with quote

user=bigun and gid=users seem to be bad options for vfat ... Remove them and try again...
_________________
PLuS oN eSt ² FoUs... pLUs oN ESt fOUs !!!!!!!!
Back to top
View user's profile Send private message
HeissFuss
Guru
Guru


Joined: 11 Jan 2005
Posts: 414

PostPosted: Sat Feb 19, 2005 9:31 pm    Post subject: Reply with quote

When you get the partitions correctly mounted you can add the option umask=0000 for full r/w.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sat Feb 19, 2005 10:11 pm    Post subject: Reply with quote

Le Sot Zi wrote:
user=bigun and gid=users seem to be bad options for vfat ... Remove them and try again...


Duh.... I forgot.... it was supposed to be "UID" not "users"
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 586
Location: Escaping from NY

PostPosted: Thu Feb 24, 2005 4:27 pm    Post subject: Reply with quote

Matt126 wrote:
I had this problem too.. check dmesg for errors after you try it. You're missing a kernel option. Go into filesystems, make sure you have DOS filesystem enabled as well as vfat, then go to Native Language Support and enable NLS ISO 8859-1 (Latin 1; Western European Languages). Don't ask me why, but it works.

Hope this helps.
As for me I had a similar problem. The problem wasn't fixed by compiling this in but dmesg said it wanted Codepage 437 (which is Codepage 437 (United States, Canada)) and with this I was able to get my iRiver (iFP) working mounted with vfat. Thanks for the suggestion.
_________________
Michael
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