I’m trying to install Arch on Btrfs but every time mkinitcpio runs it fails as shown in the attached screenshot. I’ve tried on the actual laptop which I’m trying to set up, and also on a couple of Hyper-V VMs set up as I usually do and I’ve never had this issue before. This happens when its run automatically after installing linux via pacstrap, and if I run it again while chrooted into the new system. If I format as ext4 instead I don’t have any problems.

I have a single subvolume called root mounted at / and a fat32 volume mounted at /boot, and I’m using the latest arch install iso (2024.03.29). Any idea why this is happening? The Btrfs volume is on a single device so as far as I’m aware I don’t need to add the btrfs module to mkinitcpio.conf

8 points

Make sure the btrfs-progs package is installed. I got the same error from mkinitcpio when I redid my computer using btrfs and forgot that package

permalink
report
reply
3 points

Thanks that’s sorted it! I must have not noticed the error before as I usually install btrfs-progs after chrooting and it looks like installing it triggers mkinitcpio to run again anyway

permalink
report
parent
reply
2 points

Glad I could help!

permalink
report
parent
reply

Arch Linux

!archlinux@lemmy.ml

Create post

The beloved lightweight distro

Community stats

  • 142

    Monthly active users

  • 319

    Posts

  • 2.2K

    Comments

Community moderators