error " The installation failed in the SAFE_OS......"
the error from MBR, may be you tried rebuild MBR with Minitool but it didn't work. I fix MBR with live elementary OS
and it work.

Fix MBR - YouTube