1

Ubuntu 19.10 is released. How do I partition my disk, and do I need the swap partition?

9
  • 1
    Let the installer do it. No swap partition is needed.
    – user68186
    Oct 17, 2019 at 20:39
  • I would not recommend a swap partition. IMO a swapfile is better utilized than a swap partition. Please have a look at askubuntu.com/q/1165477/968501
    – Raffa
    Oct 17, 2019 at 20:40
  • Two choices, about 25GB for /root and the rest for /home, or just one partition of /, but make sure it is big enough to hold everything(all of disk). If new drive will need about 300MB for a EFI partition also. It is better to go too big now than too small and have to expand after.
    – crip659
    Oct 17, 2019 at 20:59
  • Use the 'something else' option on the installer. It is the bottom choice. I usually like to set up partitions with gparted before I install. Can do it when you use 'try ubuntu' to make sure everything works.
    – crip659
    Oct 17, 2019 at 21:10
  • 3
    Does this answer your question? Installing Ubuntu on a single partition
    – karel
    Aug 1, 2020 at 7:06

1 Answer 1

0

Ubuntu 19.10 only needs a swap partition if you use Hibernation. If you do, the swap partition should be set to equal your memory size.

Otherwise, the Ubiquity installer used by Ubuntu will create an optimally sized swap file. If later on you discover you need to enlarge the swap file, because of very memory-hungry apps, it is far easier to enlarge a swap file than a swap partition.

Early on, before 17.10, swap partitions were also faster than swap files, but that was fixed two years ago. Now the only need for a swap partition is for Hibernation.

2
  • So if I use Hibernation, do I create both swap partition and swap file?
    – EDLIU
    Oct 17, 2019 at 21:31
  • No. Hibernation? Swap partition = size of memory.
    – K7AAY
    Oct 17, 2019 at 21:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .