I have a 13" mid 2012 Macbook pro. I had upgraded my initial configuration to use a 512GB SSD(Crucial MX200 SSD) and 8GB Ram which was running on El Capitan perfectly fine.
Last week I tried to upgrade from El Capitan to Mojave. I tried this because my mac was constantly crashing and I wanted to check if the upgrade would help. As it turned out, the upgrade failed. I get the error dialog "MacOS could not be installed on your computer".
I have now tried reapplying the upgrade with a bootable usb drive, tried installing versions Yosemite, El capitan, Sierra, High Sierra and Mojave again using a bootable usb drive. Everything fails. Even trying to use macOS's recovery mode to revert to the stock configuration fails. I am at a loss of what to do now. Any help would be awesome! :)