OVH Community, your new community space.

How do I install build and header files for the kernel on my OVH server?

25-06-2009, 16:19
Weird, according to some of the posts on this forum, you don't need to change the netboot in order to compile a new kernel. Try this post:

Remember to reboot, that user forgot but as said a few posts down in that thread, rebooting did the trick.

25-06-2009, 15:12
This reseller is really getting on my ****ing nerves. Now he tells me that my server is in the HD mode and that in order to install a new kernel, I would need to use vKVM. Can you explain to me why I would need vKVM if I only need to install a new kernel, not a new OS?

22-06-2009, 17:44
The reseller has to deal with OVH directly, and if he can't change the boot configuration running on the server, you should switch to another reseller. I'll be offering reselling service within about 1-2 weeks, so if you want, hang in there

22-06-2009, 16:36
What do you mean by saying "I can install my own kernel" if this whole thread kept underscoring the fact that I can't boot the kernel that is on the hard drive?
I can't understand Polish; that's why it would be easier for me to order a server from .
By the way, the reseller told me to send an email message to the customer support of and ask them how to disable netboot for my server. So, I did send them an email in which I told them the hostname of my server and asked them about netboot, but they didn't reply yet. But I am a little confused because you, people, told me to speak to the reseller about it, not to, but the reseller told me to speak to

21-06-2009, 02:00
Quote Originally Posted by Oleg
But maybe one day I will follow your advice and buy a server from .

But you can install your own kernel.

21-06-2009, 01:26
But maybe one day I will follow your advice and buy a server from .

21-06-2009, 01:19
Well, I won't cancel this box, but I will tell the reseller to get in touch with the OVH people who sold him this server. I think he should ask them whether my server is using netboot or not and how I can disable it if it's really using it.

21-06-2009, 01:14
I think you should cancel your box and buy directly from

That way you arent limited to what you can and cannot do.

21-06-2009, 01:12
The reseller doesn't know himself how the server was set up (whether it uses netboot or not). So, what can I do?..
He's the one who contacts OVH people. Maybe he should write to them and ask them whether my server is using netboot?

21-06-2009, 01:12
You would have to consult

21-06-2009, 01:04
But I am renting this server not from, but from I registered at, but in the manager, the dedicated server list is empty. How do I add my server to the dedicated server list? Or it's not possible to add it, given the fact that I am renting it from

21-06-2009, 00:59
Visit the OVH Manager and select your dedicated server. The summary page will state whether netboot is active or not.

It should say "Netboot: inactive. Boot from: Harddisk" if you want to use your own kernel.

To change it, go to the Services menu, click Netboot and select HD from the drop-down and click Accept. It would be wise to remember where it is at currently, if it's not set to HD - in case you need to revert the settings.

21-06-2009, 00:12
How do I check if my server is using netboot?

21-06-2009, 00:03
Well, I never started any netboot program. Is it possible that that program runs when the server boots up, but I don't even know about it?

20-06-2009, 23:16
Are you using netboot, by any chance?

20-06-2009, 18:34
Also, I did something crazy: I completely deleted the /boot directory, then recreated it, and put the bzImage file (the new kernel) there. I re-ran /sbin/lilo(lilo.conf was still pointing to /boot/bzImage) and then rebooted it, but the same old kernel booted up again! What's going on? Do you have any idea?

20-06-2009, 04:42
ls -l /boot
total 19288
-rw------- 1 root root 512 2009-02-09 13:59 boot.0800
-rw------- 1 root root 512 2009-02-09 13:59 boot.0801
-rw-r--r-- 1 root root 512 2009-06-04 20:08 boot.0810
-rw-r--r-- 1 root root 4660896 2009-06-20 02:48 bzImage
-rw-r--r-- 1 root root 4377616 2009-06-20 01:32 bzImage-
-rw-r--r-- 1 root root 308326 2009-02-09 13:57 coffee.bmp
-rw-r--r-- 1 root root 91944 2009-03-13 23:35 config-2.6.26-1-486
lrwxrwxrwx 1 root root 15 2009-06-04 20:08 debian.bmp -> /boot/sarge.bmp
-rw-r--r-- 1 root root 153720 2009-02-09 13:57 debianlilo.bmp
drwxr-xr-x 2 root root 4096 2009-06-20 04:21 grub
-rw-r--r-- 1 root root 6521235 2009-06-20 00:16 initrd.img-2.6.26-1-486
-rw------- 1 root root 60416 2009-06-20 04:45 map
-rw-r--r-- 1 root root 23662 2009-02-09 13:57 sarge.bmp
-rw-r--r-- 1 root root 24116 2009-02-09 13:57 sid.bmp
-rw-r--r-- 1 root root 912358 2009-03-13 23:35
-rw-r--r-- 1 root root 1047652 2009-04-01 15:18
-rw-r--r-- 1 root root 1468048 2009-03-13 23:34 vmlinuz-2.6.26-1-486

20-06-2009, 04:29
Interesting. The lilo is point to the generic bzImage thingy majigy..

How about output of:

$ ls -l /boot

20-06-2009, 03:06
So, I posted the lilo.conf file in the above message... When I typed "uname -r" after rebooting, it told me I was running kernel, even though I had compiled 2.6.30 kernel from vanilla sources by following the instructions here: . I had used config file to compile the vanilla kernel.

20-06-2009, 02:55


20-06-2009, 02:38
Can you post the contents of your /etc/lilo.conf

20-06-2009, 02:01
It looks like my OVH server is running Debian Lenny, but it is using its own customized kernel, not the one provided by Debian Lenny. Is there a way I can install build and header files for this customized kernel? And if not, how can I install my own kernel with its build and header files? I downloaded vanilla sources from and compiled a bzImage file using those sources. Then I edited lilo.conf and pointed it to that bzImage. Then I ran /sbin/lilo. But when I rebooted the server, it still booted up the old kernel. Why?