Template:GRUB2

From Gentoo Wiki
Jump to:navigation Jump to:search
[edit

Documentation

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
Note
The above documentation is transcluded from Template:GRUB2/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)