haos tcgetattr input/output error

I’m running haos on Hyper-V and encountering the error “tcgetattr input/output error.” It also tries to boot into a recovery shell, where I face the same issue.