1

I am going to install a fresh Ubuntu 15.04 on a Lenovo X1 Carbon. I plan to select the default Erase disk and install Ubuntu option and tick both Encrypt the new Ubuntu installation for security and Use LVM... options.

Last time I installed a 14.04 like this, there was no swap partition created automatically. It's a pain to add it later. Will 15.04 do that out of the box?

simbabque
  • 727
  • 1
  • 11
  • 20

2 Answers2

2

Yes, it does. Ubuntu always creates a swap partition if you choose automatic install.

And it is not pain to add a swap partition. It is quite easy to do.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • Is that the one called ubuntu--vg-swap_1? It says [SWAP] as MOUNTPOINT in lsblk. But the 14.04 I talked about above (which I upgraded to 15.04 when that came out) also has that partition, but no mountpoint. – simbabque Sep 26 '15 at 13:20
  • There is no mount point for a swap partition. – Pilot6 Sep 26 '15 at 13:20
  • Ok, swapon -s says there is /dev/dm-2 with 8GB. :) Thanks – simbabque Sep 26 '15 at 13:23
-1

NO. ubuntu 15.04 doesn't create a swap partition automatically. But you'll get option to create swap space during installation. You can use this link to estimate how much swap you need depending on how much RAM you have.

Aniruddha
  • 302
  • 1
  • 11