0

I am replacing a 2.5" SATA hard drive with a new 1TB SATA HDD and performing a clean installation of Ubuntu 18.04. The system has 4GB of RAM.

  1. What are the minimum partition sizes for a Ubuntu 18.04 installation with separate /usr, /home, /var, and /tmp partitions?
  2. Does Ubuntu 18.04 use a swap file or a swap partition by default?
Lexx Luxx
  • 577

2 Answers2

1

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.

glootie
  • 21
1

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.

vanadium
  • 97,564