OpenVZ Forum


Home » General » Support » How to install kernel headers with a different name?
icon5.gif  How to install kernel headers with a different name? [message #53191] Sun, 25 February 2018 15:43
Patsy is currently offline  Patsy
Messages: 1
Registered: February 2018
Junior Member
From: *dip0.t-ipconnect.de
Hi,

I guess (hope) it's an easy noob question:
How to tell the system┬╣ that the installed kernel headers /usr/src/linux-headers-2.6.32-openvz-042stab124.2-amd64 are what it's looking for (linux-headers-2.6.32-042stab124.2-amd64?

ln -s linux-headers-2.6.32-openvz-042stab124.2-amd64 /usr/src/linux-headers-2.6.32-042stab124.2
doesn't help.


Thank you,
Patsy

P.S. alternative: How to rename the kernel so that it has openvz in its name?



Why?
I have some OpenVZ containers where I want to install iSCSI target but
>apt-get install iscsitarget-dkms results in

DKMS: add completed.
Error! Your kernel headers for kernel 2.6.32-042stab124.2 cannot be found.
Please install the linux-headers-2.6.32-042stab124.2 package


but there is no such, just the slightly different named one with openvz in its name.




┬╣ uname -a
Linux fs1 2.6.32-042stab124.2 #1 SMP Fri Sep 1 20:42:18 MSK 2017 x86_64 GNU/Linux
Previous Topic: Problem disk on container
Next Topic: ploop mount failed
Goto Forum:
  


Current Time: Wed Dec 12 23:02:01 GMT 2018