Original post : Setup was unable to create a new system partition: Fix for Windows.
Setup was unable to create a new system partition or locate an existing system partition. See the setup log files for more information.
list disk
select disk=0
clean
convert mbr
create partition primary size=xxx
select partition=1
active
format fs=ntfs quick
assign
exit
wmic logicaldisk get caption
d:
xcopy d: c: /e /h /k
bootsect /nt60 c: bootsect /nt60 c: /mbr