Try the resize again: VMs/TestInception 64 bit$ VBoxManage modifyhd TestInception\ 64\ bit.vdi -resize 8192 Remove/delete the disk from the VirtualBox disk list ("closemedium"): VMs/TestInception 64 bit$ VBoxManage closemedium disk VMs/TestInception 64 bit$ VBoxManage list hdds Location: /home/virt_box/VirtualBox VMs/TestInception 64 bit/TestInception 64 bit.vdi Location: /home/virt_box/VirtualBox VMs/TestInception 32 bit/TestInception.vdi VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cppĪh, the disk is still "in the system": VMs/TestInception 64 bit$ VBoxManage list hdds VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports VBoxManage: error: Cannot register the hard disk '/media/data/winxp_vm/wim.vdi' already exists The suggestion below gives this error VBoxManage modifyhd wim.vdi -resize 20000 Is there an easy way to increase it to, say, 20 GB? I can't see any obvious option in VirtualBox settings. I have run out of space on my WinXP virtual machine, which I only gave 10 GB space for when I created it.
0 Comments
Leave a Reply. |