I had a deeper look at the code. cryptsetup-initramfs ships /usr/share/initramfs-tools/hooks/cryptroot which already analyzes the volumes. populate_CRYPTO_MODULES determines the cipher mode. Adding legacy.so for MODULES=most will be fine, but not for other modes.
I had a deeper look at the code. cryptsetup- initramfs ships /usr/share/ initramfs- tools/hooks/ cryptroot which already analyzes the volumes. populate_ CRYPTO_ MODULES determines the cipher mode. Adding legacy.so for MODULES=most will be fine, but not for other modes.