At first, I couldn't install Ubuntu on my system. I tried many times but the problem still remain unsolved. After that, I tried turning off the Hyper Threading tech and everything goes fine.

My PC Spec
AsRock mainboard
Intel P4 2.8GHz with HT