How to mount a directory from Windows to VirtualBox?  

Wednesday, December 18, 2013

Pre-requisite:
You must have installed the "Guest Additions" before you can configure this drive mounting.


1. From the Devices menu, choose Shared Folders… and add any folder or drive. Make sure that the Make Permanent checkbox is ticked. For example, add C:\VirtualBox with the name VirtualBox.  
2.  Create the directory to mount the shared folder on:
      - mkdir /home/alexy/shared
3.  Mount the directory
      - sudo mount -t vboxsf VirtualBox /home/alexy/shared
4.  To mount this every time linux boots, edit the file /etc/rc.local and put the following line at the start:  
     - sudo mount -t vboxsf Linux /home/alexy/shared
     


AddThis Social Bookmark Button
Email this post


Design by Amanda @ Blogger Buster