I found that when installing the base system, when you are prompted whether to install a generic kernel or a targetted kernel, if you choose to install the targetted kernel then the issue described in this bug report will not occur. I can enter the luks password in a Gen2 hyper-v VM without any issues. With a generic kernel, I can't.
- Bug#1028511: initramfs-tools: Please include `hyperv-keyb... Arnaud Rebillout
- Bug#1028511: A workaround Jinesh Choksi

