Skip to content
LINUX · OPEN SOURCE · COMMUNITYIndependent editorial publication

Planning Disk Partitions for a Debian Installation

SATA-drive
Illustrative photograph. Illustrative hardware photograph; not an original historical image. — Frettled; CC BY-SA 4.0. Source: https://commons.wikimedia.org/wiki/File:SATA-drive.jpg

List the data and services

A disk layout should reflect how the computer will be used. A desktop needs enough space for applications and personal files, while a server may need room for logs, databases or other service data. Begin with an inventory of existing partitions and files. Back up anything that must survive before opening a partitioning tool.

Consider separate filesystems deliberately

Separate mount points can help isolate workloads and make some recovery tasks easier, but every additional filesystem also introduces capacity decisions. A poorly sized partition can fill while space remains unused elsewhere. Debian supports several partitioning approaches; consult the installer documentation for the selected release rather than applying a layout copied from a different machine.

Check the result after installation

Verify which filesystems are mounted and how much space remains with commands such as findmnt and df -h. Keep a record of the chosen layout and understand how the system starts before changing partitions later. A backup is separate from partitioning: storing copies on another partition of the same failing disk does not protect against physical disk failure.

For related context, read backup and restore planning. Visit the Debian Planet homepage for more guides.

References

Return to homepage