I typically share my user’s Desktop folder, but you can change this to whatever directory you prefer.On the Add Share dialog select the folder on the host OS that you want to share with the guest OS.Locate the Shared Folders category and click the little folder icon with the green plus-sign on it.Select your virtual machine and open its settings dialog.
REMOTE DESKTOP MOUNT HARD DRIVE MAC REMOUNT HOW TO
Here’s a screen animation on how to configure the shared folder, followed by a description of each step: We do this from the VirtualBox user interface. Configuring the shared folderĪs a first step, we configure the shared folder. This virtual machine serves as the guest OS. I already created a VirtualBox virtual machine based on openSUSE Leap 15.2.
Throughout this article I’ll use my Linux laptop, currently running Debian 10, as the host OS. This article explains how to do this for a Debian or Ubuntu based virtual machine. In order to mount a shared folder inside your VirtualBox virtual machine, the VirtualBox Guest Additions should already be installed in the guest OS. The type of Linux distribution and desktop environment doesn’t really matter. So for starters, you need a VirtualBox virtual machine, where you already installed Linux. The explanation presented in this article, assumes that you have a Linux based VirtualBox virtual machine. Refer to this article for details on how to copy files via SSH. For improved convenience and security, you could use SSH keys for accessing the guest OS. This does require that you have an SSH server installed and running on your guest OS. In case you do not have a USB stick lying around, you can exchange files the way you typically do with a Linux server: good old SSH. A menu pops up where you can select which USB device to connect to the guest OS: Copy files via SSH To virtually insert the USB stick into the guest OS, right-click the little USB icon on your virtual machine’s status bar.
This article provides details on how to manually mount a USB stick from the terminal. With VirtualBox you can access a USB stick, inserted into the host OS, on the guest OS. What if you do not want to use shared folders? In this case you can can use alternative methods for exchanging files: Exchange files with a USB Stick This article shows you step-by-step how to configure and mount a shared folder for your Linux based guest OS, running as a VirtualBox virtual machine. Thanks to the shared folder feature, you can simply copy the SSH keys from your host OS to your guest OS. You need the correct SSH keys on the guest OS, for write access to your GitHub repository. After fixing or improving some code, you want to push the changes back to the remote repository.