GRUB Installation fails with error - 'grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist'

Solution Verified - Updated -

Issue

  • While merging the snapshot lvm volume back to the root lv and installing the grub boot loader using steps in article 65991, we are getting following errors:

    # grub2-install /dev/sda
    grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
    

Environment

  • Red Hat Enterprise Linux 7.3
  • Logical Volume Manager
  • System installed with EFI configuration

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.