When installing lvm2 I ran into the following issue:
root@archiso /]# pacman -S lvm2 --verbose
\<snip>
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'==> WARNING: errors were encountered during the build. The image may not be complete.==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
When installing lvm2 I ran into the following issue:
root@archiso /]# pacman -S lvm2 --verbose
\<snip>==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
\<snip>
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> Image generation successful
error: command failed to execute correctly
This can be corrected by installing btrfs-progs at the same ime `[root@archiso /]# pacman -S lvm2 btrfs-progs
Solution found here: https://bbs.archlinux.org/viewtopic.php?id=282234