dreamsofautonomy / arch-from-scratch

169 stars 35 forks source link

Initramfs failing to create when installing lvm2 #5

Open swartze opened 7 months ago

swartze commented 7 months ago

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

freckhard commented 1 month ago

A pull request has been opened with your fix #10 Hope Elliott can accept it soon 👍🏻