How to move VirtualBox VM's to another dive

Hi

I'm using VirtualBox 5.2.18 on Windows 7

Currently the VM are sat on my C:\ drive (75 GB of a 255 GB SSD)
How do I move them to another  drive?

This Page suggests copying the folder and editing an XML but dosn't say where this XML is

BTW I've now set the default foder to the other drive
LVL 1
trevor1940Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JohnBusiness Consultant (Owner)Commented:
You should be able to use Option 2 if you just have one VMDK file. Use Option 1 if your virtual machine is more that one machine file. You should not have to edit an XML file with option 1 or 2.

Where are the files?   Look in the Virtual Machine folder.

I am using VMware Workstation currently and I just copy the folder to another machine / drive.  Works fine.
0
serialbandCommented:
The Virtualbox xml file is in the same folder as your images.  The file has a .vbox extension.

You mainly have to edit it if you copy the virtualbox folders to a different location on the new system.  If you keep the same folder path, you should not have to make those edits.
0
kenfcampCommented:
The process couldn't be easier.

To have VirtualBox move image:

  1. Start the VirtualBox manager
  2. Select File > Virtual Media Manager
  3. Select Image you want to move
  4. Select move
  5. Select destination directory

To manually move image:

VirtualBox should have the VM image in its own folder.
  1. Move the folder to its new location
  2. Start the VirtualBox manager
  3. Select File > Virtual Media Manager
  4. Select Image you moved
  5. Select Properties and change the location to reflect its new location
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
trevor1940Author Commented:
Hi
Having copied copied the VM before
the xml files are located not with the VM's but here

C:\Users\Trevor\.VirtualBox\VirtualBox.xml-prev
C:\Users\Trevor\.VirtualBox\VirtualBox.xml

you need to edited both better to do what kenfcamp suggested
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.