Ubuntu – Sharing folder between Windows 10 host and Ubuntu virtual box machine

mountntfsshared-foldersvirtualboxwindows 10

I am totally new to Ubuntu and a first timer user and been reading about this subject for a while. I have a folder on Windows that I need to be able to access from my Ubuntu VM on Virtual Box.

I did the following steps:

1- From Virtual Box, I went to Devices > Shared Folders > Shared Folder Settings, added a new Shared folder on my windows desktop named 'ubunto_shared' like the following:

following

2- Then from the Ubuntu VM, I ran the following command:

 sudo mount -t vboxsf ubunto_shared windows_shared

But I got the error:

mount: wrong fs type, bad option, bad superblock on ntfs missing
codepage or helper program or other error

3- so I installed ntfs-3g using: sudo apt-get install ntfs-3g

4- I then ran this command:

sudo mount -t ntfs-3g ubunto_shared windows_shared

but I got the error:

ntfs-3g: Failed to access volume 'ubunto_shared': No such file or
directory

5- I read few articles about how to access that folder, so I ran

sudo /sbin/fdisk -l

I am seeing this and I am not seeing NTFS listed there. How do I handle this issue?

Best Answer

I faced a similar issue with Lubuntu 18.04/vbox 5.2.1. I did the following: install vbox guest additions, put the user in the vboxsf group. No effect (in versions 16/17 of Ubuntu, usually works).

During the search for a solution, I found many suggestions of packages to be installed, with no effect.

The package that solved for me was: virtualbox-guest-x11. Try:

sudo apt install virtualbox-guest-x11.
Related Question