What I do for a new machine?

LinuxIsOne linuxisone at gmail.com
Fri Dec 2 14:35:14 UTC 2011

On Fri, Dec 2, 2011 at 9:29 AM, Liam Proven <lproven at gmail.com> wrote:

> You don't need /boot any more. It was useful about a decade or more
> ago when many BIOSes had limitations such as being unable to boot from
> cylinders on the hard disk numbered above 1024, or were unable to boot
> from sections above a certain size limit - at various times, there
> were limitations above 32MB, 512MB, 8GB, 32GB and 120GB.

> Now, don't worry about it.

> You need / and swap. Having /home as well is useful.

> For / - depending on the size of your disk - 16GB is generous and 32GB
> is massive. For swap, use 2× the amount of physical RAM, as a
> guideline. That is very generous. All the rest of the space you can
> give to /home.

> The simplest system is:

> Primary partition (e.g. /dev/sda1) = /
> Extended partition = all the rest of the space
> 1st logical partition (e.g. /dev/sda5) = /home
> 2nd (e.g. /dev/sda6) = swap

> Some people claim there is a performance drop due to swap at the end
> of the disk. This is not true. I have tested it, directly,
> extensively, with thorough benchmarks. There was no measurable
> difference to the 2nd decimal place in the mid-1990s and disks were a
> LOT slower then. Now, it does not matter at all.

That is good, but just as a point of information please let me know if
I separate also like Olivier said -

ext4 / = 20 GB
ext4 /boot = 5 GB
ext4 /home = 180 GB (encrypted)
ext4 /opt = 10 GB
ext4 /tmp = 10 GB
ext4 /usr/local = 10 GB
ext4 /var = 10 GB
swap = 5 GB (encrypted)

there should/should not be any harm....if we do...(just for knowledge)...


More information about the ubuntu-users mailing list