I recently bought an nvme drive and attached it to my asus P8H77-I motherboard via a PCIe-NVME (or PCIe-M.2, not sure what the proper name is) adapter. I did this in an attempt to replace the HDD that my computer was currently running on which made it slow.
I then created a bootable USB using Rufus and the same version of Windows that my computer was currently running (19041.1.191206-1406 x64), and installed it onto the new NVME drive. However, I couldn't get it to actually boot from the NVME drive, it would always boot from the C: drive (which was the HDD).
So, I unplugged the HDD (and the other two disks I was running as well) and re-tried to install Windows 10 to the new drive (in an attempt to strip out unnecessary details and figure out what the issue was). Weirdly, it seems that the installation media was able to successfully install Windows onto the new drive (thus my computer can see the NVME drive), but when I go into BIOS, there's no option to boot from it.
However, when I change the CSM settings in the BIOS to be able to boot from UEFI first, legacy BIOS second (instead of UEFI only), I get the option to boot from the NVME drive, however, when I try to boot from this, I get this error:
Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key.