2021-02-28 16:12:20 +02:00
|
|
|
# grub-mkconfig
|
|
|
|
|
|
|
|
> Generate a GRUB configuration file.
|
2021-03-05 04:19:49 -05:00
|
|
|
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html>.
|
2021-02-28 16:12:20 +02:00
|
|
|
|
2022-12-04 08:53:34 +01:00
|
|
|
- Do a dry run and print the configuration to `stdout`:
|
2021-02-28 16:12:20 +02:00
|
|
|
|
|
|
|
`sudo grub-mkconfig`
|
|
|
|
|
|
|
|
- Generate the configuration file:
|
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}`
|
2021-02-28 16:12:20 +02:00
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display help:
|
2021-02-28 16:12:20 +02:00
|
|
|
|
|
|
|
`grub-mkconfig --help`
|