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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.