I forget to mention this but the first time i turned it on i was able to start installing wondows but it stopped and gave me an error message about the drive
Depends on the error message, and how far into the install you were. If you got to the point where you format the drive before the error, it could be the drive faulted in a bad way and broke the boot record and formatting.
If it is not even recognized by the mobo, the drives ROM memory likely is corrupt. I would take the advice of looniam and do a warranty return.