0

I'm currently planning to reinstall Ubuntu 16.10 in my old HP Desktop. I have 320 GB HDD and 2 GB RAM. I'm a little confused with how much hard drive space to allocate for each partition.

Is it okay if I allocate just root partition and swap ?

Or should I allocate all other typical Ubuntu directories such as usr , home , var , boot etc in seperate partitions ??

0

A typical setup should contain 3 partitions:

1) The root partition for which about 20-30GB should be more than enough. 2) A swap partition which should be equal to the RAM size in case you need to be able to hibernate to disk, or less if you don't need hibernation. 3) The home directory which would eventually contain all the other space of your hard disk.

That way you would be able to reinstall the main OS (in the root partition) without affecting your personal files and setting (which would reside in home partition).

  • Yeah . I actually thought that those partitions i mentioned in my question should be seperate. Now I'm going to allocate 500 mb for bootloader , 40 gb for root , and 10 gb for home. You think it's okay? – AthulBC Dec 6 '16 at 8:36
  • 40GB is more than okay :) However 10GB only for home? You have a 320GB. What about the rest 270GB? – jsalatas Dec 6 '16 at 8:40
  • I don't know what you mean bootloader. You mean the boot partition? If yes, then you could have a separate boot as well but I don't see a reason to do so. However if you decide to have it separate I would say 1GB is more reasonable choice as you may need to have 2-3 kernel images. – jsalatas Dec 6 '16 at 8:43
  • Ok. I just assumed 500 mb is enough. Its okay too if boot partition is 1 gb. – AthulBC Dec 6 '16 at 9:22
  • I also have Windows and another 150 GB partition for putting music, video and other stuffs. I think I can share that partition with Ubuntu . – AthulBC Dec 6 '16 at 9:28
0

Or should I allocate all other typical Ubuntu directories such as usr , home , var , boot etc in separate partitions?

Well you obviously don't have to. Unless you want to.

Is it okay if I allocate just root partition and swap?

It is perfectly okay.

A better approche would be:

  • 2-4 GB swap. (at least 2 GB, inasmuch as you have 2 GB RAM)
  • ~100 GB for root / for the system.
  • ~200 GB for home directory /home/ for data storage.

This way even if the system partition is corrupted. You can still have you data intact in the other partition.

  • Yeah . I actually thought that those partitions i mentioned in my question should be seperate. Now I'm going to allocate 500 mb for bootloader , 40 gb for root , and 10 gb for home. I have allocated totally 50 gb for Ubuntu. I will usually put personal files in another drive that I share with Windows. So I think 10 gb home is enough. What you think ? – AthulBC Dec 6 '16 at 8:35
  • And what do you intend to do with the 260 GB remaining space? – Abdelhakim AKODADI Dec 6 '16 at 8:41
  • I also have Windows and another 150 GB space for putting stuffs like music, video etc.. – AthulBC Dec 6 '16 at 9:33
  • Yes, but still, I would use all the remaining space for the home directory. – Abdelhakim AKODADI Dec 6 '16 at 13:15
  • Yeah .. I'm started learning Ubuntu. Getting out of Windows. – AthulBC Dec 6 '16 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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