It was working fine yesterday. Now, it's trying to boot (the grey screen with the apple logo) but there's a progress bar at the bottom which takes 10 minutes to fill up. After 10 minutes, the computer just shuts off and if I try turning it on, it does the same thing. Tried to boot into ubuntu using an SD card but it does the same thing. I then went into internet recover and repaired the disk. still the same thing.