I'm trying to get shared folders to work with my Vagrant box (host is Ubuntu 16.04, guest is CentOS 6). When I bring it up the machine Vagrant complains that:
default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 4.3.26 default: VirtualBox Version: 5.1
So I'm trying to upgrade guest additions so they fit the VBox version. I select Devices > Insert Guest Additions Cd Image...Nothing happens but I can see it's mounted. Now I'm supposed to navigate to
/media and run
sudo ./VBoxLinuxAdditions.run, but I can't find anything relevant in
/media. I tried the solution suggested here, but typing
sudo mount /dev/sr0 vbox/ got me
mount: special device /dev/sr0 does not exist.