I want to increase the size of my virtual machine. Having read these
https://stackoverflow.com/questions/11659005/how-to-resize-a-virtualbox-vmdk-file
How to change fixed size VDI with modifyhd command in Windows?
I cloned the vmdk file into vdi.
However, when using
VBoxManage.exe modifyhd cloned.vdi --resize 102400
I received the error message
VBoxManage.exe: error: Could not find file for the medium 'C:\Program Files\Oracle\VirtualBox\cloned.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 179 of file VBoxManageDisk.cpp
How should I proceed?
Best Answer
You should do the following instead:
%UserProfile%
isC:\Users\<name>
<VM name>
with the name of your virtual machine.