Oracle Linux 5/6: How to Modify the DEFAULT Kernel Entry in GRUB

(Doc ID 2307625.1)

Last updated on SEPTEMBER 19, 2017

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.9 [Release OL5 to OL6U9]
Linux x86-64
Linux x86

Goal

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.

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms