Thursday, May 9, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 27904  / 3 Years ago, mon, september 27, 2021, 5:30:16

I am going to install Ubuntu on a new computer, but I'm not quite sure how big each partition should be.



If I create only root, home and swap partitions, on what partition will programs be installed?
Will they go to /home or to root?



Basically does it make sense for instance to have following partitions:



    /     - 6GB
/home - 80GB
/swap - 4GB


Is 6GB large enough for my root partition?



Also are these 3 partitions a good choice, or is there a better configuration?



I have at the moment 3 operating systems installed, and I do make changes quite often.


More From » installation

 Answers
5

When you install applications, their application files go in root. That means libraries, the program executable and global data, such as documentation, images, etc. User data, such as configuration and file data, goes into your home.



I would recommend a slightly larger root partition.



It isn't necessary to add a separate /home partition. If you choose to use BtrFS instead of Ext4, then it's not even recommendable. It's better to have a single root partition, since BtrFS can have subvolumes. This means you'll get both two separate filesystems, but do not have to have predetermined size limits for each. If you use BtrFS, then Ubuntu will automatically create a root and a home subvolume for you, so you don't have to worry about that at all.



BtrFS is fantastic stuff. For instance, it let's you jump back in time if something goes wrong. So, for instance, you can upgrade to the next version of Ubuntu, and if it doesn't work, you can undo the upgrade in a moment.



Be advised, that as BtrFS is very new, there is less documentation for it. But from an install perspective, it's easier. There's no doubt this is the future of Ubuntu.


[#39838] Wednesday, September 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulild

Total Points: 239
Total Questions: 103
Total Answers: 112

Location: Papua New Guinea
Member since Thu, Jul 9, 2020
4 Years ago
fulild questions
Sat, Dec 11, 21, 20:10, 2 Years ago
Thu, Jun 17, 21, 12:05, 3 Years ago
Sat, Nov 19, 22, 16:28, 2 Years ago
Sat, Feb 25, 23, 22:59, 1 Year ago
Wed, Oct 12, 22, 04:04, 2 Years ago
;