Create a Shared Folder for host and guest machines in VirtualBox

Опубликовано: 05 Август 2026
на канале: Sagar Karmoker
14
1

How to Create a Shared Folder for host and guest machines in VirtualBox

If you want to share files between your host and guest machines in VirtualBox, you can create a shared folder that both systems can access. Here are the steps to do it:

1. On your host machine, create a folder where you want to store the shared files. For example, you can create a folder called `Shared` on your desktop.
2. On your VirtualBox window, select the guest machine that you want to share the folder with and click on `Settings`.
3. On the settings window, click on `Shared Folders` and then click on the `Add` button on the right side.
4. On the add folder window, click on the `Folder Path` drop-down menu and select `Other`.
5. Browse to the folder that you created on your host machine and select it. For example, you can select the `Shared` folder on your desktop.
6. On the same window, enter a name for the shared folder in the `Folder Name` field. For example, you can name it `Shared`.
7. Check the `Auto-mount` and `Make Permanent` options if you want the shared folder to be automatically mounted and available every time you start the guest machine.
8. Click on `OK` to close the add folder window and then click on `OK` again to close the settings window.
9. Start the guest machine and log in to your system.
10. On your guest machine, open a file manager and navigate to `/media/sf_Shared`. You should see the shared folder that you created on your host machine.
11. You can now copy, move, delete or edit files in the shared folder from both systems.

Congratulations! You have successfully created a shared folder for host and guest machines in VirtualBox.