I got a USB drive which is probably corrupted by some virus in windows. So, I tried formatting it by plugging it into an linux system. I used fdisk and gparted to try and delete all partitions and format the drive using fdisk. But I get the following errors: 
Looking at the partition table of the disk, I noticed something very strange.
The drive is only around 4GB in size, but the some of the partitions are as large as 1TB. What I concluded was that, fdisk could not write new partition table as it could not delete the existing partition tables probably because the starting point of the first partition itself is from a value(778,135,908) higher than that of the total sectors available(7,897,087).
So, is there anyway to change the start/end of the each partitions manually? so that I can finally clean format the drive and remove the virus.
