commands.sh

grub-mkconfig

linux

Generate a GRUB configuration file.

More info →

Options (2)

-o, --outputboolean

Generate the configuration file

Example: sudo grub-mkconfig {{[-o|--output]}} {{/boot/grub/grub.cfg}}
-h, --helpboolean

Display help

Example: grub-mkconfig {{[-h|--help]}}

Examples (3)

Do a dry run and print the configuration to `stdout`

Generate the configuration file

sudo grub-mkconfig [-o|--output] /boot/grub/grub.cfg

Display help

grub-mkconfig [-h|--help]
made by @shridhargupta | data from tldr-pages