You are not logged in.
Hello.
This is kind of a general question.
My /boot directory is a separate disk partition fomatted/mounted as compressed BTRFS.
If BTRFS is handling compression, can I just turn off compression of the initramfs file in /etc/mkinitcpio.conf?
BTRFS gives weird stats for the /boot FS without compression, am not sure what to trust.
Thanks in advance.
Sam
Offline
Which weird stats?
Offline
Grub supports btrfs data compression (zstd and lzo only?). However this means that Grub has to do the uncompressing and then pass the uncompressed image to the kernel.
This could be slower than the oldschool way of uncompressed filesystem, compressed initramfs, and leaving the decompression to the kernel. It could also be worse in terms of error handling.
However only one way to find out. Just do it and compare and see how it turns out.
Offline