Virtual HDD, configs, SnapShots, etc - all in one folder

This is for discussing general topics about how to use VirtualBox.
Post Reply
JoeB27
Posts: 1
Joined: 25. Aug 2010, 17:23
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Virtual HDD, configs, SnapShots, etc - all in one folder

Post by JoeB27 »

Hello,

in VMware it's possible to have everything for a VM in just one folder (HDD, configs, etc.). This makes it to copy the VM to different locations. How can I have the same in VirtualBox?

Currently the default is "%UserProfile%\.VirtualBox". There is a VirtualBox.xml that contains the location of the virtual HDDs,... There is a machine specific config below "Machines\*\*.xml",... Can I copy everything to one folder to have all what I need?

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

Re: Virtual HDD, configs, SnapShots, etc - all in one folder

Post by Perryg »

VirtualBox is not setup that way. It breaks everything (guests) into sub folders. You can change the location of the main folder but the main VirtualBox.xml (config file) will still be in your user space.
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Virtual HDD, configs, SnapShots, etc - all in one folder

Post by ChipMcK »

JoeB27 wrote:everything for a VM in just one folder (HDD, configs, etc.)
Yes, but you need to keep VBox informed when you move things - especially the Virtual Media Manager (Cmd-D)!
You already may move the SnapShots as you wish.

I found the tedious effort not worth it - easier to have VBox on unique partition and back up the partiton
Post Reply