try go to your mobo BIOS and if im not wrong go look at peripheral or somewhere there,if it is detected turn on CSM on (it is on my gigabyte mobo) then restart it
Found the CSM in my BOIS but it is enabled
The SSD is a NVMe SSD 960 EVU M.2 250GB
My board is a Gigabyte GA-Z170X-UD3
Not sure what make my old hard drive is but in the BOIS it's called ATAPI iHAS12 ATAP
when you installed your new ssd on newer mb do to lack of pci lans some of the onboard sata ports will be turned off. check with the mb guild on what onboard ports will be turned on.