Skip to content

Initramfs failing to create when installing lvm2 #5

@swartze

Description

@swartze

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions