No vfat support

i went to put the SD card from my camrera into its slot and got an error that there is not vfat support in the 7.0x kernel I am using.

But the support is there in the 6.18 LTS kernel.

solved: I just needed to a vfat to the mkinitcpio.conf file.

So how do I get this module in the 7.0 kernel and why is it even missing?

Mod edit: Removed template.

Normally it should work as it is configured:

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
CONFIG_FAT_DEFAULT_UTF8=y
CONFIG_EXFAT_FS=m
CONFIG_EXFAT_DEFAULT_IOCHARSET="utf8"
CONFIG_NTFS3_FS=m
# CONFIG_NTFS3_64BIT_CLUSTER is not set
CONFIG_NTFS3_LZX_XPRESS=y
CONFIG_NTFS3_FS_POSIX_ACL=y
CONFIG_NTFS_FS=m
# end of DOS/FAT/EXFAT/NT Filesystems

And I just found the module in /lib/modules for all installed kernels—including the 7 series kernels.

Did you compile the kernel yourself? What specific kernel version are we talking about? Can you find the module under /lib/modules?

You are supposed to read, and follow these instructions.

Not paste “How to request support” which you are supposed to do yourself.

I did find the fix to this a few weeks ago (by troubleshooting anothers’), but here is a better write up about it from @Ben:


Edit: Just realised this is vfat not ntfs.

Ahhh! It’s all MS to me!!!

May as well delete this, eh?

> cat /proc/filesystems | grep vfat
        vfat

> uname -r
7.0.10-1-MANJARO

> grep vfat /etc/mkinitcpio.conf || echo 'No vfat in mkinitcpio'
No vfat in mkinitcpio

> grep filesystems /etc/mkinitcpio.conf 
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
HOOKS=(autodetect systemd microcode modconf kms keyboard sd-vconsole block filesystems fsck)

Do you have filesystems in HOOKS?

1 Like

:backhand_index_pointing_up:
And for the record, 7.1 has the module too

[teo@teo-lenovo-v15 ~]$ lsmod |grep fat
vfat                   28672  1
fat                   114688  1 vfat
[teo@teo-lenovo-v15 ~]$ uname -r
7.1.0-rc5-1-MANJARO

2 Likes

Even though I posted a problem with ntfs-3g auto-detection, maybe the problems are correlated.

Have you at least tried manually mounting it, just for troubleshooting?

When you plug in the SD card, what is the output of the following command.

lsblk -f

Use your SD card device (found in the above command), replacing /dev/sdc in the following command to manually mount it.

sudo mount -t vfat /dev/sdc /mnt

Are there any errors, and are your files accessible in /mnt?

Have you been playing with modulejail, by any chance? :face_with_raised_eyebrow:

4 Likes

No module jail for me. The kernel was just the standard download.

cat /proc/filesystems does show vfat as one of the available file systems. Anyway, it was a simple fix.

And how was it fixed?

2 Likes

Sudo modprobe vfat

enabled it. So, support was there.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.