You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux – How to Change Default Boot Kernel

APPLIES TO:

Linux OS – Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]

Linux x86_64 on Oracle Public Cloud

 

GOAL:

This document describes how to change default boot kernel in Oracle OCI for Oracle Linux version 7 on wards.


SOLUTION:

As root user execute below commands:

Check was kernels are currently installed:

 

# awk -F\' /^menuentry/{print\$2} /boot/efi/EFI/redhat/grub.cfg
 Oracle Linux Server 7.9, with Linux 3.10.0-1160.71.1.0.1.el7.x86_64               <----- Entry 0
 Oracle Linux Server 7.9, with Unbreakable Enterprise Kernel 5.4.17-2136.309.5.el7uek.x86_64   <----- Entry 1
 Oracle Linux Server 7.9, with Linux 3.10.0-1160.62.1.el7.x86_64                 <----- Entry 2
 Oracle Linux Server 7.9, with Unbreakable Enterprise Kernel 5.4.17-2136.306.1.3.el7uek.x86_64  <----- Entry 3
 Oracle Linux Server 7.9, with Linux 3.10.0-1160.49.1.el7.x86_64                 <----- Entry 4
 Oracle Linux Server 7.9, with Unbreakable Enterprise Kernel 5.4.17-2136.302.6.1.el7uek.x86_64  <----- Entry 5
 Oracle Linux Server 7.9 Rescue 2db282e6382b425f925ecb24c2e1411d (5.4.17-2102.200.13.el7uek.x86_64)
 Oracle Linux Server 7.9 Rescue c04bc0bbe8ad4ea8aef33b488236a7de (5.4.17-2036.103.3.1.el7uek.x86_64)
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!