Problem installing VBoxGuestAdd on CentOS 7

Discussions related to using VirtualBox on Linux hosts.
Post Reply
leonardopereira
Posts: 28
Joined: 16. Aug 2018, 16:42
Primary OS: MS Windows 10
VBox Version: OSE Debian
Guest OSses: Linux Mint 18

Problem installing VBoxGuestAdd on CentOS 7

Post by leonardopereira »

Hi. When trying to install VirtualBox Extension Pack 6.1.30 on VM with Linux CentOS 7.9, the following problem occurs:

/var/logs/vboxadd-setup.log

Code: Select all

Building the main Guest Additions 6.1.30 module for kernel 3.10.0-1160.49.1.el7.x86_64.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/3.10.0-1160.49.1.el7.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `modules'.  Stop.
make: *** [vboxguest] Error 2
modprobe vboxguest failed
The kernel-devel and kernel-headers packages have already been properly installed. In the previous version I was using (6.1.28), this doesn't happen.

Could you help me with this?
Leonardo Pereira (Brazil, Rio de Janeiro)
Post Reply