Oracle Linux: How to Change Default Kernel on GRUB2 Using the grubby Tool
(Doc ID 2605359.1)
Last updated on OCTOBER 11, 2022
Applies to:Linux OS - Version Oracle Linux 7.0 and later
Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
The purpose of this document is to explain how to make persistent changes to a grub2 menu using the grubby tool.
The grubby tool can be used to read information from and make persistent changes to, the grub.cfg file. It enables, for example, changing GRUB2 menu entries to specify what arguments to pass to a kernel on system start and changing the default kernel.
In Oracle Linux Linux 7 and higher, if grubby is invoked manually without specifying a GRUB2 configuration file, it defaults to searching for /etc/grub2.cfg, which is a symbolic link to the /boot/grub2/grub.cfg file.
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