You don't need to reinstall your whole operating system just because you forgot your Linux login. It's actually pretty easy ...
Hi.. I'm currently back on macOS but ran Ubuntu 20.04 on my iMac for ~4 months exclusively. As in no macOS install at all. Purely Ubuntu. At least once a month, my boot disk would revert to read only.