How do I automatically add kernel parameters into grub.conf?

Updated -

To automatically add kernel boot parameters to the kernel lines in grub.conf simply run the following command:

grubby --update-kernel=ALL --args=$KERNEL_ARGS

The $KERNEL_ARGS is a list of options passed to the kernel, such as vga=xxx, noapic or serial=ttyS0,9600 or any other valid kernel options.

The --update-kernel=ALL adds the list of arguments to every ...

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