Page 1 of 1

VM Hdd location

Posted: 11. Jul 2009, 21:50
by cybereatl
Am trying to find the way to move hard drive locations for VM, but so far it's being unsuccessful.

Need to change HDD location for Win Server 2008 actual location is /home/user/.virtualbox and my / partition looks full on my linux.

There is a way to modify this?

Thnks

Re: VM Hdd location

Posted: 11. Jul 2009, 23:02
by Perryg
You change the location from the VBox program GUI select file -> preferences -> General.

Be sure that you know what you are doing.
I did this by making a complete copy of the .virtualbox folder to a different location (everything closed down) and I made a copy of the virtualbox.xml for safety.
Switched the location and it all worked. You might need to edit the virtualbox.xml file to get it to sync properly.
Once I had made sure that it all worked properly I deleted the original folder.

Re: VM Hdd location

Posted: 12. Jul 2009, 11:03
by stefan.becker
Other Solution may be a symbolic link like

"ln -s /home/YOURNAME/.VirtualBox/VDI /WHERE/YOU/HAVE/PLACE_ON/YOUR/DISK/VDI"