I have an 8GB USB 2.0 flash drive (no-name), on which I tried a few days ago to copy a film of about 6GB. The flash drive had NTFS file system so I thought there will be no problems. But at some point an error had occurred that I didn't noticed and after some time I removed the flash drive without seeing the error. Now the flash drive is unusable. In Windows I get a Drive is write protected
error, so I tried with Ubuntu.
I have run GParted as superuser, with the partition not mounted. This is how GParted recognizes the drive:
And in the Information tab it is said
Unable to detect file system! Possible reasons are
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available (un-formatted)
- The device entry /dev/sdd1 is missing
Ultimately, when I try to format (simply format, or delete partition then make a new partition), I get the following errors:
Input/output error during write on /dev/sdd
Error fsyncing/closing /dev/sdd: Input/output error
I tried using dd if=/dev/zero of=/dev/sdd bs=512 count=1
to clear all data, then
mkfs -t vfat /dev/sdd1
to format to FAT32, but this has no effect. Also, I searched for bad sectors with badblocks -sv -b 512 /dev/sdd
, and it returned 0 bad blocks
.
Any ideas of how can I make this flash drive usable?
Update: I have managed to wipe the data (fill with zero) using Minitool Partition Wizard under windows, but now under Windows/Ubuntu the drive is recognized as "read-only"... can't do anything to it...
dd
command to overwrite an 8GB USB flash drive.