Guest additions problem (unsolved)

General support questions
Post Reply
alwinlau0824
Posts: 5
Joined: 2020/10/06 06:44:57

Guest additions problem (unsolved)

Post by alwinlau0824 » 2020/10/08 10:53:03

I have a problem with my setup on Guest additions
It showed:

Verifying archive integrity... All good.
Uncompressing VirtualBox 6.1.14 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.14 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Kernel headers not found for target kernel
5.8.14-1.el7.elrepo.x86_64. Please install them and execute
/sbin/rcvboxadd setup
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory
modprobe vboxguest failed
The log file /var/log/vboxadd-setup.log may contain further information.
Press Return to close this window...

I have updated to the latest version of kernel and reinstall the kernel policy by following this https://www.youtube.com/watch?v=YO3Vp8dZIyo
And rebooted, but it seems doesn't work.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Guest additions problem (unsolved)

Post by TrevorH » 2020/10/08 13:41:04

VirtualBox Guest Additions: Kernel headers not found for target kernel
You're using the ELRepo kernel-ml package so will need the equivalent kernel-ml-headers/-devel packages not the distro ones.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

alwinlau0824
Posts: 5
Joined: 2020/10/06 06:44:57

Re: Guest additions problem (unsolved)

Post by alwinlau0824 » 2020/10/15 11:46:19

how? Any commands?

Post Reply