# phpman > man > grub-mkconfig(8)

[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.06-2ubuntu7.2                        December 2022                           [GRUB-MKCONFIG(8)](https://www.chedong.com/phpMan.php/man/GRUB-MKCONFIG/8/markdown)
