You can verify this by looking at the running kernel with uname -aĪnd the installed sources at ls /usr/src/kernelsĪs a final conclusion, whatever happens, look at the messages and log files provided. So, running kernel and installed kernel sources (aka kernel-devel) must match. After installing the proper kernel-devel package, building and then installing worked as expected. INSTALLING VIRTUALBOX GUEST ADDITIONS CENTOS 7 INSTALLNow it complained about missing header files and suggested to do yum install kernel-devel-2.6.86_64Īs you can see, this is a slightly different version, 504.16.2 vs just 504. Since kernel-devel and sources at /usr/src/kernels/2.6.32-504.16.2.el6.x86_64 were already installed, I was confused, but called it with the requested environment variable KERN_DIR=/usr/src/kernels/2.6.32-504.16.2.el6.x86_64 sh /media/cdrom/n After upgrading the kernel, you must reboot your virtual machine. On CentOS/RHEL 7/6 sudo yum update kernel On Fedora 29/28/27/26/25 dnf update kernel. To upgrade kernel just execute one of the followings commands on system terminal. There it said something about missing kernel sources and to provide the kernel source directory with e.g. Upgrade your system to use the latest available kernel. In my case, one of them asked to look into /var/log/vboxadd-install.log. Reported by: brucemohler: Owned by: Component: guest additions: Version: VirtualBox 6.1. If it doesn’t work for you, look at the messages. Guest Additions fail to install on Cen64bit vdi. Answer almost worked, but it failed building some kernel modules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |