(1) Go VirtualBox GUI, click Settings, click Shared Folders. Guest OS installed in the virtual machineįor this demonstration, we are using Windows10 as the host OS and Ubuntu 20.04 LTS as the guest OS. (2) Choose a Folder path, in this case, I choose D:\terrylin\c and name it with c (3) So the settings look like the screenshot. Mount Fortunately, I can log in to my VirtualBox machine with username vagrant and password vargrant. Install VirtualBox Guest Additions on the guest system To enable sharing between guest and host OS, we will install VirtualBox Guest Additions on the guest OS and then share and mount a folder from the host OS to the guest OS. To enable file sharing between host and guest, you must install Guest Additions in the guest OS. To do so, the following steps must be taken:ġ. Open VirtualBox in your host system and start a guest operating system.Ģ. On the top menu bar of VirtualBox, click Devices, then select Insert Guest Additions CD image to insert a virtual CD inside the guest system.ģ. #VIRTUALBOX SHARED FOLDER INSTALL#Ĭlick Run to install Guest Additions on the guest machine.Ĥ. Installation will begin, and once completed, you will be asked to press Enter to close the window. Once VirtualBox Guest Additions has been installed on the Guest OS, you can share folders between the host system and the guest system. Now, we will share a folder between the host and guest systems. You can share multiple folders between the guest OS and the host OS. For folder sharing, either create a new folder or use an existing folder. Follow the steps below to share a file or folder between the host and guest systems.ġ. From the top menu bar of VirtualBox, go to Shared Folders > Shared Folders Settings.Ģ. You will see the following settings window in your guest system. Click the button to open the Add Share dialog box.ģ. In the Add Share dialog box, select the shared folder using the Folder Path drop-down, and choose a folder from your host OS. Then, type a name for your shared folder, and check the Auto-mount box. The Auto-mount option will automatically mount the shared folder on the next boot. If you are using the Vagrant VirtualBox provider, then VirtualBox shared folders are the default synced folder type. Now, click OK to close the Add Share dialog. You will now see the shared folder in the Settings window.
0 Comments
Leave a Reply. |