Tuesday 25 May 2021

Virtual boxguest additions error - Modprobe vboxguest failed

If you see your guest additions are failing because of below error.

Error building the module:
modprobe vboxguest failed

OR

Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.4 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.4 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
4.1.12-124.24.3.el6uek.x86_64. Please install them and execute
  /sbin/rcvboxadd setup
modprobe vboxguest failed
The log file /var/log/vboxadd-setup.log may contain further informa

SOLUTION:  well in my case below solution worked for oracle vm 6.1

     yum install kernel-uek-devel

## Fedora 34/33/32/31/30 and CentOS 8 / RHEL 8 ##
dnf update kernel*

## CentOS/RHEL 7/6/5 ##
yum update kernel*

uname -r 
ls -ltr /usr/src/kernels/
yum install kernel-uek-devel-$(uname -r)
reboot

No comments:

Post a Comment