Copy vbox guest image to another vbox host

This is for discussing general topics about how to use VirtualBox.
Post Reply
Angry
Posts: 24
Joined: 4. Sep 2008, 17:36

Copy vbox guest image to another vbox host

Post by Angry »

I'm using Vbox on Ubuntu 9.10 with an XP guest. I'd like to copy the existing XP guest image to a Windows Vbox host. I'm familiar with vdi's and vhd's but I wasn't sure which files are required for each VM to operate - and if those files are the same on Windows as they are on Linux. Of course if you have a link or part of the documentation you'd like to refer to me that's fine. I'm still searching.
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 vbox guest image to another vbox host

Post by Perryg »

Do you have any snapshots?
If not then write down the settings and copy the VDI file to the other machine.
If you do then you would be better off to use the export/import feature this will produce a flat file (snapshots merged). There will be (2) files that you will need to copy.
See section 1.11. Importing and exporting virtual machines of the VirtualBox Users Guide.
Angry
Posts: 24
Joined: 4. Sep 2008, 17:36

Re: Copy vbox guest image to another vbox host

Post by Angry »

Oh yes I have made snapshots - like when I did a full install of XP Pro and did all the updates the 700 reboots I made a snapshot so I could recover to it if I needed to.

Good link on the user guide - I'll check it out. I wasn't familiar w/ the export/import feature :D Thank you so much!
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Copy vbox guest image to another vbox host

Post by MarkCranness »

Angry wrote:...export/import feature :D
After the import, but before running the imported VM, make sure to check the virtual network card MAC: menu: Settings>Network>Adapter n>Advanced>MAC Address. Set this the same on the copied VM as it was on the original VM to avoid Windows activation problems.
Post Reply