lsblkto check which drive to format.sudo fdisk -lcan be used too for more details.- Unmount drive:
umount /dev/sdb1 - Select the drive, without the number (sdc instead of sdc1):
sudo fdisk /dev/sdc gto create new GPT partitionnto write new partition- press enter to use default value, entire drive
wto to write.lsblkagain to confirm.- Set filesystem type e.g. fat32. Select the partition, this time with the number (sdc1):
sudo mkfs.fat -F 32 -n LABEL /dev/sdc1