GRUB 2: Add example for new boot entries with additional kargs
This commit is contained in:
parent
764f878e98
commit
edc4c7c8a0
1 changed files with 10 additions and 0 deletions
|
|
@ -199,6 +199,16 @@ title=Fedora (4.2.0-1.fc23.x86_64) 23 (Workstation Edition)
|
|||
|
||||
See the `grubby(8)` manual page for more command options.
|
||||
|
||||
.Adding a new entry with additionnal kernel arguments
|
||||
To add a new entry with the default kernel but with additionnal kernel arguments and make it the default entry, use:
|
||||
|
||||
[subs="macros"]
|
||||
----
|
||||
~]# grubby --add-kernel $(grubby --default-kernel) --copy-default --args=crashkernel=128M --title "Default kernel with kdump support" --make-default
|
||||
----
|
||||
|
||||
In this example, we set the `crashkernel=128M` argument for kdump support.
|
||||
|
||||
[[sec-Customizing_the_GRUB_2_Configuration_File]]
|
||||
== Customizing the GRUB 2 Configuration File
|
||||
|
||||
|
|
|
|||
Reference in a new issue