How to resize a Virtual Box virtual machine hard disk size


Today while working on a project I had to resize hard disk size of one of the virtual machines. The Windows virtual machine was created using veewee. To resize a VM hard disk size, you have to perform couple of steps:

1. Run the $ VBoxManage modifyhd ~/VirtualBox\ VMs/windows2008/windows20081.vdi –resize 20480 command.

2. Follow the steps mentioned in this post http://derekmolloy.ie/resize-a-virtualbox-disk/ to understand how you can use the gparted to allocate the unallocated space.

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