Line 596:
Line 596:
</syntaxhighlight>and alter the line needed (you probably will need to uncomment this line and add mdraid between the quote)<syntaxhighlight lang="bash" line="1" start="19">
</syntaxhighlight>and alter the line needed (you probably will need to uncomment this line and add mdraid between the quote)<syntaxhighlight lang="bash" line="1" start="19">
# dracut modules to add to the default
# dracut modules to add to the default
−
add_dracutmodules+="mdraid"
+
add_dracutmodules+="lvm mdraid"
+
+
# install local /etc/mdadm.conf
+
mdadmconf="yes"
+
+
# install local /etc/lvm/lvm.conf
+
lvmconf="yes"
+
</syntaxhighlight>Finally rebuild the initfs<syntaxhighlight lang="bash">
</syntaxhighlight>Finally rebuild the initfs<syntaxhighlight lang="bash">
cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.old
cp /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.old
−
dracut --add="mdraid" /boot/initramfs-$(uname -r).img $(uname -r)
+
dracut --add="lvm mdraid" /boot/initramfs-$(uname -r).img $(uname -r) --force
</syntaxhighlight>
</syntaxhighlight>