{"id":1731,"date":"2024-05-13T10:26:06","date_gmt":"2024-05-13T16:26:06","guid":{"rendered":"https:\/\/www.schwie.com\/brad\/?p=1731"},"modified":"2025-01-19T15:18:13","modified_gmt":"2025-01-19T21:18:13","slug":"virtualbox-and-windows-xp","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=1731","title":{"rendered":"VirtualBox and Changing Drive UUID"},"content":{"rendered":"<p>Occasionally I test software in a Windows XP virtualization environment and if the software goes bad with an environment, I need a quick way to recover by purging the environment&#8217;s drive and replacing it with a copy: probably the quickest way is to duplicate a virtualized environment&#8217;s .vdi file and, should testing go awry, replace the compromised .vdi with the pre-compromised original copy.<\/p>\n<p>Sometimes I simultaneously test two environments or .vdi files. Since the .vdi are copies of each other, VirtualBox sees them with the same UUID and doesn&#8217;t allow you to set up the second environment until the .vdi files have differing UUID. To get around this use Terminal.app to change your copied .vdi&#8217;s UUID, before you attempt to set up the new\/second environment. To change the UUID, use the following steps:<\/p>\n<ol>\n<li>Open Terminal.app<\/li>\n<li>Navigate to the folder where you have a .vdi file you&#8217;d like to change the UUID on<\/li>\n<li>Execute the following command in Terminal.app while replacing &#8220;WinXP_2.vdi&#8221; with the name of your second .vdi file:\n<p><p><code>VBoxManage internalcommands sethduuid WinXP_2.vdi<\/code><\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p>After changing the UUID, you can now continue setting up a second virtualized environment that is linked to the .vdi changed above. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Occasionally I test software in a Windows XP virtualization environment and if the software goes bad with an environment, I need a quick way to recover by purging the environment&#8217;s drive and replacing it with a copy: probably the quickest &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=1731\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1731","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1731"}],"version-history":[{"count":12,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1731\/revisions"}],"predecessor-version":[{"id":1859,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/1731\/revisions\/1859"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}