You are not logged in.

#1 2022-06-19 15:58:28

shoelesshunter
Member
Registered: 2014-05-18
Posts: 212

how to add btrfs-progs to intiramfs?

after rescuing a r/o btrfs filesystem, I realized it would be good to have btrfs-progs built into my initramfs.

what exactly do I add to the 'binaries' section of mkinitcpio.conf? is the path to the /usr/bin/btrfs binary enough? it seems like it would need more. I already have 'btrfs' included with 'modules,' and I was able to read the disk in question, but I couldn't perform maintenance.

thanks.

Offline

#2 2022-06-19 16:14:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,391

Re: how to add btrfs-progs to intiramfs?

Looks like just 'btrfs' is required because the add_binary() function calls 'type -P'. EDIT: in the BINARIES array, that is.

Last edited by Head_on_a_Stick (2022-06-19 16:15:23)

Offline

Board footer

Powered by FluxBB