how to repair grub in linux centos 7 code example Example: centos7 install grub # yum reinstall grub2-efi grub2-efi-modules shim