PDA

View Full Version : Partitioning for clean install



ThanasisKant
January 27th, 2018, 08:52 PM
Hello. i want to install ubuntu as the only OS in my laptop. I tried to copy guides talking about partitioning during installation and this is what i have. You think is it valid or do i have anything wrong? Also i know most of the partitions i make arent needed but i want to make them just for educational reason ( example the boot partition)https://imgur.com/uqOebBJhttps://imgur.com/vQ0NTgr
https://imgur.com/uqOebBJ
https://imgur.com/vQ0NTgr

oldfred
January 27th, 2018, 09:27 PM
I do not recommend all the separate partitions.
Depending on your use you may fill one or the other partitions and have to rearrange them.
Much better to just have / and then perhaps /home.
But I have /home inside / and a very large /mnt/data partition on my HDD.

This is my 16.04, originally a clean install and regularly housecleaned system.


fred@Z170N:~$ sudo du -hx --max-depth=1 / 2> /dev/null
[sudo] password for fred:
16M /etc
16K /lost+found
12K /media
897M /lib
4.0K /snap
6.5G /usr
2.7G /home
13M /bin
4.0K /lib64
4.0K /srv
116K /mnt
1.4G /var
196M /boot
4.4M /root
4.0K /opt
4.0K /cdrom
14M /sbin
12G /

VMC
January 27th, 2018, 10:49 PM
You don't have '/lib32' folder? Interesting. I do stock install and always seem to have'/lib32'. Mine takes up 5.7M

oldfred
January 27th, 2018, 11:33 PM
32 bit vs 64 bit? Otherwise do not know.
I do not typically install anything that is 32 bit anymore.

ThanasisKant
January 27th, 2018, 11:38 PM
i dont even know what this partition is for. i am new user you see.

ThanasisKant
January 27th, 2018, 11:39 PM
32 bit vs 64 bit? Otherwise do not know.
I do not typically install anything that is 32 bit anymore.

64 bit. i saw an article that the 32 and 64 bit make small to none diference in the cpu soource etc etc so i went with the 64 bit

VMC
January 28th, 2018, 03:47 AM
32 bit vs 64 bit? Otherwise do not know.
I do not typically install anything that is 32 bit anymore.
I always install 64bit, but '/lib32' is always there. Only thing in there are "Shared Object" files.
I'll have to check on next development install.

As far as the OP is concerned, I only install on "/" root partition. I know others have also recommend "/home" as well.

Impavidus
January 28th, 2018, 12:51 PM
The directories /bin, /etc, /lib, /lib32 (if existing), /lib64 (if existing), /root and /sbin should be on the root partition. These directories are required for booting into recovery mode, when other filesystems don't get mounted. Other than that, you're free to create as many partitions as you like, but apart from /home they usually cause only trouble.