TL;DR: Our 2019 iMac 27" fell into a boot loop--we can't seem to force a clean reinstall and would deeply appreciate any pointers.
In Detail
My partner has a 2019 iMac 27" with Sequoia 15.7.9 which crashed and fell into a boot loop a week ago. It was maxed out on every spec except only 16 GB RAM (4 x 4) and cost circa $4300 in 2020. This past year it had slowed down a bit with Sequoia updates. I chalked this up to programmed obsolescence. My personal Intel iMac 27" (next model made after the 2019 and last Intel model ever made in 2020) purrs like a race car on Monterey; it had ground to a halt on Sonoma (I think?) a few years ago and I went to **** and back to down-date it to the older, highly stable OS.
I tried to get my partner to hold off on auto-updates and upgrades but, so it goes... The first few days I was able to log in a few times. I was able to shut down programs, cancel login items, and turn off auto-updates. But eventually that stopped being doable in any predictable way as it would still crash eventually and boot loop again. Or just shut itself down. So I switched to trying to assess and fix things in recovery mode. It seems successive crashes obliterate the ability to start up normally.
My hypothesis is the initial crash occurred due to a failed software update to Sequoia 15.8 and the OS is corrupted--rather than a hardware failure--but either way it has been unstable with the SSD appearing and disappearing in recovery mode. 2TB SSD half full. No space issues. Diagnostics says no hardware issues. Safe Mode has never worked. I troubleshot it for several days. I was able to create a new volume on it to install Sonoma. But neither First Aid nor Erase have worked on the startup disk regardless of whether we were in Internet Recovery or booting from some other recovery mode or the boot disk I made with Sonoma.
The first RAM slot is not working. I believe I may have bent a connector--argh!--when first trying to see if the RAM was the culprit. Not sure. All other RAM slots are fine. As a result I'm only using slots 2 and 4 for now. My partner says the behavior of the computer has been identical before and after I tried testing each RAM stick individually and doubts that has a causal relation to the boot loop. Could the fact that it won't boot now when the first slot is full be a logic board problem and connected to boot looping, or no?
Here's the weird thing. If we leave it off overnight, it almost always boots in some way that recognizes the SDD. In Recovery Mode it shows the SSD. It hangs on First Aid, tho. And the erase button hasn't worked. It's initiated, but then hung. The fact that it sort of heals itself for lack of a better term if left alone and rebooted in the mornings makes me think it's not a hardware failure.
I've done countless PRAM resets, all the recovery mode key combos--literally every key combo on startup listed. Disk Target mode sadly has not worked with USB or Thunderbolt. Option mode has not yet shown the SSD, tho I never tried it first thing in the AM...
I took it to the local Apple Store in NYC. They're running advanced diagnostics. I'll report back what they find. I still believe the iMac is recoverable as a machine and does not have a hardware failure since it seemed to grind to a halt due to the OS, not some typical mechanical/disk failure type of situation. Could be wishful thinking. Anyway, any insight on these issues--like if you've seen them before or see red flags or indicators for known problems--would be greatly appreciated!