My Oracle Support Banner

Oracle Linux 5/6: How to Modify the DEFAULT Kernel Entry in GRUB (Doc ID 2307625.1)

Last updated on MAY 20, 2020

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.9 [Release OL5 to OL6U9]
Oracle Cloud Infrastructure - Version N/A and later
Linux x86
Linux x86-64


The following documentation shows the procedure to boot Oracle Linux operating system into different kernel installed.

Oracle Linux operating system uses GRUB as the default boot loader. When you install a kernel using either rpm, up2date or yum application, the kernel package creates an entry in the boot loader configuration file for that new kernel. However, rpm does not configure the new kernel to boot as the default kernel, up2date and yum does. You must do this manually when installing a new kernel with rpm, and double-check the boot loader configuration file after installing a new kernel with u2date or yum to ensure that the configuration is correct.

When you already have different kernels previously installed and desire to boot with different to what is set on the default in the GRUB configuration file you have to change the default kernel to boot with.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.