Copying Virtualbox to different machine

This is for discussing general topics about how to use VirtualBox.
Post Reply
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Copying Virtualbox to different machine

Post by pcguy »

Is there a way on a Win7 x64 to copy a virtualbox machine to a different Win7 x64 host?
Teguise
Posts: 9
Joined: 11. Mar 2012, 05:23
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux Mint, Ubuntu, Fedora, SLAX, Other

Re: Copying Virtualbox to different machine

Post by Teguise »

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

Re: Copying Virtualbox to different machine

Post by Perryg »

If you have version => 4.* you can copy the entire guest folder to the other PC and just use the add feature.
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Copying Virtualbox to different machine

Post by pcguy »

Perryg wrote:If you have version => 4.* you can copy the entire guest folder to the other PC and just use the add feature.
Guest Folder? Is thaat craeted from the Appliance option??
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Copying Virtualbox to different machine

Post by mpack »

What appliance option?

The "guest folder" is the disk folder where VirtualBox puts all files related to that guest (VM). It can be found in <userdata>\VirtualBox VMs\<vm name>.

Please read the user manual, where terms such as "guest" are explained in great detail.
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Copying Virtualbox to different machine

Post by pcguy »

mpack wrote:What appliance option?

The "guest folder" is the disk folder where VirtualBox puts all files related to that guest (VM). It can be found in <userdata>\VirtualBox VMs\<vm name>.

Please read the user manual, where terms such as "guest" are explained in great detail.

I have 4.1.12 and do not have such a folder in Win7 x64. I have a c:\users\username\.Virtualbox\Hard Disks and a c:\users\username\.Virtualbox\Machines. This machine did have and older version of Virtuablbox on it and was upgraded to 4,1.12 recently.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Copying Virtualbox to different machine

Post by Perryg »

Ah ha. Well that means the guest was created before version 4.* and not going to have the new structure. Do you have snapshots?
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Copying Virtualbox to different machine

Post by pcguy »

Perryg wrote:Ah ha. Well that means the guest was created before version 4.* and not going to have the new structure. Do you have snapshots?
Yes I do but I clone the guest and I can delete the older ones on the clone so that the differences are merged together if need be.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Copying Virtualbox to different machine

Post by Perryg »

Yes. That would be the proper way and then when you create the new guest (from the clone) it should be in the new structure format. This will create a folder in the VirtualBox VMs folder and you can then move that to a different host. The advantage to doing it this way is the control files will go along with the *.vdi and you will only need to add it to the other and all set-ups will be done automatically.
pcguy
Posts: 57
Joined: 8. Feb 2009, 18:28

Re: Copying Virtualbox to different machine

Post by pcguy »

Thanks Perryg. I will do that process.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Copying Virtualbox to different machine

Post by mpack »

If you don't need the snapshots in the clone then tell the UI to clone the current state. That gives you a snapshot-free clone right away.
Post Reply