1

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?

Lexx Luxx
  • 559

2 Answers2

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
  • 88,010
0

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
  • 11
  • 1
    OP: Read some of the questions about boot partition filling up before choosing this approach https://askubuntu.com/q/785460/243321 – Organic Marble Nov 14 '20 at 14:57