PhotonOS is a minimal Linux distro made by VMware mainly for DevOPS.
But I cannot install VBoxAdditions to the VM because the installer cannot find the kernel headers even though I have installed them
Here is the error:
Code: Select all
root@photon [ /mnt/cdrom ]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 6.0.4 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.1.26 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
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: Kernel headers not found for target kernel
4.4.77-1.ph1. Please install them and execute
/sbin/rcvboxadd setup
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
Code: Select all
tdnf install build-essential
Where is rcvboxadd looking for the kernel headers? What specific file is it looking for?
Thanks