1

Is VirtualBox 6.1 (Version 6.1.32 r149290 (Qt5.6.2)) able to be installed correctly on Windows 11?

I manage to install CentOS 7.9.2009 in VirtualBox 6.1 (on Windows 11 host), but whatever I do (e.g., following modprobe vboxguest failed) I fail to install Guest Additions, where the log shows only:

[root@ansible-server ~# cat /var/log/vboxadd-setup.log
modprobe vboxquest failed

Steps taken:
The following are installed on the guest VM:

[rbarak@ansible-server~]$ rpm -qa | sort | egrep 'dkms|binutils|gcc|make|patch|libgomp|glibc-headers|glibc-devel|kernel-headers|kernel-devel'
binutils-2.27-44.base.el7_9.1.x86 64
dkms-3.0.3-1.el7.noarch
gcc-4.8.5-44.el7. x86 64
glibc-devel-2.17-325.el7 9.x86 64
glibc-headers-2.17-325.e17 9.x86 64
kernel-devel-3.10.0-1160.59.1.el7.x86 64
kernel-headers-3.10.0-1160.59.1.el7.x86 64
kpatch-0.6.1-6.el7.noarch-libgcc-4.8.5-44.e17. x86 64
libgomp-4.8.5-44.e17.x86_64
make-3.82-24.el7.x86_64
patch-2.7.1-12.el7_7.x86_64
speech-dispatcher-0.7.1-15.el7.x86 64
speech-dispatcher-python-0.7.1-15.el7.x86 64
[rbarak@ansible-server~]$ uname
3.10.0-1160.e17.x86 64

After these RPMs were installed, the guest VM is restarted.

But, Guest Additions installation fails:

Verifying archive integrity... All good
Uncompressing VirtualBox 6.1.32 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 6.1.32 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:  /bin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:  /bin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Kernel headers not found for target kernel
3.10.0-1160.el7.x86_64. Please install them and execute /sbin/revboxadd setup
modprobe vboxquest failed
The log file /var/log/vboxadd-setup. log may contain further information
Press Return to close this window...

Drag'N'Drop is set to bidirectional:

Drag'N'Drop is set to bidirectional

The Kernel Headers and the active kernel seem to match:

[rbarak@ansible-server ~]$ uname
3.10.0-1160.e17.x86 64
[rbarak@ansible-server ~]$ rom -qa | grep 'kernel-kernel-devel-3.10.0-1160.59.1.e17.x86_64
kernel-3.10.0-1160.el7.x86_64
kernel-tools-3.10.0-1160.e17.x86_64
kernel-debug-devel-3.10.0-1160.59.1.el7.x86_64
kernel-headers-3.10.0-1160.59.1.el7.x86_64
kernel-tools-libs-3.10.0-1160.el7.x86_64
[rbarak@ansible-server~1$
Giacomo1968
  • 58,727
boardrider
  • 1,213

1 Answers1

2

As it seems you've already installed the kernel headers via yum install kernel-devel.

You probably need to update your system with yum update to fetch the current kernel header package.

mashuptwice
  • 3,395