Cpu swap on 2017 imac won't boot into OS

I have a 2017 21.5 inch 4k iMac and I've recently swapped the cpu from the i5 7400 stock to an i7 7700. I swapped the ram from 8gb to 32gb aswell. I have an issue where the new i7 CPU won't boot into the OS. it gets about half way through the bar upon boot and restarts. All I get is the classic 'there was an issue so your computer restarted' message after it reboots....

Pins are fine on the motherboard, I've swapped between the 2 CPU's and the old one works and boots fine. I've swapped the ram and it boots no matter which set I have in, as long as the i5 is in.

The i7 will boot into recovery mode, I can log into wifi from there, I can change boot drive, currently I'm in internet recovery mode to see what it does. Everything seems fine it just won't boot into OS. I'm a little confused, if anyone knows what may be the issue I'd be glad to hear.

When I was putting the i7 CPU in it slid out of place while I was tightening it and I may have crunched it a bit. I didn't hear anything but I noticed it. Pins on mobo are fine, old cpu still worked after that. Idk if the i7 worked before that but if I trashed the cpu I would expect nothing on the mac to work. Pins on the cpu look fine too.

This seems like an OS issue. I'm running the current mac os, not sure the exact version. Might be 1 minor update outdated as of June 4/2024. I can pop the old cpu in and check if that's necessary.

submitted by /u/RainingCumfetti
[link] [comments]