Installing:
# <package_manager> <install_command> grub;# grub-install --target=<architecture> --efi-directory=<efi_directory> --bootloader-id=<boot_name>.
Updating:
# update-grub.
Restoring the bootloader:
# grub-mkconfig -o /boot/grub/grub.cfg, if necessary;# grub-install --recheck /dev/sd@, where@is the disk letter the Linux distribution is installed on.
Custom grub settings:
# <text_editor> /etc/default/grub;- Add settings (for example:
GRUB_BACKGROUND="<path_to_image>.<img>).
Custom menuentries:
# <text_editor> /etc/grub.d/40_custom;- Add a menuentry based on
10_linuxor30_os-prober.
-
Previous: Boot Loader
-
Next: Boot Screen
-
Return: Table of Contents