OVH Community, your new community space.

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


DedicatedPros
25-06-2009, 15: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.

Oleg
25-06-2009, 14: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?

DedicatedPros
22-06-2009, 16: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

Oleg
22-06-2009, 15: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 ovh.co.uk .
By the way, the reseller told me to send an email message to the customer support of ovh.co.uk 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 ovh.co.uk, but the reseller told me to speak to ovh.co.uk.

Ashley
21-06-2009, 01:00
Quote Originally Posted by Oleg
But maybe one day I will follow your advice and buy a server from ovh.co.uk .
or ovh.pl

But you can install your own kernel.
http://help.ovh.co.uk/KernelInstall

Oleg
21-06-2009, 00:26
But maybe one day I will follow your advice and buy a server from ovh.co.uk .

Oleg
21-06-2009, 00: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.

Ashley
21-06-2009, 00:14
I think you should cancel your box and buy directly from OVH.pl

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

Oleg
21-06-2009, 00: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?

Ashley
21-06-2009, 00:12
You would have to consult Outsystem.pl

Oleg
21-06-2009, 00:04
But I am renting this server not from www.ovh.co.uk, but from outsystem.pl. I registered at www.ovh.co.uk, 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 outsystem.pl?

Myatu
20-06-2009, 23: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.

Oleg
20-06-2009, 23:12
How do I check if my server is using netboot?

Oleg
20-06-2009, 23: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?

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

Oleg
20-06-2009, 17: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?

Oleg
20-06-2009, 03: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-2.6.27.10-xxxx-grs-ipv4-32
-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 System.map-2.6.26-1-486
-rw-r--r-- 1 root root 1047652 2009-04-01 15:18 System.map-2.6.27.10-xxxx-grs-ipv4-32
-rw-r--r-- 1 root root 1468048 2009-03-13 23:34 vmlinuz-2.6.26-1-486

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

How about output of:

$ ls -l /boot

Oleg
20-06-2009, 02: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 2.6.27.10-grsec-xxxx-grs-ipv4-32 kernel, even though I had compiled 2.6.30 kernel from vanilla sources by following the instructions here: http://forum.ovh.co.uk/showthread.php?t=239 . I had used ftp://ftp.ovh.net/made-in-ovh/bzImag...xx-std-ipv4-32 config file to compile the vanilla kernel.

Oleg
20-06-2009, 01:55
lba32
boot=/dev/md1
raid-extra-boot=mbr-only
prompt
timeout=50
large-memory

image=/boot/bzImage
root=/dev/md1
label="Linux"
read-only

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

Oleg
20-06-2009, 01: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 kernel.org 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?