bcachefs-tools icon indicating copy to clipboard operation
bcachefs-tools copied to clipboard

add mkinitcpio hook for Arch and sample /etc/mkinitcpio.conf

Open DerVerruckteFuchs opened this issue 6 years ago • 0 comments

This adds the necessary initcpio hook for Arch to boot from an encrypted root bcachefs drive/partition. For the time being, the hook is kept in the custom hooks directory (/etc/initcpio/hooks) as per the Arch wiki. As things get mainlined and become part of the kernel, we may want to move the hook into the system hooks directory (/usr/lib/initcpio/hooks). There is an example of a working /etc/mkinitcpio.conf that calls the bcachefs hook when creating a new initramfs with mkinitcpio -p linux-bcachefs.

DerVerruckteFuchs avatar Jul 29 '18 03:07 DerVerruckteFuchs