A friend of mine had GPT partition n his Lenovo laptop. While formatting the computer and reinstalling the OS, I wiped of all the partitions, and created 4 new partitions. Now after installing everything, when I turned off the laptop. It isn't booting, I checked the BIOS settings, and tried booting Ubuntu off my life disc, it ran well, but again, I can't boot anymore.
Later I figured out, that this is happening because I had deleted the GPT partition, and now the OS has tried to create MBR records, so basically this is the problem.