While executing grub2-mkconfig command, getting the error: unknown LVM metadata header

Solution Unverified - Updated -

Issue

  • While executing grub2-mkconfig command, getting:
error: unknown LVM metadata header. 
/usr/sbin/grub2-probe: warning: Couldn't find physical volume `pvX'. Some modules may be missing from core image..

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content