Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to transfer VirtualBox VMs, with their operating system and all their files intact, to another computer?

share|improve this question
    
As far as I understood, you want to transfer the virtual machines, not the installation of the VirtualBox software. Please correct me if I'm wrong. For the sake completeness you could tell us which operating system you have. –  slhck Aug 10 '11 at 18:20
    
I have Windows 7 as my host and Ubuntu as the only guest. I will be using a completely different computer but I want to transfer everything I have on Ubuntu with all the files and apps if possible. –  GTyler Aug 10 '11 at 18:46
add comment

5 Answers 5

Cloning a VirtualBox VM explains the cloning process on a Windows 7 64bit host cloning an Oracle Linux 5 64bit guest using Virtual Box 4.0, which I believe matches your situation more closely.

You can also take a look a the following articles for reference:

  1. Cloning a Virtual Machine in VirtualBox
  2. Clone a VirtualBox Guest VM
  3. Copying a VirtualBox virtual machine onto another host computer.
  4. How to copy and transfer or backup a Virtualbox Virtual Machine .vdi.
share|improve this answer
    
Will cloning or copying it preserve all my files and apps in Ubuntu? –  GTyler Aug 10 '11 at 20:01
    
Yes. Its an exact copy of your setup, including files and apps. I have updated the answer with an article more appropriate for your configuration. –  TookTheRook Aug 10 '11 at 20:21
    
How can I check that it will work properly at other PC? I don't have m y future host PC with me now. –  GTyler Aug 11 '11 at 22:46
add comment

I'm not sure to understand what you're asking... If you're talking about the app, there isn't a workaround, you must reinstall it. Regarding the VMs, you can simply copy them to a the other computer, look for the directory where they're stored (Look in File->Preferences to find the Default VM Folder).

share|improve this answer
add comment

Yes, what Host OS are you running? Did you store all the files and VMs in their default locations? If it's Linux it is easy to switch to another Linux, but moving from/to Windows is a bit involved.

Note that you must shut down all the virtual machines, not just sleep them or save their state. You must actually shut them down.

share|improve this answer
add comment

Open Virtual Box, highlight the machine you want to copy, click machine on the menu, click show in explorer , copy the entire VM folder to an outside drive, transfer the folder to the new machine, open virtual box and click machine , add machine , go to where you transferred the machine to. and open sesame

share|improve this answer
add comment

There´s a very clear thread about this topic with3 possible ways here:

What's the recommended way to move a VirtualBox VM to another computer?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.