VBoxManage error

Discussions related to using VirtualBox on Windows hosts.
Post Reply
KWG
Posts: 4
Joined: 3. Mar 2013, 22:15

VBoxManage error

Post 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?
KWG
Posts: 4
Joined: 3. Mar 2013, 22:15

Re: VBoxManage error

Post by KWG »

BTW, I also tried using the UUID but it didn't like that either.
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: VBoxManage error

Post 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"
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VBoxManage error

Post by noteirak »

A verbatim copy/paste of the full command wiht the full error will be helpful here.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
KWG
Posts: 4
Joined: 3. Mar 2013, 22:15

Re: VBoxManage error

Post by KWG »

Dynamically
KWG
Posts: 4
Joined: 3. Mar 2013, 22:15

Re: VBoxManage error

Post by KWG »

Weird, it worked when I tried again after I restarted the vm and just saved the state rather than stopping the machine.
Post Reply