Check your BIOS settings. If you installed your os with the BIOS set to RAID or AHCI then switched after system install, that could cause the system to freeze as you describe. Make sure you have the BIOS set to the config you had when you installed your os.
Thanks for the reply. I checked my BIOS settings. the OS was installed with BIOS set to IDE and the settings are not changed.