Generate grub.cfg configuration file.
Usage: grub2-mkconfig [OPTION]
Generate grub configuration file
-o, --output=FILE Output the generated configuration to a FILE file [default=stdout]
-h, --help print this file and exit
-v, --version print version information and exit
Report bugs via <[email protected]>.
Generate new grub configuration file
grub2-mkconfig -o /boot/grub2/grub.cfg
# or
grub2-mkconfig > /boot/grub2/grub.cfg