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
you mean two dashes right ( –resize )
Thank you!
Thanks for the great instructions, they helped me alot! =)
Thank you!