When I boot Linux, after the grub menu, it performs the initial checks, and then just shuts down suddenly. If I then switch it on again it again does the same thing after the grub menu.
Surprisingly, it boots up after turning on like 3 or 4 times. I don't know why or how this is happening. How could I fix it? Is there any log file which I can post here to better debug the problem?