I want to format a USB-Drive (/dev/sdc) and make multiple partitions each of a different type using fdisk. My fdisk uses sectors(not cylinders) to create a new partition.
/dev/sdc1 <- NTFS (10GiB)
/dev/sdc2 <- Fat32 (04GiB)

Can someone please provide the step by step method to be used in a terminal ?


  • Read man fidsk – waltinator Apr 14 '17 at 15:55
  • Sorry but got no clues as to how to allocate the size using sectors and no clues are there in man fdisk also... – devilz Apr 14 '17 at 16:04

Used a calculator written in C-Language

20971520 is equal to 10GiB
As shown in the picture, 512 bytes is equal to one sector.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.