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
Oracle VM VirtualBox Command Line Management Interface Version 4.3.26 (C) 2005-2015 Oracle Corporation All rights reserved. Usage: VBoxManage [<general option>] <command> General Options: [-v|--version] print version number and exit [-q|--nologo] suppress the logo [--settingspw <pw>] provide the settings password [--settingspwfile <file>] provide a file containing the settings password Commands: list [--long|-l] vms|runningvms|ostypes|hostdvds|hostfloppies| intnets|bridgedifs|hostonlyifs|natnets|dhcpservers| hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies| usbhost|usbfilters|systemproperties|extpacks| groups|webcams showvminfo <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#
修改完成后,就可以使用已有的虚拟机硬盘了!