Linux  and Free Software :: creating an partition / formatting hd



Can anyone tell me what is the *format command in the terminal if i want to format a drive?

and also. how can i create partitions in my harddrive?

any help is appreciated.

thanks.

you can use fdisk, cfdisk, or sfdisk to create and manage partitions.

mkfs.<your filesystem here> should format the partition.

i.e. mkfs.vfat for vfat/fat32, mkfs.ext2 for ext2, etc

-J.P.


original here.