A more detailed explanation of the flags used in the above command:
''--target=x86_64-efi '' Tells GRUB that we want to install it in a way that allows it to boot in UEFI* ''--efi-directory=/boot '' All GRUB UEFI files will be installed in ''/boot''* ''--bootloader-id="Funtoo Linux [GRUB]" '' This flag is not necessary for GRUB to boot. However, it allows you to change the text of the boot option in the UEFI BIOS. The stuff in the quotes can be set to anything that you would like. * ''--recheck '' If a device map already exists on the disk or partition that GRUB is being installed on, it will be removed.* ''/dev/sda '' The device that we are installing GRUB on.
=== Configuring GRUB ===