First, find the drive you want to format.
Note it down, it will from now on be referred to as
/dev/sdX, with it’s partition referred to as
Unmount the partition
> umount /dev/sdXY
Wipe the device (this will take a while).
> dd if=/dev/zero of=/dev/sdX bs=1024
Recreate the partition table
> fdisk /dev/sdX
nto create a new table
pfor partition table
1to select the first partition
- Press enter twice to select the default first and last sectors
tto change the partition type of partition 1
6to change it to FAT16
wto commit the changes to disk
Reformat it as FAT32 so it can be used on all operating systems.
> mkfs -t vfat /dev/sdXY