sudo apt update && sudo apt upgrade -y
sudo raspi-config
sudo echo "# NVME" >> "/boot/firmware/config.txt"
sudo echo "dtparam=nvme" >> "/boot/firmware/config.txt"
sudo echo "dtparam=pciex1_gen=3" >> "/boot/firmware/config.txt"
sudo reboot
sudo apt install piclone
use raspi-config to set boot order
sudo raspi-config
Then select 6 Advanced Opitions => A4 Boot Order => B2 NVMe/USB Boot answer Yes, then sudo reboot
Your hat may be a non-HAT+ device, edit pi-eeprom-config
sudo rpi-eeprom-config --edit
Add the following line
PCIE_PROBE=1
Save and reboot