title: Mounting Windows 7 host folder into VirtualBox guest Ubuntu 12.04 directory
body: <p>I know this is not strictly a question about programming but I need to mount the shared folder in order to continue my coding.</p>
  
  <p>I've got a Windows 7 OS with a guest Ubuntu 12.04 OS inside VirtualBox.</p>
  
  <p>I have been trying to mount a shared folder created in VirtualBox. The virtual folder is basically the <code>C:\</code> file system on Windows 7. In VirtualBox the shared folder appears as:</p>
  
  <p>Folder Path: <code>C:\</code></p>
  
  <p>Folder Name: Windows7</p>
  
  <pre><code># sudo mount -t vboxsf Windows7 /windows7
  </code></pre>
  
  <p>But the VirtualBox shared folder filesystem type is not recognized by the "mount" command. The error I get is:</p>
  
  <pre><code>mount: unknown filesystem type 'vboxsf'
  </code></pre>
  
  <p>Conversely, if I try it from the DOS prompt I also get an error after a long pause:</p>
  
  <pre><code>&gt; net use x: \\vboxsvr\Windows7
  </code></pre>
  
  <p>(the error which is in my locale basically says:
  <code>it is impossible to find the network path</code>).</p>
  
  <p>So, what should I do. I've been able to do this operation in the past a previous version of Ubuntu and VirtualBox by installing something called "guest additions".</p>
  
  <p>Could someone please shed some light on how to solve this problem?</p>
  
  <hr>
  
  <p>OK, since nobody answered my post I've done some research and the way to get
  it to work (so that the "Virtual Box Shared Folder" type to -t is recognized,
  is to install dynamic kernel module support, reboot Linux, and install the
  guest addition via the supplied package as follows:</p>
  
  <pre><code>sudo apt-get install dkms
  sudo /sbin/reboot
  sudo apt-get install virtualbox-ose-guest-x11
  sudo mount -t vboxsf Windows7 /windows7
  </code></pre>