Friday, January 27, 2012

Howto: resize VirtualBox image

How would your resize VirtualBox image? The answer is simple:
Usage:

VBoxManage modifyhd         |
                            [--type normal|writethrough|immutable|shareable|
                                    readonly|multiattach]
                            [--autoreset on|off]
                            [--compact]
                            [--resize |--resizebyte ]


Example
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd YourImageFile.vdi --resize 20480
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%