MacBook Air only boots to Linux
My wife spilled some water on her MacBook Air (early-2015) a few weeks ago. This killed the battery, but after letting it dry out I found the machine still powers up. However, it gets stuck during boot on the black screen with the Apple logo and progress bar. The progress bar eventually reaches the end, but remains stuck at this point, even after 24 hours.
I was able to boot from a Ubuntu usb and have installed Ubuntu, which boots very quickly and with no problem. However, if I try to boot from a macOS USB, I have the same problem and get stuck with the progress bar. I've also borrowed a friends MacBook Air SSD and put it in the water damaged Air, but still had the same problem - stuck on the progress bar.
Except for the battery, the machine seems to be working well with Ubuntu but not with macOS - any ideas why this is the case and what I can do about it?
Thanks in advance.