# yum install "kernel-devel-uname-r = $(uname -r)" This command need root user to run, so first you need to run command su to login use root user. Then you should run command yum install “kernel-devel-uname-r = $(uname -r)” to install your CentOS linux kernel. If there are no kernels listed or the listed kernel version do not match your CentOS linux kernel version.Run command ls /usr/src/kernels/ to list all the installed kernels.Open a terminal and run command uname -r to list current linux kernel version.Fix VirtualBox Guest Additions: Kernel Headers Not Found For Target Kernel Error Steps. The log file /var/log/vboxadd-setup.log may contain further information.Ģ. VirtualBox Guest Additions: Kernel headers not found for target kernelģ.10.86_64. Then it will open a terminal and run the command like the below picture, but you may encounter an error message like the below message also. Then it will popup a dialog in the guest CentOS window like below, click Run button.
0 Comments
Leave a Reply. |