Virtualbox migration from drive C

Source: Internet
Author: User

 

Even if virtualbox is installed on another disk, the Virtual Machine (system, hard disk) made of it will still be generated to the system disk by default, and the default is C: disk, as the number and content of virtual machines increase, it is inconvenient to squeeze out the system disk space that is not large.

 

Start to mount C: Under the disk. everything in the virtualbox directory is copied elsewhere. In the file/environment settings of virtualbox, modify the "Default hard disk directory" and "Default hypothetical Machine", but virtualbox does not recognize the account. It is suspected that path-related content is written in the registry or UUID.

 

Delete the existing virtualbox (do not save the content in. virtualbox ). After the installation is re-installed, it is taken for granted that no information is available, but do not rush to back up the hard disk and Vm information at that time, such data will not be lost, the driver settings of the secondary VM should not be lost.

 

Next, create a new VM.

1. In the file/environment settings of virtualbox, direct the "Default hard disk directory" to the backup location, and direct the "Default hypothetical Machine" to the system directory, because this cannot be changed and the VM

The size is not very large. It is acceptable to store it on the C drive.

2, and then start to create a VM. After setting the memory size of the VM, do not select the new specification for setting the VM hard disk, but choose to use the existing hard disk. Done!

However, network settings are lost, and these are saved to the XXX of each VM in the machines directory. XML, but backup is not available. XML to overwrite the new machine. it is useless to overwrite the XML file. The UUID contains information related to the directory, time, and so on. inconsistency may cause unavailability of new machines. I do not know whether the uuid replacement is valid. I have not tried the time relationship.

Above.

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.