I'm using the FAT32 file system for my pen drive. It frequently has file/data corruptions.
In Windows, I used the scan disk utility to fix the FAT32/NTFS file systems. How can I do this in Ubuntu?
|
|
Try typing the following command in the Linux terminal:
sdc1 is usually your pen drive. You can find your pen drive by typing mount in terminal. It's somewhere inside. If that command takes too much time for you, avoid -t switch.
If you want to be sure not to lose your data, create a backup of the source device first. |
|||||||||||||
|
|
You can try Dosfsck, which is a component of dosfstools. For this, type in terminal:
To use Dosfsck, you have to indicate the device address you want (Ex. /dev/sdb1, /dev/sdb2, or other device.). To know your device address, open the terminal (CTRL+ALT+T), then run this command:
If your partition is /dev/sdb1, for example, then unmount it first by running this command:
Now you can verify and repair your partition by running this command:
Hope this helps. Note: if you receive the following error, when your USB flash drive is not recognized:
Run this command:
If the output is:
Run this command:
Of course, you must change the device address to your needs, like i wrote above. |
|||||||||
|
|
Also try:
|
|||
|
|