After kernel/initramfs update, the system is dropping to the dracut shell, and LVM commands not found
Issue
-
When
LVMis used for therootfilesystem and theLVM moduleis missing from theinitramfs, thendracutwill fail to find theLV(s) specified on thegrubkernel command line andLVMcommands from thedracutprompt will fail:dracut:/# lvm pvs sh: lvm: command not found dracut:/# -
LVM moduleis missing frominitramfswhile installing a newkernelor updating the existinginitramfsimage.# lsinitrd |grep lvm |wc -l 0
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.