Hi.
I have Oracle VM Virtualbox Version 5.2.22 r126460 (Qt5.6.2)
WARNING! I'm just 3 day unixoid, so please be patient.
I've set up CentOS-7-x86_64-Minimal-1810.iso and after that
yum update
yum install kernel-headers kernel-devel
reboot
yum -y install epel-release
yum install wget bzip2 gcc
yum -y group install "X Window System"
and after that I'm trying to run LinuxAdditions
mount /dev/sdrom /media/cdrom
sh /media/cdrom/VBoxLinuxAdditions.run
result: Look at /var/log/vbox-install.log to find out what went wrong
and in that file
Error building the module. Build ouyput follows.
make V=1 CONFIG_MODULE_GIG= -C /lib/modules/3.10.0-957.1.3.el7.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j1 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
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."; \
...etc
How to fix it?
Thanks.
how to install VBoxLinuxAdditions?
Re: how to install VBoxLinuxAdditions?
That is not an error message, just a statement from the installer script.
As noted in the wiki article about VirtualBox, you need version 5.2.23 to build graphics drivers. It is currently available from the TestBuilds.
As noted in the wiki article about VirtualBox, you need version 5.2.23 to build graphics drivers. It is currently available from the TestBuilds.
CentOS Forum FAQ
Re: how to install VBoxLinuxAdditions?
I use the below instruction to help install VirtualBox Guest Additions (reboot to ensure needed components are loaded):
# yum install gcc make perl dkms kernel-devel kernel-headers
Then install GuestAdditions, it is advisable to reboot after that.
However, if you install the Centos minimal (no interface), cut and paste from guest to host and vise versa does not work anyway.
# yum install gcc make perl dkms kernel-devel kernel-headers
Then install GuestAdditions, it is advisable to reboot after that.
However, if you install the Centos minimal (no interface), cut and paste from guest to host and vise versa does not work anyway.