[Solved] Copy VM from one machine to another?

This is for discussing general topics about how to use VirtualBox.
Post Reply
joviyach
Posts: 2
Joined: 27. Aug 2009, 02:00
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: open solaris, ubuntu

[Solved] Copy VM from one machine to another?

Post by joviyach »

I am brand new to Virtual Box and I am wondering if I could copy an Ubuntu VM I created at work for example to my home PC using the same version of Virtual Box (which happens to be 2.2). I created an Ubuntu Ruby on Rails dev VM and didn't want to go through all that again at home if I don't have to.

Thanks,

Jim
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Copy VM from one machine to another?

Post by Perryg »

Sure. Take the VDI file and write down the settings. Create a new VM at home and when asked if you want to create a new HD tell it to use the one you have.
This supposes that you do not have snapshots saved. If you do you would need to merge them to get the full package on the other PC.
joviyach
Posts: 2
Joined: 27. Aug 2009, 02:00
Primary OS: MS Windows XP
VBox Version: OSE self-compiled
Guest OSses: open solaris, ubuntu

Re: Copy VM from one machine to another?

Post by joviyach »

Thanks! I figured it was something like this, but I thought I would ask before embarking on trial and error. The odds that someone had done, or at least thought about doing this were pretty good.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Copy VM from one machine to another?

Post by Sasquatch »

joviyach wrote:Thanks! I figured it was something like this, but I thought I would ask before embarking on trial and error. The odds that someone had done, or at least thought about doing this were pretty good.
That thought on itself should have triggered something for you to use the search, instead of new topic ;). It's been asked dozens of times before. Glad you got it working.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply