# grub-install -target=x86_64-efi -efi-directory= esp -bootloader-id=GRUBĪfter the above installation completed, the main GRUB directory is located at /boot/grub/. Some motherboards cannot handle bootloader-id with spaces in it. If for some reason it is necessary to run grub-install from outside of the installed system, append the -boot-directory= option with the path to the mounted /boot directory, e.g -boot-directory=/mnt/boot. That means if you are booting from the live installation environment, you need to be inside the chroot when running grub-install. Make sure to install the packages and run the grub-install command from the system in which GRUB will be installed as the boot loader.If you want to use any additional GRUB module that is not included in the standard GRUB EFI file grub圆4.efi on a Secure Boot system, you have to re-generate the GRUB EFI grub圆4.efi with grub-mkstandalone or reinstall GRUB using grub-install with the additional GRUB modules included. As discussed in #Shim-lock, this is not the case on UEFI systems with Secure Boot enabled. This whole article assumes that inserting additional GRUB2 modules via insmod is possible. Follow EFI system partition#Check for an existing partition to find out if you have one already, otherwise you need to create it.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |