I have a HP Pavilion g6-2231tx Notebook which comes with a preinstalled OEM version of Windows 8.
Tried repartitioning the HDD and am facing the same problem as "xovertheyearsx" had faced.
I have downloaded the ISO mentioned by "MrsOldMX", burned the ISO on to a DVD n while installing, encountered the following error.
"The product key entered does not match any of the Windows images available for installation. Enter a different product key."
Searched for solution and found out that you can bypass the error message by creating an "ei.cfg" file and injecting into the Source folder of the ISO. Was able to install Windows 8, but after connecting to the internet Windows is not getting activated. Says "the Product Key didn't work. Try a different key, or a buy a new one." Also it shows "Current edition is Windows 8" and "Current product key - *****-CYQG3"