LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

update-grub

Regenerate GRUB bootloader configuration

TLDR

This command is an alias for grub-mkconfig --output /boot/grub/grub.cfg.View documentation for the original command
$ tldr grub-mkconfig
copy

SYNOPSIS

update-grub

DESCRIPTION

update-grub is a convenience wrapper that generates a new GRUB configuration file. It is equivalent to running grub-mkconfig -o /boot/grub/grub.cfg and is commonly found on Debian-based distributions.The command reads configuration from /etc/default/grub and scripts in /etc/grub.d/ to generate the bootloader configuration.

INSTALL

sudo apt install grub2-common
copy
sudo dnf install grub2-common
copy
sudo pacman -S grub
copy
sudo apk add grub
copy
sudo zypper install grub2-common
copy

CAVEATS

Requires root privileges. The actual path may vary (/boot/grub2/grub.cfg on some systems). Always review changes to GRUB configuration carefully.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid