I had to har reset my Mac Pro 2010 and can't reinstall Yosemite
My Mac Pro 2010 running Yosemite was slow and I decided to har reset. But now I cannot reinstall the Yosemite, When I turn the Mac on, I go to the window where I have the option to install Yosemite. But when I type my Apple ID and password it says it's wrong, but it's not, and I even keep receiving verification codes for each attempt. I tried restarting so many times that I am about to desist.
I tried to create a bootcamp disk using my MacBook M1 but no success until now.
Any suggestions?
Earlier Mac models