Note to Self — Resizing a VirtualBox Image

vb

First, open a command line window and do this:

C:\Program Files\Oracle\VirtualBox>vboxmanage modifyhd "[your vdi path]" --resize 61443

where [your vdi path] is the path to your .vdi file.

And the number above, 61443, is in MB, so that’s a resize command to make the new drive 60GB.

Next, the partition of the existing drive needs to be increased:  Open “Disk Management” (this is Windows), right-click on the current partition and select “extend” and follow the wizard.

To find the disk management admin utility, type “disk management” in the Windows “finder”.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s