Synopsis
Basically, we're going to use Raspberry Pi Imager to burn a bootable image of Raspberry Pi OS (64-bit) to a Micro-SD Card, insert it into the Pi, assemble the Pi, boot the Pi and then use the image on the SD card to image the SSD. It's possible to directly image the SSD if you have the right equipment, but this has the added bonus of having a bootable SD card in the Pi both for recovery purposes and to make an image-backup of the SSD environment.
Burn the Raspberry Pi OS onto the Micro-SD card
- Download Raspbery Pi Imager. My Laptop was still running Windows at the time, so I used the Windows version.
- Run the app
- Choose Device: Raspberry Pi 5
- Choose OS: Raspberry Pi OS (64-bit)
- Choose Storage: SDXC Card - 127.9 GB
- Click the "Next" button
- Click the "Edit Settings"
- Enter everything under "General" (I'm redacting my personal choices for security reasons)
- Under "Services", enable SSH. If you have the knowledge, use the public-key authentication, it's more secure.
- Click the "Save" button
- Click the "Yes" button
- Double-check that you've selected the SD card, then click the "Yes" button
- When done, put the SD card into the Pi now. If you wait until you start the assembly process, you may forget. It's not easy taking it apart again, trust me.
Assemble the parts and put into the case
- Assembly process here
Log into the Pi and update
NOTE: Everything in this section is updating the Micro-SD card. This is important for three reasons:
- You're going to use the SD card to install Raspberry Pi OS on the NVME SSD, and you don't want problems with that process
- The SSD is your "Recovery" system. If you end up with problems with the boot process on the NVME SSD, you can always revert to the Micro-SD for troubleshooting.
- In order to do an image backup of the SSD environment, we're going to be booting back into the Micro-SD card. So we want it up-to-date.
- If you enabled 'ssh' in the Raspberry Pi Imager step above, then all you need is the IP address of your Pi. You can then use PuTTY to log in.
- I set up a DHCP reservation on my firewall/router. You can check for DHCP leases or use some other method, that process is really beyond the scope of this document
- Update everything
sudo apt updatesudo apt upgrade -ysudo rebootsudo rpi-eeprom-update- If the version shown isn't at least May 2024, then type
sudo raspi-configand select "Advanced Options -> Bootloader Version" to update the eeprom.
- If the version shown isn't at least May 2024, then type
- Enable VNC
sudo raspi-config- Down-arrow twice to
Interface Optionsand press the "Enter" key - Down-arrow twice more to "VNC" and press the "Enter" key again
- Left-arrow to highlight "Yes", then press the "Enter" key again
- Press the "Enter" key again to select "OK"
- Down-arrow twice to
- Update the Bootloader
- While in
raspi-config- Down-arrow to "Advanced Options" and press the "Enter" key
- Down-arrow to "Bootloader Version" and press the "Enter" key
- Select "Latest" and press the "Enter" key
- Press the "ESC" key to go back to the command line
- While in
Burn the Raspberry Pi OS onto the NVME SSD
- "Getting Started" from pimoroni:
- Check that the dual-NVME card is installed correctly:
lsblk- look for entries with 'nvme'. Mine show up as:
- nvme0n1
- nvme1n1
- Log onto the Raspberry Pi using VNC
- On my windows laptop I use the RealVNC Viewer
- Just so that I know which environment I'm using, I change the desktop background for the two different installations. I use a red background for the MicroSD environment and a green background for the SSD environment. That way I know where I am.
- Click on the Raspberry at the top left
- Click on "Accessories" and then "Raspberry Pi Imager"
- Raspberry Pi Device: Raspberry Pi 5
- Operating System: Raspberry Pi OS (64-BIT)
- Choose Storage: (it's hard to know which is 0 and which is 1, so I just pick the top one)
- Edit your settings, then choose "yes" to burn to the SSD
- Set the Pi to boot from SSD
- Down-arrow three times to "Boot Order"
- Down-arrow once to "NVMe/USB Boot" and press the "Enter" key
- Press the "ESC" key to get back to the command line
sudo reboot
Previous: 1. Raspberry Pi Hardware
Next: Self-Hosting/3. Syncthing