Your company here, and a link to your site. Click to find out more.

grub2-mkconfig - Man Page

generate a GRUB configuration file


grub-mkconfig [OPTION]


Generate a grub config file

-o,  --output=FILE

output generated config to FILE [default=stdout]


do not update variables in the grubenv file

-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


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.


April 2024 GRUB 2.06 System Administration Utilities