Background
I created a server inside Oracle VirtualBox with an HD size of 500GB. The host is Windows 10 Pro x64 2004 19041.572. The guest OS is Ubuntu 18.04 and I encrypted the installation using LUKS(the entire drive, not just the profile).
What I am trying to accomplish
I basically ran out of space... I never thought I could fill 500GB but here we are.
I know that I expand the Oracle VirtualBox .vdi file... this has been exhaustively covered and I have even done this before. But, after I add the extra space at "the end" of the partition, what are my next steps?
Theory
My best guess would be: boot the partition live disc, mount the encrypted storage container, expand the container to the extra space I added (250GB), commit the changes, and reboot.
What actually happened
Expanded vdi file from 500GB to 750GB. I booted from Ubuntu 18 Live Disc. Corrected time difference. Updated the repos. Added the universe repo. Install sudo apt install partitionmanager
. Extended the luks container to 750GB. Reboot. df -h
still shows 500GB. Reboot to live disc again.
Now my /dev/sda2
extended itself from 500 to 750GB (good). Now when I select the mounted encrypted volume, there are three "partitions": root
size 500GB, swap
the encrypted swap volume of 980MiB, and unallocated
of 250GB. I cannot seem to extend the root
to encompass the unallocated space. See photo.
HELP
How do I use my unallocated storage?
Additional
Thank you in advanced for your help and suggestions.