Saturday, November 13, 2010

[Linux] Generic Partition Layout

This is the generic partition layout/size that I have found on the web and I find it quite reasonable. You should partition the smallest partition on the front of the disk first, adding gradually larger partitions as you go to the back of the disk. The example disk here used is /dev/sda
/dev/sda1   /boot   100Mb
/dev/sda5   /tmp    300Mb
/dev/sda6   /       1400Mb
/dev/sda7   /var    1400Mb
/dev/sda8   swap    3000Mb
/dev/sda9   /usr    12000Mb
/dev/sda10  /home   <rest of available space>
Of course, the swap partition should be at the respective position depending on its size, which in turns, depends on the amount of ram. (Normally <size of ram> * 1.5)

No comments:

Post a Comment