Page 1 of 1

VBoxManage error

Posted: 3. Mar 2013, 22:25
by KWG
I am trying to use VBoxManage to expand my machine so I used the following

vboxmanage modifyhd "c:\users\xxxx\virtualbox vms\development machine\development machine.vhd" --resize 46080

but I get an error message that it can't find the file for the medium. The only difference between what I used and what I have seen others post is that I have a vhd rather than a vdi and I have a space in the name. Is the space causing me a problem?

Re: VBoxManage error

Posted: 3. Mar 2013, 22:27
by KWG
BTW, I also tried using the UUID but it didn't like that either.

Re: VBoxManage error

Posted: 3. Mar 2013, 23:12
by Martin
Is the vhd a fixed size or dynamically allocated version?
According to the manual resize "currently works only for VDI and VHD formats, and only for the dynamically allocated variants"

Re: VBoxManage error

Posted: 4. Mar 2013, 00:52
by noteirak
A verbatim copy/paste of the full command wiht the full error will be helpful here.

Re: VBoxManage error

Posted: 4. Mar 2013, 02:42
by KWG
Dynamically

Re: VBoxManage error

Posted: 4. Mar 2013, 02:47
by KWG
Weird, it worked when I tried again after I restarted the vm and just saved the state rather than stopping the machine.