How to format a USB stick
Posted
by
VictorL
on Ask Ubuntu
See other posts from Ask Ubuntu
or by VictorL
Published on 2012-11-29T21:47:43Z
Indexed on
2012/11/29
23:19 UTC
Read the original article
Hit count: 564
My USB stick looks dead :
victor@X301A1:~$ umount /dev/sdc1
victor@X301A1:~$ sudo mkfs -t vfat /dev/sdc1
mkfs.vfat 3.0.12 (29 Oct 2011)
mkfs.vfat: unable to open /dev/sdc1: Read-only file system
victor@X301A1:~$ sudo hdparm -r0 /dev/sdc1
/dev/sdc1:
setting readonly to 0 (off)
readonly = 0 (off)
victor@X301A1:~$ sudo fsck -n /dev/sdc1
fsck de util-linux 2.20.1
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
/.Trash-1000/files/sans_titre
Start does point to root directory. Deleting dir.
/.Trash-1000/files/Bus CAN
Start does point to root directory. Deleting dir.
Reclaimed 190903 unused clusters (781938688 bytes).
Free cluster summary wrong (1001897 vs. really 1383698)
Auto-correcting.
Leaving file system unchanged.
/dev/sdc1: 8052 files, 566660/1950358 clusters
Is there anyway for me to recover my USB stick ? Thank
© Ask Ubuntu or respective owner