Page 1 of 1

How to move VMs from their default location

Posted: 3. Mar 2012, 19:38
by rereidy
Hi,

I have a Macbook air and want to move the VMs I am creating from their default locations under my $HOME to a removable disk. I have been looking at the XML file (VM_name.vbox), but am not sure what items to change in order to move the VM.

I have also thought of making symlinks, but I am not sure if this will work.

Any pointers or advice?

Thanks.

--
Ron

Re: How to move VMs from their default location

Posted: 3. Mar 2012, 20:27
by Perryg
What version of VirtualBox are you using and what version were the guests created with. Also are there snapshots?

Re: How to move VMs from their default location

Posted: 5. Mar 2012, 01:28
by rereidy
VirtualBox 4.1.8. No snapshots of any of the VMs.

Thanks for your help.
--
Ron

Re: How to move VMs from their default location

Posted: 5. Mar 2012, 02:00
by Perryg
Version 4.* of VirtualBox made it easier to move the VMs to a new location. You should see them all in a folder called VirtualBox VMs.

You can copy this to the new location and before you do anything else backup the VirtualBox.xml file.
Next remove the guests from the VirtualBox main manager ( without deleting them ) and use the add feature to put them back from the new location.
Change the preference to show the new location and it should be good to go.
Once you are sure everything is working as it should then and only then can you delete the old guests.