title: How to create Virtualbox shared folder between Windows host and Ubuntu18.04 guest machine
body: <p>I've read docs and all questions about sharing folder from host machine to Virtualbox's guest machine and still can't get it working. In my case the host is Windows machine and guest is Ubuntu18.04 server machine.</p>
  
  <p>What is advised and what I've already tried:</p>
  
  <p>1) In the VM's menu I found 'devices' submenu and clicked 'Insert Guest Additions CD image' option after which the CD icon in the status bar was lit and shows that the CD is inserted and the path to iso is C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (I checked that file really exists there).</p>
  
  <p>2) In the same 'devices' VM's settings submenu I opened 'Shared Folder Settings' and added shared folder with name 'test' and path 'D:\test' which leads to the folder on my D: disk which contains test files.</p>
  
  <p>3) I reboot my Ubuntu VM and look into /media directory expecting to find /media/cdrom directory or something like this with file VBoxLinuxAdditions.run in it, which should be run according to docs. But /media directory is empty so I have nothing to do with it. I looked for this file into other directories but had no success.</p>
  
  <p>After that I tried to install Virtualbox-guest-additions from repository as was advised on ubuntu forum:</p>
  
  <pre><code>sudo apt-get update
  sudo apt-get install virtualbox-guest-dkms
  </code></pre>
  
  <p>And checked that the package was installed with command:</p>
  
  <pre><code>lsmod | grep -io vboxguest
  </code></pre>
  
  <p>But when I rebooted and tried to mount the shared folder with:</p>
  
  <pre><code>mkdir -p /home/myusername/test
  sudo mount -t vboxsf test /home/myusername/test
  </code></pre>
  
  <p>I've got error:</p>
  
  <pre><code>mount: /home/myusername/test: wrong fs type, bad option, bad superblock on /home/myusername/test, missing codepage or helper program or other error.
  </code></pre>
  
  <p>I see there is no /sbin/mount.vboxsf link present, I'm not sure if this is a problem, also I tried add my user to 'vboxsf' group with:</p>
  
  <pre><code>sudo usermod -a -G vboxsf myusername
  </code></pre>
  
  <p>but the group was not created too.</p>
  
  <p>What am I missing, what is the way to make it work?</p>