WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: fsck.vfat  (Read 4514 times)

Offline foxsam

  • Newbie
  • *
  • Posts: 12
fsck.vfat
« on: March 30, 2016, 10: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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: fsck.vfat
« Reply #1 on: March 31, 2016, 01:15:04 AM »
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#
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."