C.5. Debian Partitioning Programs

Several varieties of partitioning programs have been adapted by Debian developers to work on various types of hard disks and computer architectures. Following is a list of the program(s) applicable for your architecture.

partman

Recommended partitioning tool in Debian. This Swiss army knife can also resize partitions, create filesystems and assign them to the mountpoints.

cfdisk

A simple-to-use, full-screen disk partitioner for the rest of us.

Note that cfdisk doesn't understand FreeBSD partitions at all, and, again, device names may differ as a result.

mac-fdisk

Mac-aware version of fdisk.

One of these programs will be run by default when you select Partition disks (or similar). It may be possible to use a different partitioning tool from the command line on VT2, but this is not recommended.

One key point when partitioning for Mac type disks is that the swap partition is identified by its name; it must be named «swap». All Mac linux partitions are the same partition type, Apple_UNIX_SRV2. Please read the fine manual. We also suggest reading the mac-fdisk Tutorial, which includes steps you should take if you are sharing your disk with MacOS.