Skip to content

Instantly share code, notes, and snippets.

@dblueman
dblueman / rpi-setup-nvme4k.md
Last active October 25, 2025 08:33
Raspberry Pi 5 NVMe 4KB sector size setup guide
  1. Prepare bootable USB stick

  2. Boot the Raspberry Pi from the stick OR adjust the source partitions below if using a NVMe to USB adapter

  3. Format NVMe drive to 4K sector size

apt install nvme-cli
nvme format /dev/nvme0n1 --lbaf=1
@dblueman
dblueman / rpi-setup.md
Last active October 24, 2025 11:25
Raspberry Pi secure server setup guide