I am trying to boot an encrypted Ubuntu system without needing to have a custom initramfs for each disk I boot. I currently use Funtoo/Gentoo and have a generic initramfs in which I specify the UUID at boot time which lets me have the same image across all devices with only a modified kernel cmdline.
I believe I must edit /etc/crypttab and then rebuild the initramfs; however, if I do that, then I have a USB stick that only works with the system it was generated.
Are there some other hidden options that I'm not seeing?
I also tried this on the kernel cmdline: cryptopts=source=/dev/disk/by-uuid/ root=/dev//
However, that doesn't help.