Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: foxsam on March 30, 2016, 07:56:22 PM

Title: fsck.vfat
Post by: foxsam on March 30, 2016, 07:56:22 PM
I am trying to clear up a usb flash drive that gives me the message:
Code: [Select]
[  539.258985] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
I am getting stuck running
Code: [Select]
$ fsck /dev/sda1
fsck (busybox 1.24.1, 2015-10-24 10:25:55 UTC)
fsck: fsck.vfat: No such file or directory
I looked but cannot seem to find how/where to get the proper fsck.vfat.
Any help is appreciated.
Thanks.
Title: Re: fsck.vfat
Post by: bmarkus on March 30, 2016, 10:15:04 PM
Install dosfstools from repo.

Code: [Select]
root@box:/home/tc# fsck.fat /dev/mmcblk0p1
fsck.fat 3.0.26 (2014-03-07)
/dev/mmcblk0p1: 84 files, 14379/15321 clusters
root@box:/home/tc#