On a Linux single-board computer, run lspci -nnk to see
if the PCIe bus can see the NVMe controller. Then run lsblk
to see if Linux has a disk to work with. If the first command finds the
controller and the second comes back with just the microSD card, you’ve
already narrowed the problem down quite a bit.
A board can boot Linux just fine off microSD or eMMC while the SSD in its M.2 slot sits there doing nothing. And a disk can show up in Linux without being bootable on that board. Keep a working image on the card while you run these read-only checks.

Check the PCIe connection
Look for the controller
Look for Non-Volatile memory controller in the first
command below. The numeric IDs stay useful if the SSD’s model name
doesn’t show up. Keep the full listing around, especially if you’re
using a carrier board with a PCIe switch.
lspci -nnk
sudo journalctl -k -b --no-pager | grep -Ei 'pcie|nvme|aer|link down|timeout'
If there’s a PCIe root port in the listing and nothing corresponding to the SSD, the root port alone only tells you the host side exists. Check which M.2 socket actually routes PCIe, and check whether the board’s Linux image enables that port. On Rockchip, the device tree for the board and its revision matters. The PCIe differences between Rockchip chips explain why a SoC spec can’t tell you what’s routed to a given slot.
Check the socket and power
M.2 describes the form factor. A SATA M.2 drive can look a lot like an NVMe drive in a listing, and the length (say, 2280) just tells you what fits under the screw. Check the drive’s exact part number for PCIe/NVMe and the board manual for the slot protocol, key and supported length. Use the storage slot if the board has a separate socket for a wireless module.

Power the board fully off before reseating the SSD or a PCIe ribbon, if there is one. With an adapter, check both the ribbon orientation and the adapter’s power requirements. If the drive only drops out after a cold start or under disk activity, check the supply and cable against the KiwiPi 5 Pro power guide before changing kernel settings. One clean restart can miss an intermittent link.

Check the driver and disk
Read the NVMe driver status
The useful line under the controller in lspci -nnk is
Kernel driver in use: nvme. You might also see
Kernel modules: nvme, which only tells you a module is a
candidate. A board image may build the driver into the kernel, so an
empty result from lsmod | grep nvme isn’t enough to rule it
out.
If the controller is listed and the kernel log shows an NVMe initialization timeout, keep that log. Now there’s a specific stage to investigate. An SSD and adapter known to work in the same slot can help isolate the cause. Change one part per run and compare against the supported board image before trying boot arguments copied from a different model.
Find the namespace and filesystem
sudo nvme list -v
lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS,MODEL
nvme list -v separates the controller from its
namespaces. A namespace is the storage Linux can expose as a block
device, often /dev/nvme0n1. In the lsblk tree,
nvme0n1p1 is a partition on that disk. Install the
nvme-cli package if the command is missing. If the SSD has
appeared and you’re setting up a KiwiPi
server, identify the drive by model and size before moving any data
onto it.
| What you see | What to check next |
|---|---|
No SSD controller in lspci |
Slot protocol, seating, adapter power and the board image |
| Controller listed, no driver in use | Board kernel configuration and boot log |
| Driver in use, no NVMe block device | Controller initialization errors and namespace visibility |
Disk in lsblk, no mount point |
Partitions, filesystem and mount setup |
A disk with an empty mount-point column can simply be unmounted. If there should already be data on it, check which partitions and filesystem signatures are present before reaching for a formatter. If Linux can mount it but the board skips it at startup, the board’s bootloader and its boot order are the next things to check. Keep the microSD around until you’ve verified a cold boot from the intended setup.
FAQ
Why does an NVMe SSD in a USB case show as sda?
A USB enclosure normally presents the drive as a USB storage device.
Check it with lsusb and lsblk. That can verify
that the enclosure can read the disk, while the direct PCIe connection
still needs its own check.

Should I format an SSD that doesn’t show up?
No. Formatting needs a block device and can erase data. Confirm the disk’s identity and inspect its existing partitions first.
Is a missing nvme module definitive?
A kernel can include NVMe support directly. Check the bound driver in
lspci -nnk and use the kernel documentation and config for
the image on your board.