You can omit the module to stop getting the error. Set up a configuration file in /etc/dracut.conf.d
, for example with an editor like Micro:
sudo micro /etc/dracut.conf.d/omit-pcrphase.conf
Paste into the file:
omit_dracutmodules+=" systemd-pcrphase "
Save and exit the file, then regenerate the initramfs images.
sudo dracut-rebuild