How to prepare usb keys for use in linux

Most usb storage devices are formated as FAT32 when you purchase them, which can be used in modern Windows/Mac/Linux machines. If you need to format or repartition the devices and you want them to be accessable to both windows and linux you need to make sure they are partioned in the FAT32 format.


If you want to use the device also in Mac and Windows machines it should have a FAT32 partition. The manual page of the linux partioning program fdisk recomends to use the windows version of fdisk. However after some fiddling with the linux version it seemed to work (no details but it took two attempts to make it work).


Format using windows as FAT32 - if you format as FAT this will result in errors in Linux because of the partition size limitations of FAT which windows seems to ignore.