Installing an M.2 HAT+ on a Raspberry Pi 5

Setup a Raspberry Pi 5 system with standard SD card configuration. Use the Raspberry Pi Imager to configure the Pi.

update the raspi:

sudo apt update && sudo apt full-upgrade

and also update the firmware:

sudo rpi-eeprom-update -a

Shut down the Raspberry Pi.

Install and connect the Raspberry Pi Active Cooler.

The M.2 HAT+ should come with at least four short screws and four long screws, along with four threaded standoffs. Attach the standoffs to the Pi so that they are on top of the Pi.

Add the GPIO extender to the Pi’s GPIO pins. Push down on either end, or with a small screwdriver, to get the extender securely attached.

Open the PI’s PCIe connector using your fingernails. Connect the HAT+ ribbon cable to the PCIe connector, and close the connector.

Align the HAT+’s GPIO over the GPIO connector and push down evenly.

Use the short screws to connect the HAT+ to the standoffs.

Install the Raspberry Pi into its case.

Boot the Raspberry Pi using the SD card as your boot device.

Use the Raspberry Pi Imager to install the Raspberry Pi software to the NVME drive.

Run from a command prompt:

sudo raspi-config

Under Advanced Options, go to Boot Order, then choose NVMe/USB boot.

Exit raspi-config, then shutdown. Remove the SD card, and boot the Pi.