Running out of hard drive space on your virtual OS? Here’s how you can increase the size.
(VirtualBox Version 4+)
From the command line, you will need to navigate to the VirtualBox folder under program files. and type the following-
“VBoxManage.exe modifyhd “your.vdi” –resize 25000(new size in mb) Note: your.vdi may be Windows.vdi substitute the word your with the name of your vdi.
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd “C:\VM\Windows 7\Windows 7 .vdi” – -resize 25000
You should see a progress line-
This will increase your hard drive by the size that you specify.