I confirm what Mayagraphics said.
It works fine. Just in case the path of your .vdi file has spaces, don't forget to put "\" in order to specify it.
Code: Select all
root@l30nardosv:/home/l30nardosv/VirtualBox VMs/CentOS6.4# VBoxManage showhdinfo CentOS6.4.vdi
UUID: 322a76c7-4349-4c5a-b9eb-8ed95582b24a
Accessible: yes
Logical size: 8192 MBytes
Current size on disk: 7680 MBytes
Type: normal (base)
Storage format: VDI
Format variant: dynamic default
Location: /home/l30nardosv/VirtualBox VMs/CentOS6.4/CentOS6.4.vdi
The location ".../VirtualBox VMs/..." specified above has a space character, so the command would be (check out the "\" inserted!):
Code: Select all
root@l30nardosv:/home/l30nardosv/VirtualBox VMs/CentOS6.4# VBoxManage modifyhd /home/l30nardosv/VirtualBox\ VMs/CentOS6.4/CentOS6.4.vdi --resize 15360
The results is:
Code: Select all
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%