Windows guide for mapping VBox shared folder will be published next. The steps for mounting VBox shared folders is different for Windows and Ubuntu / Debian. Manually Mount VBox Shared Folder on Ubuntu.Mount VBox Shared Folders Ubuntu / Debian Guest.Mount VirtualBox Shared Folder on Ubuntu.Note that you still need to run the VirtualBox Manager as an administrator from Windows in order for the creation of virtualenv (symlinks) to work properly. Key: VBoxInternal2/SharedFoldersEnableSymlinksCreate/shared_folder, Value: 1 C:\WINDOWS\system32>vboxmanage getextradata ubuntu14-ppbdmmdd enumerate You can check the settings with the command below and should find one key about your shared folder indicating that it was enabled as in the second line below. Replace VM_name with the name of the virtual machine,Īnd the name of shared_folder with the name of the shared folder in the settings of your virtual machine, If you have not added virtualbox commands to your path, either do so or run VBoxManage from the folder where it is located. VBoxInternal2/SharedFoldersEnableSymlinksCreate/shared_folder 1 Open an admin command prompt, C:\WINDOWS\system32>VBoxManage setextradata VM_name Shutdown VM and close Virtualbox Manager in Windows host. Simple test in terminal: $ ln -s test, Either you’ll get a failed to create symbolic link './testfile': Read-only file system or Protocol error. How to Create Virtualenv in Shared FolderĬreating symbolic links in a VirtualBox shared folder is disabled, which will forbid you to create a virtualenv in a shared folder from the host machine. # replace username with your actual ubuntu usernameĪfter that, reboot the VM and you should have write access to the shared folder. When used as a virtual machine guest (Ubuntu 14.04LTS in Windows 10 host with Oracle VirtualBox), to get access to shared folder, run the following command in shell, replace username with your ubuntu username.
How to Create Virtualenv in Shared FolderĪrticle/ubuntu/.