Increase hard drive size in VirtualBox
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.
Example :-
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd “C:\VM\Windows 7\Windows 7 .vdi” - -resize 25000
You should see a progress line-
0%…10%…20%…30%…40%…50%…60%…70%…80%…90%…100%
This will increase your hard drive by the size that you specify.






Thx for your great tutorial. There is only one little typo (at least for Windows):
-resize should be –resize
Claude
Monday, February 27, 2012 12:42 pm at 12:42 pm
you mean two dashes right ( –resize )
Tim
Thursday, March 15, 2012 3:27 pm at 3:27 pm
Thank you!
TTC Shelbyville IT Department
Thursday, March 15, 2012 9:50 pm at 9:50 pm
Thanks for the great instructions, they helped me alot! =)
heenett
Saturday, April 7, 2012 8:46 pm at 8:46 pm