I'm having the same problem. I accidentally manually installed RAID driver for my storage (after I have successfully installed Windows lol), and now it refuses to boot. Reinstall windows give the same two error messages under different BIOS mode.
I do not want to use RAID at all (that's why it is an accident), but switching SATA mode back to AHCI the problem still persists, and I still get the same errors when trying to install Windows. I tried to delete all arrays (or init and delete or a lot of other combinations) when switching SATA modes, no luck.
Could anyone point out what could I do next to normally install Windows under AHCI? Thanks in advance.