I've set up an VirtualBox with CentOS 7 but i can not add a shared folder.
Host - Windows 10 VirtBox - Centos 7 VirtBox Version - 5.1.10 Development Tools are installed gcc version - gcc-Version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) perl version - v5.16.3
I was following this post but it does not work.
If I try to mount I get the following result
[root@localhost /]# mount -t vboxsf php5 /mnt/share/php5/
/sbin/mount.vboxsf: mounting failed with the error: No such device
If I run
sudo ./vboxadd setup , descripted in the post, the log-file get the following message:
[root@localhost /]# cat /var/log/vboxadd-install.log /tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Schluss. Creating user for the Guest Additions. Creating udev rule for the Guest Additions kernel module.
If I try it by the common was
Guest Addition the following error occure:
Is there an other way to the success??