After kernel/initramfs update, the system is dropping to the dracut shell, and LVM commands not found
Issue
- When
LVM
is used for theroot
filesystem and theLVM module
is missing from theinitramfs
, thendracut
will fail to find theLV
(s) specified on thegrub
kernel command line andLVM
commands from thedracut
prompt will fail:
dracut:/# lvm pvs
sh: lvm: command not found
dracut:/#
LVM module
is missing frominitramfs
while installing a newkernel
or updating the existinginitramfs
image.
# 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.