grub-mkconfig

generate a GRUB configuration file

TLDR

Do a dry run and print the configuration to stdout

$ sudo grub-mkconfig
copy

Generate the configuration file

$ sudo grub-mkconfig --output=[/boot/grub/grub.cfg]
copy

Print the help page

$ grub-mkconfig --help
copy

SYNOPSIS

grub-mkconfig [OPTION]

DESCRIPTION

Generate a grub config file

-o, --output=FILE

output generated config to FILE [default=stdout]

-h, --help

print this message and exit

-V, --version

print the version information and exit

REPORTING BUGS

Report bugs to <bug-grub@gnu.org>.

SEE ALSO

grub-install(8) The full documentation for grub-mkconfig is maintained as a Texinfo manual. If the info and grub-mkconfig programs are properly installed at your site, the command info grub-mkconfig should give you access to the complete manual.

Copied to clipboard
Dodo Farming