One solution is to check the ram for errors as it can cause BSOD during install process. On another PC, download
memtest86 and use it to make a USB. You can run memtest without windows from USB. Test 1 stick at a time, any errors means stick needs to be replaced
Another solution is the actual ISO can be corrupted so download a new one from Microsoft and maybe try another USB as that can also be cause
disconnect all extra devices before installing, so no external hdd. Just mouse/keyboard - try not to use wireless ones.
try running diskpart on drive before installing as that can fix it
Press Shift F10 on the installation screen, this will open cmd
type
diskpart and press enter
type
list disk and press enter
this shows all drives available, DVD/USB and hdd, make note of hdd number
type
Select disk X - where X is the number of the hdd you want to install to, change X to that number and press enter
once the drive you want to install on is chosen, type
Clean
restart installer and try again
some other solutions:
https://www.tenforums.com/installation-upgrade/13475-failed-during-clean-install-error-code-0x8007025d-2.html