loukingjr wrote:saeran wrote:I'm trying to resize a VDI. I am doing so via the instructions here (can't post links, I'm a new member)
Would appreciate some help.
Cheers
The easy way... Drag the .vdi file to a terminal window, type
VBoxManage modifyhd at the front of the path and
--resize <the new size> at the end of the path and hit return.
You don't have to worry about spaces, no spaces, adding quotes etc.
I tried this:
Last login: Tue Sep 3 15:20:15 on ttys000
unknown705681b97031:~ lindsaygrant$
VBoxManage modifyhd /Users/lindsaygrant/VirtualBox\ VMs/WindowsVM/WindowsVM.vdi --resize 35860
VBoxManage: error: Failed to lock media when compacting '/Users/lindsaygrant/VirtualBox VMs/WindowsVM/WindowsVM.vdi'
VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "Resize(cbResize, progress.asOutParam())" at line 539 of file VBoxManageDisk.cpp
Segmentation fault: 11
unknown705681b97031:~ lindsaygrant$
the bold being what your solution said to do, and I still got an error. Help? Need to grow my guest hdd space from 25gb to 35gb