how to partion a sd card

i partion a sd card , after partioning ,using a like this mkfs.msdos -
F32/dev/sdb1p1 -n xxxxx
is not working ,getting a error like this "no device or file
available "

  pla give me suggestions

I suggest you foloow the instruction found here so that the SD card will be bootable and can be read by the processor.