千家信息网

Oracle 应用之--VirtualBox UUID问题

发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,Oracle 应用之--VirtualBox UUID问题系统环境:操作系统: MAC OS 10.10.3应用软件:VirtualBox故障:在使用以前安装的VirtualBox虚拟机时,提示"UU
千家信息网最后更新 2025年02月01日Oracle 应用之--VirtualBox UUID问题

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

  1. Oracle VM VirtualBox Command Line Management Interface Version 4.3.26  (C) 2005-2015 Oracle Corporation  All rights reserved.      Usage:        VBoxManage []         General Options:       [-v|--version]            print version number and exit    [-q|--nologo]             suppress the logo    [--settingspw ]       provide the settings password    [--settingspwfile ] 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                 [--details]                              [--machinereadable]    showvminfo                 --log         ......


修改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#

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


0