Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am planning to install debian on dual boot, I have 250GB free for that, but I d prefer answer for any size.

I want to separate filesystem on different partition (/, /boot, /root, /home, /var), but I m wondering about what size should I allow to each one.

On relative, how much space should I allow to each one? What is the vital minimum for each?

share|improve this question

closed as primarily opinion-based by Anthon, Zelda, Timo, slm, jasonwryan Feb 19 '14 at 16:21

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

This is up to your own need and appreciation, you should get some info about what all those partion contains identify which should be the biggest and then use the partitionning that feets your need. –  Kiwy Feb 19 '14 at 9:27
@Kiwy: I understand that, that s why I asked for a vital minimum too. It s basically to have an idea of how to order size by "folder". –  DrakaSAN Feb 19 '14 at 9:57
I recommend using an own LV or mountpoint for /var/log, /tmp, /var/tmp, too. –  Nils Feb 19 '14 at 10:26
@Nils: What size should I allow for thoses if so? –  DrakaSAN Feb 19 '14 at 10:29
Our current standard is 4 GB each for /tmp and /var/tmp and 8 GB for /var/log on physical servers. –  Nils Feb 19 '14 at 11:25

1 Answer 1

up vote 0 down vote accepted

Well, this is certainly subjective and up to your specific needs. Nevertheless, as a general guideline, these are the minimum and recommended values (rounded) that Ubuntu recommends on a relevant page:

  • /: min: 8GB, recommended: 15GB (I would say 20GB is nice)
  • /boot: min: 250MB, recommended: 1GB
  • /root: no recommendation (I wouldn't expect much to be stored in it anyway in a typical desktop use).
  • /var: min: 1GB, recommended: 2GB (be careful though if you host web sites, use /var/backups or mail server etc).
  • /home: for desktop use I would recon all remaining space, it really depends on your files.
share|improve this answer
So 6% for /, 0.5% for /boot, 1% for /var, some % for /root and everything else in /home. –  DrakaSAN Feb 19 '14 at 9:55
@DrakaSAN Converting to percentage does not make sense at all. The requirements for / do not change depending on the total size of the disk. You can easily install Linux on a 20Gb drive (total size), but you will run into trouble if you allocate 6% of that for /. –  Anthon Feb 19 '14 at 10:21
You are right in general. @DrakaSAN states the capacity in his question though. –  Wtower Feb 19 '14 at 10:23
You use the higher between the recommended and minimal size, I didn t thought about precising it thought. –  DrakaSAN Feb 19 '14 at 10:28
@DrakaSAN once again the porucentage you express are related to the fact you have a 250gb on a 100Gb disk you can try thos and you will never be able to run your whole system correctly –  Kiwy Feb 19 '14 at 10:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.