• Useful links to look at:
  • rpi5-eeprom package on Arch Linux ARM brings the relevant eeprom tools.
    • Recommended BOOT_ORDER: BOOT_ORDER=0xf416 (retry - USB - SD - NVMe, this allows for easier debugging if smth goes wrong, though you’ll want to physically remove the SD after setting up NVMe)
      • you can set this with `sudo -E rpi-eeprom-config —edit
  • I formatted the NVMe as described in ALARM install guide from ALARM itself
    • You’ll need dosfstools along the way.
  • I mounted the partitions to /tmp/boot and /tmp/root.
    • rsync -azrP /boot /tmp/
    • rsync --delete -azrP -x / /tmp/root/
  • Edit /tmp/root/etc/fstab and /tmp/boot/cmdline.txt to point to NVMe instead.
    • Former: Change /dev/mmcblk0p1 to /dev/nvme0n1p1
    • Latter: Change /dev/mmcblk0p2 to /dev/nvme0n1p2
  • Add dtparam=pciex1 and optionally dtparam=pciex1_gen=3 to /tmp/boot/config.txt.
  • Shutdown, remove SD card, power back on & pray.