Search
Calendar
May 2025
S M T W T F S
« Apr    
 123
45678910
11121314151617
18192021222324
25262728293031
Archives

PostHeaderIcon Mount a shared drive with VirtualBox

Case

You have to share some content between the host (eg: Linux Mint) and the resident (eg: Windows 7) systems, with Virtual Box.

Solution

  • In the resident system, go to Virtual Box, then: Machine >Settings > Shared Folders > on the right:Add > check automount and permanent, browse to the folder, let’s say D:\sharedFolder
  • Launch the VM.
  • Execute a terminal in host system:
  • Grant rights of group vboxsf to user mint:

sudo gpasswd -a mint vboxsf

  • Create a “local” folder:

mkdir ~/sharedFolder

  • Mount the folder sharedFolder on /home/ :

sudo mount -t vboxsf -o uid=1000,gid=1000 sharedFolder ~/sharedFolder

Leave a Reply