I have a kimsufi Debian server on OVH.com and I want to update its Linux Debian kernel. As said on http://help.ovh.co.uk/KernelInstall, it is very easy.
You need to retrieve with a wget command the two last bzImage and System.map files from ftp://ftp.ovh.net/made-in-ovh/bzImage/latest-production specially adapted for OVH servers. You should use production releases as they are more stable that test releases, usually …
To know witch files you need for your system, simply look at those already present on your disk.
1 2 3 4 5 6 7 8 9 |
/boot # ls -lh total 30M -rw-r--r-- 1 root root 5,5M 26 avril 2011 bzImage-2.6.38.2-xxxx-grs-ipv6-64 -rw-r--r-- 1 root root 104K 25 févr. 04:02 config-2.6.32-5-amd64 drwxr-xr-x 3 root root 4,0K 26 févr. 09:02 grub -rw-r--r-- 1 root root 11M 26 févr. 09:02 initrd.img-2.6.32-5-amd64 -rw-r--r-- 1 root root 1,6M 25 févr. 04:02 System.map-2.6.32-5-amd64 -rw-r--r-- 1 root root 2,0M 26 avril 2011 System.map-2.6.38.2-xxxx-grs-ipv6-64 -rw-r--r-- 1 root root 2,4M 25 févr. 03:59 vmlinuz-2.6.32-5-amd64 |
The extension in my case have to match with: -xxxx-grs-ipv6-64
1 2 3 |
cd /boot/ wget ftp://ftp.ovh.net/made-in-ovh/bzImage/latest-production/bzImage-3.2.13-xxxx-grs-ipv6-64 wget ftp://ftp.ovh.net/made-in-ovh/bzImage/latest-production/System.map-3.2.13-xxxx-grs-ipv6-64 |
To update your kernel bootloader, juste type this command
1 2 3 4 5 6 7 8 9 |
/boot # update-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead Found linux image: /boot/bzImage-3.2.13-xxxx-grs-ipv6-64 Found linux image: /boot/vmlinuz-2.6.32-5-amd64 Found initrd image: /boot/initrd.img-2.6.32-5-amd64 No volume groups found done |
Debian will load your new kernel at next server reboot !
Thanks for this post, it was very helpful!