VirtualBox guest additions


New Member
Jul 4, 2020
Reaction score
Hi everyone, I have just installed the CentOS Linux ( because I purchased a course using this particular distribution ), I'm just a beginner, still at 0% progression. I try to start with Ubuntu but as I said the course force the distribution.
With the Ubuntu I could easily " auto-resize guest display " but with the CentOS 8 ( downloaded : 03-07-2020 ) I just can't. I tried all the solution I find on google, I type many commands but it doesn't work. I saw that the solution is to install VirtualBox guest additions I proceed as the help sites shows and everything is fine until the last step I get modprobe vboxguest failed. here is the log file, I hope you help me. THANKS IN ADVANCE.

Looking at that error I think you are probably missing the package kernel-devel:
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
Last edited: