Code: Select all
VBoxManage modifyhd "W7 Home Premium.vdi" --resize 42950VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "Resize(cbResize, pProgress.asOutParam())" at line 691 of file VBoxManageDisk.cpp
VBoxManage: error: Failed to resize medium!
How does one get the lock for VBoxManage modifyhd, or tell it to force the lock? I have not been able to find this searching the user PDF or the whole 'net with Google.
Baring this, is there a way that I can mount this file as a virtual file system from a different W7 image, and copy the data from it (I am assuming that Vbox will have the same problem) (almost all postings I've seen for this were not addressing Linux as a host, with Winderz as a guest, and so far all I've done is destroy a guest trying to do this).
If the only option is for me to build a new file at 40GB, OK, I can do that (I have enough room in my /home partition). But I would like to get the data from the one I'm trying to expand into this new dynamic vdi.
To avoid this problem, I had been trying to use the host's /home area where I have a folder that is shared with Linux so data and programs can be gotten to from either O/S (before you start, think Wine). However, Winderz absolutely goes nuts with programs on a "network drive", and some Micro$oft programs will ONLY install on the "C" drive (I have very good reasons for not doing it this way going back to NT 4.0 days where this was NOT a requirement). </rant>
Regards,
Wylbur Wrong