# GRUB-MKCONFIG - generate a GRUB configuration file - man(8) - [phpMan]

[_GRUB-MKCONFIG_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKCONFIG/8/markdown)                   System Administration Utilities                  [_GRUB-MKCONFIG_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKCONFIG/8/markdown)

## NAME
       grub-mkconfig - generate a GRUB configuration file

## SYNOPSIS
       **grub-mkconfig **[_OPTION_]

## DESCRIPTION
       Generate a grub config file

### -o --output
              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)](https://www.chedong.com/phpMan.php/man/grub-install/8/markdown)

       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.

GRUB 2.12-1ubuntu7.3                         March 2025                             [_GRUB-MKCONFIG_(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKCONFIG/8/markdown)
