How to repair a corrupted FAT32 file system

Try typing the following command in the Linux terminal:

Install dosfstools package

The package you need to install in your Linux PC to be able to format disk using FAT32 file system is: dosfstools

install dosfstools in Debian / Ubuntu

apt-get install dosfstools

dosfstools-3.0.13:

sudo dosfsck -w -r -l -a -v -t /dev/sdc1

or
dosfstools-3.0.26

sudo fsck.fat -w -r -l -a -v -t /dev/sdc1

20141117_fsckfat

If your partition is /dev/sdb1, for example, then unmount it first by running this command:

umount /dev/sdc1

Now you can verify and repair your partition by running this command:

sudo dosfsck -t -a -w /dev/sdc1

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s