I have an encrypted Debian linux system. I also try to detach the LUKS header from the encrypted container. The whole /boot/ partition will be stored on a separate device. I thought I could place the LUKS header under /boot/header/luks.img , but during the initramfs/initrd phase this path doesn't exists because the /boot/ partition isn't mounted yet.
So the question is how to automatically mount the /boot/ partition before the system tries to open the encrypted device? Or is there any other (or better) way to make it work?