Score:0

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

in flag

I installed Ubuntu 18.04 on VMWare recently. When I create the VM, I specify the disk as 1000GB. I go through the installation by all options kept default except I selected the docker package. After installation, the file system is only 200GB. How to let my main file system take a major portion of the 1000GB of the virtual disk rather than only 200GB? The below screenshots are info from Disk: (My other questions are why there are 2 disks while I only created only one disk and where the swap partition is.)

enter image description here

enter image description here

enter image description here

enter image description here

cmpltrtok avatar
in flag
I guess I have found the answer [here](https://askubuntu.com/questions/1106795/ubuntu-server-18-04-lvm-out-of-space-with-improper-default-partitioning) for the main question. But why the other questions? Why 2 disks while I created only 1 disk? Where is the swap?
Score:1
in flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.