TO FORMAT A DISK DRIVE IN (V)FAT ON GNU/LINUX $ # We're gonna start to wipe the disk. With wipefs(8): $ sudo wipefs --all /dev/sda $ # Or with dd(1): $ dd if=/dev/zero of=/dev/sd1 bs=446 count=1 $ # Then we'll erase all older partitions table with gdisk(8): $ sudo gdisk /dev/sda x z y y $ # The disk is clean, we'll create a new Microsoft basic data $ # partition: $ sudo gdisk /dev/sda n [enter] [enter] [enter] 0700 w y $ # Finally we format with (v)FAT $ sudo mkfs.fat -n TITLE /dev/sda1