How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

May 9, 2013

Virtualbox same UUID as an existing virtual machine

Filed under: Linux — Tags: , — admin @ 11:49 am

Long time no post.
Well because I want to test a lot of things, well I work with virtual box. Well but because I need more then one server on my virtual network I have to use same image more time to create more instances. However if you want to add another instance with same vdi/vbox file you will have the error.
“Trying to open virtual machine located in … vbox
“Trying to open a VM config ‘…vbox’ witch has the same UUID as an existing virtual machine.”

Well unfortunately there is no short fix with some dialog box to hit it. So to fix this you have to go on folder where is your virtbualbox installed if is not in default directory as

C:\Program Files\Oracle\VirtualBox\

And run this
VBoxManage.exe internalcommands sethduuid “c:\path\MyVM.vdi”

Now you can hit new button chose what you want and on third section just pick up “use an existing virtual hard drive file” and pick this c:\path\MyVM.vdi

Hope will help someone.

6 Comments »

  1. Thanks! It worked for me.

    Comment by Srikar — September 24, 2013 @ 7:42 am

  2. Glad to hear that !

    Comment by admin — September 24, 2013 @ 7:55 am

  3. This saved me a bunch of time – thanks!

    Comment by Aniko — September 11, 2014 @ 7:28 pm

  4. great thanks now i can start running this on my second hard drive saving space on my ssd drive until i can afford to buy the 1 TB ssd.

    Comment by andrew hicks — December 29, 2014 @ 3:40 pm

  5. ist fucked up my whole image, and i cant able the set the new one too

    Comment by Zoli — November 4, 2016 @ 12:47 pm

  6. Hello
    Sorry to hear that . But don’t understand how you mess up your image I mean that should be a copy of your original vdi . So you should have the original . So no harm should be made.
    Also if you have a version older you should use
    setvdiuuid instead of sethduuid
    Also if your file name.vdi contain space you can escape it by using file\ name.vdi or I think you can use the quote for entire path “file name.vdi”

    Comment by admin — November 15, 2016 @ 10:37 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress