How do I permanently modify the kernel command line?

Solution Verified - Updated -


  • Red Hat Enterprise Linux 7 , RHEL8 & RHEL 9 has a boot loader (GRUB2) that differs from GRUB in RHEL5 and RHEL6.
  • How do I modify the kernel command line (and, thus, kernel boot parameters) in Red Hat Enterprise Linux 7/8/9 with GRUB2 installed as a boot loader?


  • Red Hat Enterprise Linux (RHEL) 7, 8 and 9
  • GRUB2 boot loader

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