Originally Posted by Carlwill
So what would the command look like to format /dev/sdb?
I usually like to try all of the commands before I provide a recipe, but it this case, I don't have a drive available to test without losing data. Having said that, this is the basic procedure, with apologies if I've overlooked something. Since you are starting with new media, there shouldn't be a risk of data loss.
man fdisk, &
You need to create the partition(s) using fdisk.
use 'n', to create a new partiton, and enter partiton size & type parameters as desired.
use 'w' to write the partition table to the media. Repeat until all sectors used, or enough partitions created.
Again, as root,
mkfs -t vfat /dev/sdb1
Repeat as necessary, for any adiditional partitions.
I forget the maximum size of fat32 partitions, but as Crito
mentions, you may bump into that limit.
After creating the filesystem(s), they can be mounted, using mount