I am a complete newbie. i'm hosting VM on OS X using virtualbox. I'm trying to resize the virtual hard drive by using the following command in the terminal.
VBoxManage modifyhd "<absolute path ending in:>" ubuntu_vm-disk1.vmdk --resize 25480"
I used a disk size of 25480 (i'm not really sure how to pick the correct size. and I got the following error:
Progress state: VBOX_E_NOT_SUPPORTED VBoxManage: error: Resize hard disk operation for this format is not implemented yet!
virtualbox version 4.1.18
I don't really even know what to ask. What am I doing wrong?
I removed all snapshots and put "" around the file path. Now I'm getting the following error:
VBoxManage: error: Failed to lock media when compacting '/Users/dwstein_old/VirtualBox VMs/Ubuntu_120723/ubuntu_vm-disk1.vmdk' VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Medium, interface IMedium, callee nsISupports Context: "Resize(cbResize, progress.asOutParam())" at line 522 of file VBoxManageDisk.cpp VBoxManage: error: Code VBOX_E_INVALID_OBJECT_STATE (0x80BB0007) - Current object state prohibits operation (extended info not available)