2015 iMac running Mojave hangs on Start up
So I have a 2015 iMac i7, 64GB that is running the Mojave. I restarted it tonight and it hung on reboot. I tried restarting, and did usual restarts clearing PRAM and such. I then booted into recovery mode and performed a disk repair, and no problems were found. Rebooting several times didn't resolve the issue. Each time it hung. And, yes, I let it sit for a good long time (more than an hour at one point).
I then booted back into recovery in order to try reinstalling the system, but when I tried that it couldn't do it, I presume because it couldn't find the internet. Nowhere in the process was I asked to connect to the internet, which in retrospect seems strange, and the internet is not available on the recovery screen. I'm wondering what's the best way to proceed on this.
The iMac is my secondary computer, which I use mostly for doing tasks that require access to older software that can't run above Mojave, if you are wondering why the computer is still on Mojave.
iMac 27″, macOS 10.14