Ubuntu cannot open OS , also freezes

I suggest you could run a live session and run fsck.