can't resize vm disk

Discussions related to using VirtualBox on Linux hosts.
Post Reply
LouisDoe
Posts: 2
Joined: 7. Jan 2016, 19:33

can't resize vm disk

Post by LouisDoe »

Hi

I am using virtualbox 4.3.34_Ubuntur104062 on Ubuntu. I run a Windows vm that I created a while ago.

I would like to increase the size of the .vdi file but I can't :

Code: Select all

$ vboxmanage modifyvm Clone\ de\ windows\ 7\ good-disk1.vdi --resiz
e 23000
VBoxManage: error: Could not find a registered machine named 'Clone de windows 7 good-disk1.vdi'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBox, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 464 of file VBoxManageModifyVM.cpp
Can you please help me ?

Thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: can't resize vm disk

Post by mpack »

It should be "modifyhd", as "modifyvm" is a different command.

Also note that size is absolute, not an increment. Do you really want to resize the disk to be 23000MB?

Finally, you are using the Ubuntu fork of VirtualBox. If you want any more support you must either install the official version, or look for support on the Ubuntu forums.
LouisDoe
Posts: 2
Joined: 7. Jan 2016, 19:33

Re: can't resize vm disk

Post by LouisDoe »

ok !!! pfff ...newbie error !

Yes I want the hd to be 23GB.

Thanks for your help.
Post Reply