How to move Oracle VirtualBox linked-clone machine to a new location?

1

My linked-clone machine stop working after I move them from default location, eg. C:\Users\Nam Gi VU\VirtualBox VMs, to my usb hard-disk.

Please help me to move them out of there. Thank you!

I got the below error when doing so.

enter image description here

Nam G VU

Posted 2012-05-03T14:15:05.717

Reputation: 10 255

1Please don't create new tags unless you really have to. Tagging with virtualbox is mostly sufficient here. Same goes for your other "extension pack" question. Thanks! – slhck – 2012-05-06T20:46:16.867

Answers

3

The error is basically "file not found" from searching for the hard drive based on the current config. VirtualBox stores the full path to the VM's hard drive in a few places. After moving things to a new location and before restarting, you'll need to change the hard drive location thru the VirtualBox Manager. Select the current VM, then Settings -> Storage. Delete the entry for the current hard drive and then click the "plus" icon to re-add it from its new location. Use the same controller (IDE or SATA) as previously used. VirtualBox Manager disk configuration section

jdh

Posted 2012-05-03T14:15:05.717

Reputation: 6 645

+1. If there are any snapshots involved, there may be some XML hacking necessary, too. – None – 2012-05-03T15:29:08.570

@RandolphWest Would you help me to do that xml hack? I ofcourse had snapshots invlved the linked-clone machine – Nam G VU – 2012-05-03T18:47:02.337

Um ... I got it to work, but through trial and error, and reading the errors very carefully. Took me about an hour and I never made notes at the time. – None – 2012-05-04T04:35:39.410