basic partitioning scheme for 1Tb hard drive [closed]

I have to replace the old 2.5" SATA disk with new HDD (SATA) and make a clean installation (Ubuntu 18). What would be basic partitioning scheme for laptop 1TB (SATA) hard drive and 4GB RAM? I want to have separate partitions /usr, /home, /var and /tmp

Please advice approximate reasonable size for these. Does ubuntu 18.04 use swap file or swap partition?

2 Answers

The basic partitioning scheme would be the default partitioning scheme of the Ubuntu installer: one single partition (and depending on how you boot, an EFI partition). Current versions of Ubuntu by default use a swap file instead of a dedicated swap partition.

4

For this purpose I would create 4-5 partitions:

  • / (at least 15-20 GB, depends on which programs you'll use)
  • /boot (~512MB)
  • /home (rest of you free space)
  • efi-partition mounted at /boot/efi (~512MB)
  • /swap (since you have only 4GB RAM I would take at least 8GB for it)

You may also use a swapfile located at / instead of an extra partition.

1

You Might Also Like