I don’t know how many times Ubuntu has been installed, and the sharing problem has not been resolved. Recently I have to reinstall Ubuntu 16.04, which happened to be recorded once.
Pro test is available!
Alibaba Cloud Simple Application Server: Anti COVID-19 SME Enablement Program
$300 coupon package for all new SMEs and a $500 coupon for paying customers.
1. Install dependent libraries
Ctrl+Alt+T Open the terminal and enter the following command:
//Make sure the dependent library is installed
sudo apt install linux-headers-$(uname -r) build-essential dkms
//Restart after installation
reboot
2. Install Virtualbox virtual machine enhancement kit
//Ensure that the current user has permission to access the shared folder
sudo adduser $USER vboxsf
//Restart after installation
reboot
3. Set up shared folders
For example, create a new folder named SHARE on the D drive, preferably an English name, to ensure that the current Windows user can access this folder, and then select Devices -> Shared Folders -> Shared Folders Settings:
//Restart
reboot
4. Access to shared folders
After restarting and logging in, you can see the automatically mounted shared folders!
Shared folder mapping path:
/media/sf_SHARE