2013년 6월 2일 일요일

VFAT mount

When I try to mount vfat on Gentoo.

terminal
mount /dev/sdb1 /mnt/p1
error message :
mount: wrong fs type, bad option, bad superblock on >/dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
dmesg |tail
FAT: codepage cp437 not found

solution

  • kernel reconfig and compile it
  1. make menuconfig
    -> File systems:
    -> Native language support:
    <> Codepage 437 (United States, Canada)
    <
    > NLS ISO 8859-1 (Latin 1; Western European Languages)
  2. -> DOS/FAT/NT Filesystems
    (437) Default codepage for FAT
    (iso8859-1) Default iocharset for FAT