The last 2 comments in this forum greatly helped me, which said:
Do I do that on Windows? Because if I do that it says:
not recognized as an internal or external command, operable program or
June 8th, 2011, 09:07 AM
vboxmanage is found inside the virtualbox installation directory, should be inside
C:\Program Files\Oracle\VirtualBox\ directory.
These are the steps I did (Host OS is Windows):
Virtual Media Manager >>
Select VDI >>
2) Copy the location of the VDI inside the Properties box. In my case, it's:
3) Go to Google.com and type your desired size in gigabyte to be converted to megabyte. For example: 10 GB = MB
The result would be 10240.
4) Open the command line and type/copy this:
cd C:\Program Files\Oracle\VirtualBox
This is the location of the VirtualBox software you installed in your computer.
Notice that you have two VirtualBox folders, 1) "VirtualBox VMs", which contains your virtual machines, and 2) "VirtualBox", which is the program.
5) Lastly, run:
VBoxManage modifyhd YOUR_VDI_LOCATION --resize SIZE_IN_MEGABYTES
VBoxManage modifyhd C:\Users\Se7eN\VirtualBox VMs\LUCID_LYNX\JH.vdi --resize 10240
I have screenshots for all of the above steps, but need to earn more than 10 reputation to upload the image. Hope this helps. Thanks.