Windows 8 gives me an error on fresh install

baconieatdat

Distinguished
Aug 5, 2012
232
0
18,680
When i get to the part of installation where i need to select what drive i want to install windows too, it gives me this error

'Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled in the computer's BIOS menu.'

I only have 1 hdd connected and i have a western digital 1tb hard drive, i also have the z77 asrock xtreme 4 mobo, i have it set to ahci and the drive is readable, please help