1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/grub-mkconfig.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

377 B

grub-mkconfig

Generate a GRUB configuration file. More information: https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html.

  • Do a dry run and print the configuration to stdout:

sudo grub-mkconfig

  • Generate the configuration file:

sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}

  • Display help:

grub-mkconfig --help