System Grab Bag

View all TLDR pages from Linux (or from all pages)

grub-mkconfig

Generate a GRUB configuration file. More information: https://www.gnu.org/software/grub/manual/grub/html_node/Invoking-grub_002dmkconfig.html.
  • Do a dry run and print the configuration to stdout:
    sudo grub-mkconfig
  • Generate the configuration file:
    sudo grub-mkconfig --output={{/boot/grub/grub.cfg}}
  • Print the help page:
    grub-mkconfig --help

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.