Installing NVME and Debian following wiki

I see a few questions about NVME here but none quite fit my issue.I am trying to follow the instructions from the wiki on how to set up the NVME as a boot, had to install fdisk but no matter… I seem to get stuck…

I have installed my NVME, and its seen ok by Debian 11
sudo fdisk - l reports.
my SD and the NVME
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mtdblock0: 16 MiB, 16777216 bytes, 32768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk1: 7.44 GiB, 7990149120 bytes, 15605760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F29EF6A8-1FFB-4023-BFBF-0C2B6CCD06C7

Device Start End Sectors Size Type
/dev/mmcblk1p1 32768 1081343 1048576 512M EFI System
/dev/mmcblk1p2 1081344 15605726 14524383 6.9G Linux filesystem

Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SPCC M.2 PCIe SSD
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

but when I try to follow the wiki instructions opn the wiki to install Debion from my rockPi5

sudo xzcat rock-5b-debian-bullseye-xfce4-arm64-20221031-1558-gpt.img.xz | dd of=/dev/nvme0n1 bs=1M status=progress

I get this

dd: failed to open ‘/dev/nvme0n1’: Permission denied

Im not a linux person, so kinda confused why this is the case, as Im folloing the instructions carefully.

any advice?

Try this instead:

xzcat rock-5b-debian-bullseye-xfce4-arm64-20221031-1558-gpt.img.xz | sudo dd of=/dev/nvme0n1 bs=1M status=progress

thank you, that worked…

now… installing the boot loader…ermmmm., yeah… reading the wiki that is the most nonsensible step guide I’ve ever read, I think I’ll just mount the nvme as a media drive until they make that a simple process.