Change kernel of Centos OVH

DenCowboy asked:

I’m using a server of OVH with OS centos7. OVH has its own linux kernel:


Now I try to configure another Centos7 kernel.
I installed the other kernel(s).

yum install kernel

ls /boot shows me  bzImage-3.14.32-xxxx-grs-ipv6-64   efi   grub2                                     symvers-3.10.0-327.22.2.el7.x86_64.gz    config-3.10.0-327.22.2.el7.x86_64  grub  initramfs-3.10.0-327.22.2.el7.x86_64.img  vmlinuz-3.10.0-327.22.2.el7.x86_64

Now I want to configure to use 3.10.0-327.22.2.el7.x86_64. On some tutorials I found to edit grub.conf but this doesn’t exist. I found grub.cfg in the grub2 folder. What do I have to edit inside that .cfg to configure my new kernel? All the tutorials are showing configurations for the older grub.conf.

My answer:

After you install the OS distribution’s kernel on your dedicated server, you must reconfigure it to boot from the hard drive instead of from OVH’s kernel. This is done in your OVH management pages. It should look like the following:

OVH management page

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.