How to Update Grub on Ubuntu and Other Linux
https://itsfoss.com/update-grub30.12.2019 · The update-grub command is simply a stub for running ‘grub-mkconfig -o /boot/grub/grub.cfg’ to generate grub2 config file. Which means that you can update grub with the following command on any Linux distribution: sudo grub-mkconfig -o /boot/grub/grub.cfg. Of course, remembering update-grub command is a lot easier than the above command and ...
grub2-mkconfig Tutorial - Linux Hint
https://linuxhint.com/grub2_mkconfig_tutorialUsing grub2-mkconfig: The grub2-mkconfig or the grub-mkconfig command only has one important option. The -o or long format the –output option. It is used to tell GRUB 2 where the generated GRUB configuration file should be saved. By default, grub2-mkconfig or the grub-mkconfig command prints the generated configuration file to STDOUT, which is the terminal of …