In VirtualBox CentOs8-Stream from scratch i can't install Additionnal Guest.
This is what i do
- Create new VM CentOS8 Stream
- in root yum groupinstall "Development Tools"
- in root yum install elfutils-libelf-devel
- I insert the guest additionnal (Devices > insert guest additionnal cd > Launch)
And i get this error:
Building the modules for kernel 4.18.0-326.el8.x86_64 Look at /var/log/vboxadd-setup.log to find out what went wrong modprobe vboxguest failed
In this log i see:
Error building the module.
ERROR: Kernel configuration is invalid
include/generated/autoconf.h or include/config/auto.conf are missing
Run 'make oldconfig && make prepare' on kernel src to fix it.
I dont understand why? because i just created the virtual machine and updated the kernel so i dont understand why it would be corrupted
dnf install kernel-devel
as it is not included in the "Development Tools" group. Also, you should not need to installelfutils-libelf-devel
separately as it is included in the "Development Tools" group.dnf install kernel-devel
it say that is it alreay installed, andnothing to do