Sunday, June 7, 2020

How to Share a Folder Between VirtualBox and Windows

Hi Everyone,

In order to share a folder between VirtualBox and Windows, we have to follow the following steps.

1. Install Guest Additions. You can do this by clicking on the following menu item, once the virtual machine is started up.



2. Create a folder in your Windows machine and then share it with your virtual machine. Go to machine settings -> Shared Folders -> Add new Shared Folder.



Make sure to click on Auto-mount and Make Permanent check boxes.

3. Restart the Virtual Machine. Now you can see the shared folder added. However still you can't access the shared folder.



4. Shared folder is owned by the vboxsf user group. You can check this by checking the properties of the folder.



5. Add the current user to vboxsf group using the following command.

  • sudo adduser vboxsf

6. Now restart the VM and you'll be able to share files between the VM and the Host through this folder.

Hope it helps.

Thanks.




No comments:

Post a Comment