VM Hdd location

This is for discussing general topics about how to use VirtualBox.
Post Reply
cybereatl
Posts: 4
Joined: 28. Jun 2009, 22:57
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: Windows 2003 Server Standard, Windows 7, OpenSolaris, Ubuntu

VM Hdd location

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: VM Hdd location

Post 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.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: VM Hdd location

Post 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"
Post Reply