系统环境:
操作系统: 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
-
12345678910111213141516171819202122232425262728293031323334
Oracle VM VirtualBox Command Line Management Interface Version4.3.26(C)2005-2015Oracle CorporationAll 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 passwordCommands: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#
修改完成后,就可以使用已有的虚拟机硬盘了!
本文转自 客居天涯 51CTO博客,原文链接:http://blog.51cto.com/tiany/1651059,如需转载请自行联系原作者