moeminthar ၏

စိတ္ကူးတည့္ရာေရးထားေသာ ဘေလာ့ခ္

Resize VirtualBox Disk Image – grow, expand, increase a .VDI disk image in 1 minute

Posted by Zwe on February 5, 2016

How to re-size a VirtualBox vmdk file

Using Linux as a Host

open a Terminal session and type:

Sample
# VBoxManage clonehd “source.vmdk” “cloned.vdi” –format vdi
Resize to 50GB -> # VBoxManage modifyhd “cloned.vdi” –resize 51200
# VBoxManage clonehd “cloned.vdi” “resized.vmdk” –format vmdk

WSUS-CLIENT-64-disk2.vmdk
# VBoxManage clonehd “WSUS-CLIENT-64-disk2.vmdk” “UATVM.vdi” –format vdi
# VBoxManage modifyhd “UATVM.vdi” –resize 51200
# VBoxManage clonehd “UATVM.vdi” “UATVM.vmdk” –format vmdk

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

 
%d bloggers like this: