mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 12:41:53 +00:00
22 lines
469 B
Plaintext
22 lines
469 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|