When creating a new Debian server, I generally partition the storage as follows: (I usually, also, create my VMs with a 32GB disk)
| Mountpoint | # | Type | Label | Size | Description |
|---|---|---|---|---|---|
| 1 | EFI | 256MB | Only necessary with UEFI boot environments (this is the future, start doing this) | ||
| /boot | 2 | ext4 | boot | 1GB | This sizing is overkill. I set 1GB because I have the space and better ensures no future space issues |
| [SWAP] | 3 | swap | swap | 2GB | I generally try to size RAM on the system so SWAP is not used, so I just set 2GB and call it good. |
| /home | 4 | ext4 | home | 4GB | Use a separate /home partition so in the event a system process fills /, users can still login without issues caused by capacity |
| / | 5 | ext4 | root | <remainder> | Allocate the remainder of the storage to the remaining system partitions to use as needed |