Format a USB stick on Ubuntu
Taken from: Link - How to format a USB flash drive? - Ask Ubuntu
sudo fdisk -l
It will show all the volumes. My stick was at /dev/sdb1 .
Change /dev/sdb1 if the USB stick isn't there and enter its correct address.
If the USB stick is at /dev/sdb1, unmount it with:
sudo umount /dev/sdb1
Then format it with fat32 like so:
sudo mkfs.vfat /dev/sdb1