I am trying format an FAT (or FAT32) file system on my ubuntu system, but I am not able to format the device, each time I am getting the error
Both FATs appear to be corrupt. Giving up.
I have tried all options like
sudo dosfsck -t -a -w /dev/sdc1 sudo dosfsck -w -r -l -a -v -t /dev/sdc1
but each time the same message comes, can any one guide me how to recover the filesystem, also i don't mind losing data of this drive as this is an external pen drive. Also, can u pl suggest of some method other then booting from a CD with software like GPARTED or something like that.