snippetbashTip
grub-mkconfig — Generate a GRUB configuration file. More information: <https://www.gnu.org/software/grub/manual/grub
Viewed 0 times
grub-mkconfigconfigurationcommandclifilemoregrubgenerate
linux
Problem
How to use the
grub-mkconfig command: Generate a GRUB configuration file. More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkconfig>.Solution
grub-mkconfig — Generate a GRUB configuration file. More information: <https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkconfig>.Do a dry run and print the configuration to
stdout:sudo grub-mkconfigGenerate the configuration file:
sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}Display help:
grub-mkconfig {{[-h|--help]}}Code Snippets
Do a dry run and print the configuration to `stdout`
sudo grub-mkconfigGenerate the configuration file
sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}Display help
grub-mkconfig {{[-h|--help]}}Context
tldr-pages: linux/grub-mkconfig
Revisions (0)
No revisions yet.