I'm trying to do something fairly simple : access a folder from my host machine on my guest machine.
I've been at this for days. To no avail. Please help
First, I added the folder to "Shared Folders" in my virtual machine's configuration. I also set it to automatically mount.
I then learnt that I needed to install Guest Additions.
I tried that with the normal "Install Guest Additions" in the virtual machine's menu, but that does not work. I get the error message :
Code: Select all
Could not mount the media/drive 'P:\Program Files\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM-MEDIA-LOCKED).Code: Select all
sudo apt-get update
sudo apt-get install virtualbox-guest-additionsCode: Select all
No suitable module for running kernel guest additionsReading a fix, i typed :
Code: Select all
sudo apt-get update
sudo apt-get install linux-headers-genericWhen trying to access Shared Folders via the menu, I get a dialog box saying that Guest Additions are not installed. I rebooted the machine because I thought the change might not have taken effect, but I still get the same dialog box.
Since Guest Additions are not considered installed, the shared folder is not automatically mounted and cannot be found in /media.
I considered mounting it myself, but the tutorial says :
Code: Select all
mount -t vboxsf [-o OPTIONS] sharename mountpointAny suggestions ?