How to reuse the copied hard disk file in virtualbox

Source: Internet
Author: User

In virtualbox, if you copy a hard disk file (VDI) and want to use the file in the new virtual machine, an error is returned, telling you that the uuid of the file already exists. Sorry, no. This is not as good as VMware. People will ask if you have copied it or not. It's so gentle and considerate. At this time, virtualbox is a very capricious princess, which is a headache.

No way. Follow her and try to solve the problem.

Anyone with a normal mind will think that the problem should be solved by changing the uuid of the hard disk file. Well, congratulations, you are normal and haven't been driven crazy.

So, how to modify the uuid of the vdi file on the hard disk. Please come with me.

First, find the virtualbox installation directory and find a vboxmanage.exe file under the directory. This is a command line tool.

Run the following command:

Vboxmanage internalcommands sethduuidYourdiskfile. VDI

The italic bold part is of course your own file, right. You can configure the command line environment by yourself. I will not talk nonsense.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.