Yes, the Windows files are there! But this mount will be lost on reboot, so I make it permanent by adding an entry to /etc/fstab: $ sudo vim /etc/fstab I check that I can see the files: cd /home/sun/somename Sudo mount -t vboxsf ArbitraryName /home/sun/somename To avoid having to use sudo every time to access the shared folder, I did one more thing: sudo adduser sun vboxsfįor the server, without guest additions installed, I took note of the ArbitraryName above, because I will need to use the same name for the mount command on the Linux guest: mkdir /home/sun/somename The shared folder will be visible, even on reboot. Assuming that guest additions have already been installed, and that the somename directory exists, then that's all there is to it. Note that "somename" should be an empty directory:įor a desktop, I also ticked the "Auto-mount" option above. On the dialog box, I entered the Windows source path in "Folder Path", an arbitrary name for the shared folder under "Folder Name", and the "Mount Point" which is a valid path of my choosing, on the guest. The first step is common, and is done via the VirtualBox UI (I have 6.1.26 at the time of posting), by selecting the target VM and going to Settings > Shared Folders and clicking the "Add shared folder" button: Let me share what has worked for me in two different setups, an Ubuntu 20.04 LTS Desktop and an Ubuntu 20.04.3 LTS Server on a Windows 10 host. If the above works fine, add a corresponding entry in /etc/fstab to make it permanent. Sudo mount -t vboxsf FolderNameInVBoxSettings /mnt/sharedfolder On Ubuntu Server, without guest additions, manually mount the shared folder on the guest, e.g.: mkdir /mnt/sharedfolder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |