How to modify the kernel command-line in Red Hat Enterprise Linux 9

Solution Verified - Updated -

Issue

  • How to modify the boot parameter in RHEL 9
  • grub2-editenv - list command output is not showing kernelopts option to update kernel commandline.

    # grub2-editenv - list
    saved_entry=d7a9453a54b34038ab12deddd44484e6-5.14.0-39.el9.aarch64
    boot_success=0
    

Environment

  • Red Hat Enterprise Linux (RHEL) 9
  • grub2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content