{"id":2624,"date":"2016-02-18T15:52:49","date_gmt":"2016-02-18T07:52:49","guid":{"rendered":"http:\/\/www.menglanglang.cn\/?p=2624"},"modified":"2016-02-18T15:52:49","modified_gmt":"2016-02-18T07:52:49","slug":"virtualbox%e5%af%bc%e5%85%a5vdi%e6%97%b6%e6%8a%a5%e9%94%99%e8%af%a5%e5%a6%82%e4%bd%95%e5%a4%84%e7%90%86","status":"publish","type":"post","link":"http:\/\/www.menglanglang.cn\/?p=2624","title":{"rendered":"VirtualBox\u5bfc\u5165vdi\u65f6\u62a5\u9519\u8be5\u5982\u4f55\u5904\u7406"},"content":{"rendered":"<p>VirtualBox\u5bfc\u5165vdi\u65f6\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n<pre><span style=\"color: #ff0000;\"><strong>Cannot register the hard disk '...' withUUID {xxx} because a hard disk'...' with UUID {xxx}already exists.<\/strong><\/span><\/pre>\n<p>\u539f\u56e0\u662f\uff1a\u5df2\u4f7f\u7528\u8fc7\u7684\u955c\u50cf\u6587\u4ef6\u62f7\u8d1d\u5230\u5176\u4ed6\u786c\u76d8\u4e0d\u80fd\u76f4\u63a5\u7528\uff0c\u8fd9\u4e2a UUID \u5df2\u7ecf\u5728\u672c\u673a\u7684 VirtualBox \u91cc\u6ce8\u518c\u8fc7\u4e86\uff0c\u9700\u8981\u7ed9\u955c\u50cf\u6587\u4ef6\u751f\u6210\u65b0\u7684 UUID\u3002<\/p>\n<p>\u90a3\u4e48\u5982\u4f55\u751f\u6210\u65b0\u7684UUID\u5462\uff1f\u6267\u884c\u4e00\u4e2a\u91cd\u65b0\u8bbe\u7f6eUUID\u53f7\u7684\u547d\u4ee4\u5373\u53ef\u3002<\/p>\n<p>\u5f00\u59cb -&gt; \u8fd0\u884c -&gt; cmd -&gt; VirtualBox \u7684\u5b89\u88c5\u8def\u5f84\uff0c\u7136\u540e\u7c98\u8d34\u4e0b\u9762\u7684\u547d\u4ee4\uff0c\u56de\u8f66\u6267\u884c\u5373\u53ef\u3002<\/p>\n<p><span style=\"color: #0000ff;\">VBoxManage.exe internalcommands <strong>sethduuid<\/strong> \"E:\\VPC\\VB\\Win2003\\Win2003.vdi\"<\/span><\/p>\n<p>\u5176\u4e2d\u7684\u8def\u5f84\u662f\u60f3\u8981\u5bfc\u5165\u7684 vdi \u7684\u7edd\u5bf9\u8def\u5f84\u3002\u8be5\u547d\u4ee4 VirtualBox \u6ca1\u6709\u96c6\u6210\u5230 GUI \u73af\u5883\u4e2d\uff0c\u6240\u4ee5\u53ea\u80fd\u5728\u547d\u4ee4\u884c\u4e2d\u4f7f\u7528\u3002<\/p>\n<p>\u6ce8\u610f\uff0c\u5728 virtualbox4.0.4 \u4ee5\u4e0a\u7248\u672c\u53ef\u4ee5\u7528\u4e0a\u9762\u7684\u547d\u4ee4\uff0c\u5982\u679c\u7248\u672c\u592a\u4f4e\uff0c\u53ef\u4ee5\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8bd5\u8bd5\u3002<\/p>\n<p><span style=\"color: #0000ff;\">VBoxManage.exe internalcommands <strong>setvdiuuid<\/strong> \"E:\\VPC\\VB\\Win2003\\Win2003.vdi\"<\/span><\/p>\n<p>\u5982\u679c\u770b\u5230 UUID changed to: xxx \u7684\u63d0\u793a\u4fe1\u606f\uff0c\u5219\u8bf4\u660e UUID \u751f\u6210\u6210\u529f\uff0c\u7136\u540e\u65b0\u5efa\u4e00\u4e2a\u865a\u62df\u673a\u52a0\u8f7d\u8fd9\u4e2a vdi \u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VirtualBox\u5bfc\u5165vdi\u65f6\u62a5\u9519\u5982\u4e0b\uff1a Cannot register the hard disk &#8216;.. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[335,605,305,212],"class_list":["post-2624","post","type-post","status-publish","format-standard","hentry","category-it-utility","tag-error","tag-windows","tag-305","tag-212"],"_links":{"self":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/2624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2624"}],"version-history":[{"count":0,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=\/wp\/v2\/posts\/2624\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2624"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.menglanglang.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}