Site icon GetPageSpeed

Stock CentOS kernel in OVH

OVH provides value for money dedicated servers. In fact, they are so cheap, that if your projects ougrows Linode VPS,
I can recommend OVH for going dedicated, most of the time.

However, the OVH by default installs its own kernels.
Those kernels may be “cut down” by lacking some stock kernel features.

Shiny example if with FirewallD giving such errors on an OVH kernel:

iptables-restore: unable to initialize table 'security'

So if you were unlucky and did not choose “native kernel” during the initial install,
here is how to get the stock kernel when your server is already up and running.

Install the missing bootloader stuff

yum reinstall grub2-efi grub2-efi-modules  shim
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

Changes in OVH manager

Click on “Boot” -> “Modify”, then choose “Boot from the hard disk”, then confirm the change.
Trigger reboot by selecting Reboot alongside Status.

Exit mobile version