2012年1月4日 星期三

(變更vdi 的uuid)VBoxManage clonevdi出現UUID already exists

C:\Program Files\Oracle\VirtualBox>VBoxManage clonevdi "D:\MyVMOld.vdi" "D:\MyVMNew.vdi"
VBoxManage.exe: error: Cannot register the hard disk 'D:\MyVMOld.vdi' {439d46fd-1ec5-4da7-9993-744e548bd680} because a hard disk 'D:\MyVMNew.vdi' with UUID {439d46fd-1ec5-4da7-9993-744e548bd680} already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component VirtualBox, interface IVirtualBox, callee IUnknown
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp

解決方式(使用4.1.8版):
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands sethduuid D:\CentOS-6.2_DB2_WAS_25GB_office.vdi
UUID changed to: 75ad028a-3d81-4817-85f5-b0d195527561

沒有留言:

張貼留言