Posts

Showing posts from May, 2015

How to resize VirtualBox VMDK Hard disk size

This post is due to lack of clear instructions available where I searched for. These are notes which I used to perform a hard disk extension in Ubuntu host for a Windows Vista is guest/vm. Summary of steps: Step 1: Convert vmdk file to vdi (if you are using vmdk as hard drive) Step 2: Resize vdi file to required hard drive size Step 3: Convert the resized vdi file to a new vmdk file (so that the original file serves as backup) Step 4: Remove the attached vmdk file in vm and add the newly converted vmdk file. Step 5: If you are running a Windows OS which supports Disk Management > Extend Volume then the guest OS will recognize the size of extended hard disk. Step 6: Remove the original vmdk file if everything is fine. Steps and commands: The commands which I used are as follows: Step 1: Convert vmdk to vdi VBoxManage clonehd "WinVistaDev-disk2.vmdk" "cloned.vdi" --format vdi Step 2: Resize vdi file: VBoxManage modifyhd "cloned.vdi" --...