Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initramfs failing to create when installing lvm2 #5

Open
swartze opened this issue Feb 6, 2024 · 1 comment
Open

Initramfs failing to create when installing lvm2 #5

swartze opened this issue Feb 6, 2024 · 1 comment

Comments

@swartze
Copy link

swartze commented Feb 6, 2024

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

geavenx pushed a commit to geavenx/arch-from-scratch that referenced this issue Mar 15, 2024
Install the package btrfs-progs alongside with lvm2, that provides administration tools for btrfs, such as mkfs.btrfs, fsck.btrfs, btrfs-convert, etc.
@freckhard
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants