I have sorted it now I went into F10 on start up and changed the date to 2012 because I had read something about HP not updating the bios on the HP Envy DV7. I re-installed the disks and everything worked apart from my windows 10. Then I reset the date to todays date.
I upgraded my windows 8.1 to windows 10 for free and I had read something about windows putting something on your pc so you don't lose it. Well mine has not come on anyway, so I have upgraded windows 8 to 8.1 which they still let you do for free.
Do you know how I can check that my other hard drive is working in 8.1?