- A 12 - 20 GB partition for the OS,which gets mounted as /(called "root").
- maximum of 20 GB for root partition should always be enough even if you install a ton of software.
- Most distributions of Linux use either ext3 or ext4 as their file system nowadays, which has a built-in “self-cleaning” mechanism so you don’t have to defrag.
- In order for this to work best, though, there should be free space for between 25-35% of the partition. (20% x 20 = 4GB) (35% x 20 = 7GB)
-
A smaller partition used to augment your RAM,mounted and referred to as swap
-
The rule of thumb is that you choose between 1.5 to 2 times the amount of RAM. (2 x 8GB) = 16GB
-
Put this partition in aplace that is quick to reach,like the beginning or end of the disk
- A larger partition for persona use mounted as /home
- This is where your personal stuff is stored.
- It is functionally the equivalent of the “Users” directory in Windows, housing your application settings, music, downloads, documents, etc, and those of any other users you have on your system.
- It’s useful to have /home in a separate partition because when you upgrade or reinstall your OS, you don’t have to backup anything in this folder!
If you’re into more tinkering, you can even set up different partitions for things like the temporary directory (/tmp), for your web server’s content (/var/www), for programs (/usr), or for log files (/var/log).
- Recommended size = 15 - 20 GiB
- For programs
- Suggested size for /boot os 200 MiB.Varies if you are using EFI system partiton as /boot,in which at least 260 to 300MiB is recommended
- Recommended size 8 - 12 GiB
2 + 20 + 20 + 20 + 12 + 20 + 22 + 100 + 236 + 4= 456 GB
/boot = 2 GB / = 20 GB /home = 236 /usr = 20 GB /var = 12 GB /var/log = 20 GB /tmp = 22 free space = 100 Gb /swap = 20 GB