Oracle 应用之--VirtualBox UUID问题


系统环境:

操作系统: MAC OS 10.10.3

应用软件:VirtualBox


故障:

在使用以前安装的VirtualBox虚拟机时,提示“UUID 已存在......"


类似以下图片提示:


在MAC OS系统解决方法,通过VirtualBox工具修改UUID:

rirunhongtekiMacBook-Pro:~ root# find / -name "win2008.vdi"
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Volumes/Macintosh HD/Users/ellenli2005/VB/win2008/win2008.vdi


UUID修改工具:
rirunhongtekiMacBook-Pro:~ root#VBoxManage

OracleVMVirtualBoxCommandLineManagementInterfaceVersion4.3.26(C)2005-2015OracleCorporationAllrightsreserved.Usage:VBoxManage[<generaloption>]<command>GeneralOptions:[-v|--version]printversionnumberandexit[-q|--nologo]suppressthelogo[--settingspw<pw>]providethesettingspassword[--settingspwfile<file>]provideafilecontainingthesettingspasswordCommands:list[--long|-l]vms|runningvms|ostypes|hostdvds|hostfloppies|intnets|bridgedifs|hostonlyifs|natnets|dhcpservers|hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies|usbhost|usbfilters|systemproperties|extpacks|groups|webcamsshowvminfo<uuid|vmname>[--details][--machinereadable]showvminfo<uuid|vmname>--log<idx>......


修改UUID:
rirunhongtekiMacBook-Pro:~ root#VBoxManage internalcommands sethduuid "/Volumes/Macintosh HD/Users/ellenli2005/VB/win2008/win2008.vdi"
UUID changed to: 88e9faad-0127-4ec1-9526-5a087d277b37
rirunhongtekiMacBook-Pro:~ root#

修改完成后,就可以使用已有的虚拟机硬盘了!