修改VM VirtualBox里error: UUID

1,生成hyperledger
2,用copy得虚拟机替换生成得虚拟机;just vmdk文件
3,报错,需要修改uudi
向VM VirtualBox 里copy既存虚拟机启动时出现如下错误对应方法:

There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "acc3a6d1-9cac-401b-8a3a-242d0e756019", "--type", "headless"]
Stderr: VBoxManage.exe: error: UUID {067819c9-6318-4fbc-94a8-e8c782e87666} of the medium 'C:\Users\xuegao\VirtualBox VMs\hyperledger\packer-virtualbox-iso-1485447123-disk1.vmdk' does not match the value {75b4f1e1-0bbc-4643-bcef-e23aaa667789} stored in the media registry ('C:\Users\xuegao\.VirtualBox\VirtualBox.xml')
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MediumWrap, interface IMedium

对应:找到【VirtualBox】安装目录
用如下命令重命名该虚拟机得UUID:
C:\Program Files\Oracle\VirtualBox>VBOXMANAGE.EXE internalcommands sethduuid "C:\Users\xuegao\VirtualBox VMs\hyperledger\packer-virtualbox-iso-1485447123-disk1.vmdk" 75b4f1e1-0bbc-4643-bcef-e23aaa667789
===============================================
UUID changed to: 75b4f1e1-0bbc-4643-bcef-e23aaa667789


ps:有些同学直接修改,可以看到下图说明是不可以得。







评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值