Easily Access Shared Folder on Linux VirtualBox VM

|
Last Updated:
|
|

In this tutorial, you will learn how to setup and easily access shared folder on Linux VirtualBox VM. VirtualBox supports the ability to share folders/directories between the host and VirtualBox VM making it easy to share files between the host and the guest.

Setup and Access Shared Folder on Linux VirtualBox VM

So, how can you be able to setup and access shared folder on Linux VirtualBox vm?

Install VirtualBox Guest Additions on the VM

VirtualBox guest additions is what gives VirtualBox host and the VM the ability to share folders.

You can check a series of our tutorials on how to install VirtualBox guest additions by following the link below;

How to Install VirtualBox Guest Additions on Linux

Setup Shared Folder Access on VirtualBox VM

  • To begin with, ensure that the folder/directory you want to share between the host and the vm is already created.
  • Next, add the shared folder to the VM through shared folder settings. To access VirtualBox Shared Folder settings, highlight the vm on VirtualBox interface and press Ctrl+s to launch the VM settings. Or simply, from VM interface menu, click on Devices > Shared Folders > Shared Folders Settings…
Easily Access Shared Folder on Linux VirtualBox VM
  • Click the + (plus) icon to add the shared folder/directory.
    • Select the path to the shared folder
    • Enter the name you would wish to call the folder
    • Choose whether to mount as read-only.
    • Choose whether to auto-mount
    • You can leave the mount point blank for the guest vm to mount the shared folder on a convenient location
    • You can make the shared folder permanent.
Easily Access Shared Folder on Linux VirtualBox VM
  • Click Ok when done setting the shared folder on VirtualBox.

Accessing Shared Folder on VirtualBox VM

You are now ready to access shared folder on your VirtualBox guest;

Check mounted filesystems;

df -hT
Easily Access Shared Folder on Linux VirtualBox VM

And that is how you can setup and easily access shared folder on Linuc

Other Tutorials

Easy way to Install VirtualBox on Oracle Linux

Install VirtualBox Guest Additions on Debian 11

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment