Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
In the small hours of this morning, I seem to have got a breakthrough - in recovery mode, getting access to the encrypted home folder via this answer seems to fix it. In fact I broke it a second time about an hour ago, and this fix worked again. No idea why.