Published to Linux on Jun 04, 2015
When installing a new distribution, you usually have a choice of options. Be careful because if you make a bad choice, it can play tricks on you afterwards.
Here are the typical options:
"All in a partition" will create only two partitions: one for the root (/) containing the entire system and another for the swap.
"Separate home directories" three partitions: a root (/), one for user files (/ home) and another for swap.
"Multiuser system": typical configuration for servers with many partitions: one for the root (/), user accounts (/home), one for applications (/usr), for data server software (/var) and temporary files (/tmp) without forgetting the paging file (swap). This type of division has several advantages. Users may not block the server by consuming all available disk space. Data daemons (including logs) can not not block the rest of the system.
Example : Partitioning a 100GB drive
n°1 primaire 7000 MB ext3 / n°5 logique 50000 MB ext3 /usr n°6 logique 7000 MB ext3 /var n°7 logique 2000 MB ext3 /tmp n°8 logique 30000 MB ext3 /home n°9 logique 6400 MB swap swap