Advertisement
efxtv

How to access Windows/Linux Host shared directory from Ubuntu VirtualBox Guest

Nov 30th, 2022 (edited)
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | Cybersecurity | 0 0
  1.  
  2. How to access Windows/Linux Host shared directory from Ubuntu VirtualBox Guest:
  3.  
  4. 1. Create a directory in Windows on any location of your choice.
  5. 2. In the VirtualBox go to the settings of the Ubuntu Guest.
  6. 3. Under the Shared Folder section add the location of you folder created with full permission.
  7. 4. Now start the ubuntu guest, and make sure that you have the latest VirtualBox Guest Additions installed
  8. 5. Now add your user to the vboxsf group:
  9.  
  10. $ sudo usermod -aG vboxsf $(whoami)
  11.  
  12. 6. Logout the user and login again.
  13. 7. Now you can access your shared directory in /media/sf_(shared_folder_name).
  14. 8. Restart VM
  15.  
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement