<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear All,</p>
<p>Please forgive me if this question has been answered already: I
try to search for it but could not find the answer.</p>
<p>I'm running Centos 7.5 with the elrepo kernel
kernel-lt-4.4.165-1.el7.elrepo.x86_64.</p>
<p> Virtualbox requests the kernel headers (it was working ok for
the Centos stock kernel 3.10.something).</p>
<p>"""</p>
<p># /sbin/vboxconfig<br>
vboxdrv.sh: Stopping VirtualBox services.<br>
vboxdrv.sh: Starting VirtualBox services.<br>
vboxdrv.sh: Building VirtualBox kernel modules.<br>
This system is currently not set up to build kernel modules.<br>
Please install the Linux kernel "header" files matching the
current kernel<br>
for adding new hardware support to the system.<br>
The distribution packages containing the headers are probably:<br>
kernel-devel kernel-devel-4.4.165-1.el7.elrepo.x86_64<br>
This system is currently not set up to build kernel modules.<br>
Please install the Linux kernel "header" files matching the
current kernel<br>
for adding new hardware support to the system.<br>
The distribution packages containing the headers are probably:<br>
kernel-devel kernel-devel-4.4.165-1.el7.elrepo.x86_64<br>
<br>
There were problems setting up VirtualBox. To re-start the set-up
process, run<br>
/sbin/vboxconfig<br>
as root.<br>
</p>
<p>"""</p>
<p>As suggested on the elrepo webpage:</p>
<p> "When you see a message like "your kernel headers for kernel xxx
cannot be found ...", you most likely need the <b>kernel-lt-devel</b>
package, not the kernel-lt-headers package."</p>
<p>But when I try to install it, it is not available:</p>
<p>"""</p>
<p># yum --enablerepo=elrepo-kernel install kernel-lt-devel</p>
<p>Loaded plugins: fastestmirror, langpacks<br>
Loading mirror speeds from cached hostfile<br>
* base: centos.cu.be<br>
* beid-release: files2.eid.belgium.be<br>
* elrepo: elrepo.reloumirrors.net<br>
* epel: fedora.mirrors.telekom.ro<br>
* extras: centos.cu.be<br>
* ius: mirror.ehv.weppel.nl<br>
* nux-dextop: mirror.li.nux.ro<br>
* updates: centos.cu.be<br>
No package kernel-lt-devel available.<br>
Error: Nothing to do<br>
</p>
<p>"""</p>
<p>Many thanks upfront for a solution to my virtualbox issue.</p>
<p>Kind regards,</p>
<p>Frederic<br>
</p>
</body>
</html>