1、打开终端,查看系统日志文件:
tail -f /var/log/syslog
2、插入优盘。
3、系统文集syslog输出以下内容:
Feb 26 20:40:08 noi dbus-daemon[1270]: [session uid=1000 pid=1270] Successfully activated service 'org.gnome.Shell.HotplugSniffer' Feb 26 20:40:08 noi kernel: [ 328.500293] FAT-fs (sdc1): error, corrupted directory (invalid entries) Feb 26 20:40:08 noi kernel: [ 328.500299] FAT-fs (sdc1): Filesystem has been set read-only Feb 26 20:40:08 noi kernel: [ 328.631504] FAT-fs (sdc1): error, corrupted directory (invalid entries)
4、说明优盘识别为:sdc1,并且出现错误。
5、先写在优盘:
umount /media/jack/UUI
6、用dosfsck工具修复以下:
sudo dosfsck -v -a /dev/sdc1
7、完工。注意不能输入/dev/sdc,通常都需要挂一个数字。