moving a VM??

This is for discussing general topics about how to use VirtualBox.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

moving a VM??

Post by justinrpg »

is it possible to move a vdi VM to another location or to another drive?? I want to move two VMs to my external hard drive... is that possible to do??
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: moving a VM??

Post by Perryg »

Yes.
What version of VirtualBox were the guests created with? Version => 4.0 is easy even if you have snapshots.
Do you have snapshots?
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

I have no idea what are snapshots... and I am unsure of what version they were created in...
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: moving a VM??

Post by mpack »

Look in the VM folder (find out where that is). If there is a file there called <vmname>.vbox then it was created by v4.0.0 or later. If there's a file there called <vmname>.xml then it was created by v3.x or earlier.

Also in the VM folder there should be a "Snapshots" subfolder. Look inside. If there's anything there then you have been using snapshots, which can be a problem for moving v3.x VMs.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

there are .vbox files but there is NO snapshots folder nor is there any files associated with whatever these so called snapshots are... now, how do I move my VMs???!
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

why is nobody really helping me???
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: moving a VM??

Post by stefan.becker »

You have not bought it, VBOX is OSS. So be patient, we dont earn monoey for helping, its our private time.

If you have no snapshots, then copy the vdi files to the place you want. And then in the guest settings from the vbox gui change the path to the image.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

I cannot figure out how to change the path of the vdi!!! How do I do that??? I have clicked on EVERYTHING there is to click on yet still cannot figure out how to change the path!!! there is no option anywhere to do so!!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: moving a VM??

Post by Perryg »

If you have moved the complete folder that has the guest/s to a different location, remove the guest from the main VirtualBox manager (do not delete) and then dbl click on the *.vbox file to register it again.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

no, I just moved the vdi... so, what do I do know???
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: moving a VM??

Post by Perryg »

Well put it back and do what I suggested above.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

ok now I did that, but still didn't work!!! when I double click the vbox file it tries to register the vm with the original location (not the new location)!!! and VitrualBox says they are still inaccessible!!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: moving a VM??

Post by Perryg »

Did you click on the one at the new location? Did you remove (without deleting) the original.
Also look at the preferences of VirtualBox and make sue that it is set to the new location as well.

Oh an I don't need all the !!! I know you are struggling already.
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

yes I did all that! still ain't working!
justinrpg
Posts: 142
Joined: 18. Mar 2011, 00:33
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: XP Ubuntu Fedora LinuxMint Mageia

Re: moving a VM??

Post by justinrpg »

ok I got it now... apparently I had to remove it from the VitrualBox Manager AND the Virtual Media Manager (which you did NOT tell me to do)...
Post Reply