Renaming / moving a virtual disk VirtualBox

I renamed the directory where my virtual disk was located, and now I can not start Ubuntu VM and I can not understand how to specify the new location of the virtual disk with VirtualBox. Please, help.

+5
source share
3 answers

To move the .vbox file , edit

C:\Users\USER\.VirtualBox\VirtualBox.xml

The file is pretty clear, I updated

/VirtualBox/Global/MachineRegistry/MachineEntry[N]/@src

attribute. It works like a charm. It doesn't seem to care if you use slashes / backslashes. You can back up first. Restart VirtualBox as described below.

-

To move the disk image , edit the .vbox file, which is also an XML file. I renewed

/VirtualBox/Machine/MediaRegistry/HardDisks/HardDisk/@location

. :

location="C:/VM/UbuntuServer12/UbuntuServer12.vdi"

-

VirtualBox

VirtualBox , VBoxSVC.exe . , , , - .

+6

You can do this in VirtualBox by simply copying VHD to another directory in Virtual Machine Manager.

0
source

All Articles