Skip to content

Mars Box

Home Contact Us Sitemap Search
You are here: Home arrow Blog arrow Move VirtualBox.xml to Another Drive
Move VirtualBox.xml to Another Drive
Sunday, 12 April 2009

I switched to VirtualBox from VMware a few weeks ago. VirtualBox lets you store your virtual hard disk folders and machines in another location. I store mine on my second hard drive in my system (D:). However the index to these files is stored in C:\Users\{Username}\.VirtualBox\VirtualBox.xml. I often reimaging my operating system and as you can guess that wreaks havoc on my VirtualBox configurations. VirtualBox doesn't let you change the location of VirtualBox.xml but it turns out you can move it by copying it to where you want and then creating a link to the file with MKLINK.

For example, my VirtualBox.xml file was stored in C:\Users\Grant\.VirtualBox\VirtualBox.xml and I moved it to D:\VirtualBox\VirtualBox.xml.

So I dropped to a command prompt and used:

mklink "C:\Users\Grant\.VirtualBox\VirtualBox.xml" "D:\VirtualBox\VirtualBox.xml"

 

Bookmark and Share
Comments (1)Add Comment
Nick
August 05, 2009
...

That's not entirely true. Take a look at:

http://forums.virtualbox.org/v...=6&t=19733

Cheers,
Nick

Write comment

busy
 
[+]
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size