2021-02-28 14:12:20 +00:00
|
|
|
# grub-mkconfig
|
|
|
|
|
|
|
|
> Generate a GRUB configuration file.
|
2021-03-05 09:19:49 +00:00
|
|
|
> More information: <https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html>.
|
2021-02-28 14:12:20 +00:00
|
|
|
|
2022-12-04 07:53:34 +00:00
|
|
|
- Do a dry run and print the configuration to `stdout`:
|
2021-02-28 14:12:20 +00:00
|
|
|
|
|
|
|
`sudo grub-mkconfig`
|
|
|
|
|
|
|
|
- Generate the configuration file:
|
|
|
|
|
|
|
|
`sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}`
|
|
|
|
|
|
|
|
- Print the help page:
|
|
|
|
|
|
|
|
`grub-mkconfig --help`
|