Switching from RAID to AHCI
Windows hates you, so it won't boot if you do this. Apparently installing the driver for only IDE/AHCI/RAID on installation is a sensible idea. Windows, why!?!??!
What to do
- Boot in whichever mode works.
- Force safe-mode booting with
bcdedit /set safeboot minimal
(as administrator) - Boot to UEFI setup, change to the mode you want
- Boot Windows in safe mode
- Disable safemode with
bcdedit /deletevalue safeboot
(as administrator)Note that you probably can't launch Terminal in safe mode, because who knows. You'll probably have to use cmd or powershell. - Reboot
- Now it works! Wow! How stupid is that?