Replace grub-update with core/update-grub? [Y/n]

- -bootloader-id=XXXX

Some clarification on --bootloader-id= used in the grub-install command for UEFI booting systems:

This bootloader-id corresponds to the name of the directory in which Grub’s ‘name-of-boot-file_x64.efi’ file should reside. For Manjaro, that directory is typically /EFI/manjaro on the EFI System Partition (ESP).

The grub-install command in its entirety would then become:

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck

… followed by checking the configuration, as before:

sudo grub-mkconfig -o /boot/grub/grub.cfg
  • Please, verify that this command matches your system requirements before blindly copy/pasting into the command-line.
  • The previous example posted by @cscs is specific to his machine, and is not meant as a copy/paste instruction. Yet, at least one user that I’m aware of seems to have done just that.

Take extreme care. There be :dragon:s here!

2 Likes