I have a SSD Hard drive representing C:\, which is only 30GB.

Therefore, I install all my (non-critical) apps on my large G:\ drive. My VirtualBox installation is on G:\, as well as the hard disks. However, I found that the snapshots directory still defaults to C:\Users\David\.VirtualBox\....

How do I put this on my G:\ drive by default?

link|improve this question
I followed the steps: > 1. Shutdown intended virtual machine; > 2. Right click on virtual machine, go to Settings > General > Advanced; > 3. Change Snapshots destination folder. A good value is a subfolder of your virtual machine hard disk folder. I click OK, and then go back into this settings page and it reverts to the original setting. – Mampersat Feb 13 at 18:57
feedback

3 Answers

up vote 8 down vote accepted

VirtualBox snapshots reside in the Machine Folder. You should be able to change the default machine folder using the menu option File->Preferences, under the General tab.

link|improve this answer
1  
You are right! I figured that out shortly after I asked the question. One thing I would like to add is that you can't change your snapshots directory for a VM in which you currently have snapshots saved. This means that you have to merge all of your snapshots into the Hard Disk first. Very annoying! – David Ackerman Apr 4 '10 at 16:37
Perhaps a symbolic link would work in this situation – vol7ron Apr 5 '11 at 22:20
feedback

Procedures to change snapshots folder in VirtualBox:

1 - Shutdown intended virtual machine;

2 - Right click on virtual machine, go to Settings > General > Advanced;

3 - Change Snapshots destination folder. A good value is a subfolder of your virtual machine hard disk folder.

Hope this helps preventing loses as I had suffered.

link|improve this answer
feedback

"One thing I would like to add is that you can't change your snapshots directory for a VM in which you currently have snapshots saved."

Not true. First, follow the advice of the first answerer, and change the default machine folder by going to File>>Preferences>>General and changing the path. This only changes the path for subsequent machines you create, not for those you've already got.

Now, close VirtualBox, and move the contents of your Users/YourUserName/VirtualBox VMs folder to whereever it is you want it. Then edit Users/YourUserName/.VirtualBox/VirtualBox.xml file. Change the paths there to your VMs to wherever you've moved your VM folders, reboot your machine, and you're good to go - no Snapshot flattening required!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.