Linux – How to access Guest (Linux) Filesystem from Host (Windows) in VirtualBox

linuxnetwork-sharesvirtualboxwindows

I am trying to synchronize my music between my desktop (Ubuntu 9.10) and my laptop (VirtualBox: Windows 7 host & Ubuntu 9.10 guest) I use Unison to perform the actual sync, which itself is not the problem. I am ultimately trying to get my Windows 7 host to be able to access the music files so I can sync my iPod Touch.

What I need to figure out is how I can that to work. I would prefer to actually perform the sync to my Ubuntu Guest, mostly because of the filename allowed character differences between Windows and Linux.

Is there a way to access the files on my Linux Guest from the Windows Host?

  • Can I mount the VDI in Windows when VirtualBox is off?
  • Can I have Windows Host access the Linux Guest filesystem while VirtualBox is running?

Best Answer

This forum post explains how to mount the disk with the machine switched off, but you will need to have it formatted with a Windows friendly filesystem...

I would use Samba to do a network share for access while the system is running, see this page in for how to do it in Ubuntu. You could also use the "shared folders" thing in Virtualbox.

Related Question