Tuesday, August 23, 2011

Increase Virtualbox Hard Drive Space

You can increase VirtualBox Version 4+ hard drive size by using command line.

Use the following command from Program Files folder:-

"VBoxManage.exe modifyhd "location of virtual drive.vdi" --resize 25000(new size in mb)

Example :-

C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd "C:\VM\Windows 7 x64\Windows 7 x64.vdi" --resize 25000
Result will look like the following :-

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

That should expand the drive size but you have to increase the partition size from the OS.

Note: If you have snapshots then you have to delete them otherwise this won't work. I am trying to figure out if we can do without deleting the snapshots. I got some very clean snapshots which I don't want to lose.
Source : http://www.my-guides.net/en/content/view/122/26/

No comments:

Post a Comment