using VBoxManage modifyhd
Posted: 29. Jun 2011, 14:22
Hi All
I am attempting to reduce the amount of HD space that my XP VM takes up on my Mac.
I followed the instructions re: defragging, and using sdelete, and so far, so good. When I go to my VM, (Clone of Windows XP 5-0.vdi), which is located on my Mac desktop, I keep getting errors:
~ eyeman27$ VBoxManage modifyhd "/Users/eyeman27/Desktop/Clone_of_Windows_XP_5-0.vdi" --compact
VBoxManage: error: Could not find file for the medium '/Users/eyeman27/Desktop/Clone_of_Windows_XP_5-0.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, pMedium.asOutParam())" at line 209 of file VBoxManageDisk.cpp
An identical situation arises if I use the uuid instead of the file name
Any ideas?
PS The vdi was created from a .vmdk using Mpac's Clone VDI with "compact" checked...will doing the modifyhd shrink my VM size any more?
I am attempting to reduce the amount of HD space that my XP VM takes up on my Mac.
I followed the instructions re: defragging, and using sdelete, and so far, so good. When I go to my VM, (Clone of Windows XP 5-0.vdi), which is located on my Mac desktop, I keep getting errors:
~ eyeman27$ VBoxManage modifyhd "/Users/eyeman27/Desktop/Clone_of_Windows_XP_5-0.vdi" --compact
VBoxManage: error: Could not find file for the medium '/Users/eyeman27/Desktop/Clone_of_Windows_XP_5-0.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, pMedium.asOutParam())" at line 209 of file VBoxManageDisk.cpp
An identical situation arises if I use the uuid instead of the file name
Any ideas?
PS The vdi was created from a .vmdk using Mpac's Clone VDI with "compact" checked...will doing the modifyhd shrink my VM size any more?