Dell 5820 with nvme drive not booting

I have installed truenas onto a m.2 nvme disk on my dell 5820 and it fails to boot. If i use a regular ssd then it seems to work without any problems.

Has anyone got any suggestions