grub-mkconfig

The program grub-mkconfig generates a configuration file for GRUB.

grub-mkconfig -o /boot/grub/grub.cfg


Options

--help

Print a summary of the command-line options and exit.



--version

Print the version number of GRUB and exit.



-o file--output=file

Send the generated configuration file to file. The default is to send it to standard output.