You have to simply install DietPI on the SD, run a full apt upgrade and then use RPi-clone tool to clone the microsd to NVMe. Otherwise it won’t boot, read this: Raspberry PI 5 pci boot with nvme, error with 'rpi-eeprom'
PS: use this updated RPi-clone utility https://rpi-clone.jeffgeerling.com/ (the old doesn’t work on NVMe)