I just want to say thanks to everyone here.
I have ESXi 4.1 and I wanted to install a 2012 server and yes, stuck in the reboot loop.
I have used the Bios and edited the vmx file now, and the installer is running.
Thanks again, everyone, I know this cant be a production solution, but my systems are just for testing mostly