How to adjust the default volume size after installation of Ubuntu 18.04

Solution 1:

Q. Why 2 disks while I created only 1 disk?

If you look at the descriptions for the devices, you will see:

  • 1.1TB Hard Disk (the virtual disk you created)
  • 215GB Block Device (a logical volume where the OS is installed)

You will want to boot the VM with the installation ISO and grow the volume to use the entire virtual disk. Be sure to do this while the volume is not mounted, otherwise you will not be able to resize it.

Q. Where is the swap?

Swap is generally handled by a file rather than a partition. You can care the details for the file by opening terminal and typing:

swapon -s

You will likely find that the swap file is on the 215GB logical volume.