Partitioning hard disks under Debian/Ubuntu and resizing partitions

A proper server installation requires a proper partitioning, in contrast with a workstation in which we usually install everything under the root partition (/). When we plan a server installation we estimate the size for different aspects of the server, dividing it for backup, security or technical purposes, we can determine a partition as ext4 or reiserfs according to the filesystem we need or limit the size. In this tutorial we will divide our hard disk both in graphical and command modes and we’ll resize different partitions.