Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.29 KB

File metadata and controls

50 lines (33 loc) · 1.29 KB

GRUB


Installation & Maintenance

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.

Customization

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_linux or 30_os-prober.