This work is licenced under a Creative Commons Licence.
I've recently been playing around with VirtualBox, and have loved it. I've found that all the operating systems that I've installed in it have been very snappy, and it has been simple to use them. I did however, after setting up a Windows XP box, want to copy files from the XP virtual machine to my Ubuntu host. This was, unfortunately, not quite as simple as one would hope, but it isn't hard.
All that is required is to set up a folder on the host, and mount this as a network folder on the virtual system - bilateral file transfer between the host and virtual system is then possible.
Step 1: Make the shared folder
Step 2: With the virtual machine off, add a share by typing on the host machine:
vboxmanage sharedfolder add "Windows XP" -name "share" -hostpath ~/VirtualBoxShare/
This assumes that the virtual machine is called 'Windows XP' in Virtual Box. Note that it is essential to type a fully qualified path for the shared directory.
Step 3: Boot up the virtual Windows XP machine, and open a command prompt (start>run>"command") and enter:
net use x: \\vboxsvr\share
This will mount the folder as the "X Drive".
That is all! Simple to do, and easy to use.