Template:GRUB2/doc

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.

Use this template to show the instructions to add a new kernel parameter to GRUB config.

Parameters

unnamed
Specify the new kernel parameter.

Usage

Note
Kernel parameters often contain "="; please use {{=}} in such a case.

See the template's testcases:


Parameter: unnamed
Wiki code {{GRUB2|kernel parameter}}

Main version In GRUB the parameters can be added to the variable GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.
CODE Kernel command-line
linux kernel parameter

Then run:

root #grub-mkconfig -o /boot/grub/grub.cfg
Sandbox version