1

I have a VM up and running great with Ubuntu installed onto it. I want to stick it on an external herd drive. How can I do that without breaking it? Do I just drag the files, or is there something special I need to do?

I am using VirtualBox.

  • @grgarside. I am using VirtualBox. – Caleb Kleveter Dec 23 '15 at 17:45
1

As you're moving the VM's location but not the hardware that the VM is running on (i.e. you're not changing the host computer), moving the files is fine. This is only fine because of this clause. Moving the VM to a different host computer should be done with import/export.

You need to make sure that you've moved all the files, otherwise errors will occur, as well as making sure that you move rather than copy the files, otherwise you may get duplicate UUID errors. Deleting the VM from VirtualBox without the external drive attached reduces the likelihood of duplicate UUID errors, as follows:

  1. Quit VirtualBox.
  2. Move the VM files to the external drive.
  3. Disconnect the external drive.
  4. Open VirtualBox and remove the VM.
  5. Attach the external drive and add the VM to VirtualBox.
0

Next time... copy the VM (so the original is kept untouched) and move it to wherever, and confirm that it works. Once you've convinced yourself that it does work, move the original. You could've answered this question yourself.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .