Browse - Computer Tips - Virtual Box: how to grow a virtual disk?
Q. Virtual Box: how to grow a virtual disk?
A. Surprisingly, this isn't available in the disk settings for the VM.
Instead from the main menu
Files > Virtual Media Manager
From there its pretty obvious what to do.
Then you need to get into the guest OS to change the partition tables.
On Linux, use gparted.
On Ubuntu, use baobab to graphically see disk use (but it doesn't resize).
Or command line, df -h
On Fedora I did:
print all Lists all partiions and I see I want 2 larger
resizepart 2 100%