colinramsay.co.uk

Resizing a VirtualBox VDI Hard Disk

01 Aug 2009

Start off by creating a fresh new drive of the size you're after using the VirtualBox user interface. Then, locate both the your old, smaller HD and the new, larger one and run the following command:

VBoxManage clonehd --existing oldhd.vdi newhd.vdi

After some progress indicators ahve come and gone your HD should have been cloned to the larger one. You now need to use some software to expand your drive partition into the new space. Vista and W7 have this feature built in to Disk Management, or you could use something like GParted.

Feedback or questions on this post? Create an issue on GitHub.