bf109 wrote:vbox4me2 wrote:Edit the xml files manually.
How would I do this?
Here is an example of how to do this based on my Virtual Box installation on an Ubuntu host.
VirtualBox by default stores all its files in a directory tree called ".VirtualBox" under the users home directory. The file you want to edit to change the location of the .VDI file which was moved is called VirtualBox.xml. This is the main VirtualBox settings file, so you might want to make a backup copy of it before you modify it. On my system, the full path to this file is:
/home/dave/.VirtualBox/VirtualBox.xml
Open this file in your favorite editor and search down until you find a line something like this:
<HardDisk uuid="{cea3ff0b-920b-491c-d294-4ec25a518750}" location="/home/dave/.VirtualBox/VDI/WindowsXP2.vdi" format="VDI" type="Normal">
This is the definition for the location for one .VDI file in VirtualBox. In the example I have given, you can see the full path to the .VDI file is:
"/home/dave/.VirtualBox/VDI/WindowsXP2.vdi"
It should only be necessary to edit this location to point to the new location of the file you moved.
Dave