Expanding a VirtualBox Drive

Loading

Last Updated on May 4, 2012 by GrahamWalsh

Have you ever experienced an issue where you have reached the maximum of a dynamically expanding drive.  For example, the default drive size for a Windows 7 installation is 20GB.  You soon fill that, so rather than starting again, you can just expand the disk with the command prompt or terminal.  Run the command below (which expands to 80GB) and then just go into disk manager in Windows 7 and expand the primary drive to use the free space.

 

vboxManage modifyhd “/Users/gwalsh/VirtualBox VMs/Windows7/Windows7.vdi” –resize 81920

 

The whole process takes a few seconds.

Sign up now
Sign up now

Don’t miss the monthly MTDAMA!

We don’t spam! Read our privacy policy for more info.

All search results
%d bloggers like this: