Skip to content

Boot from USB SSD

How to Boot a Raspberry Pi 4 From an SSD

Parts

Hardware Assembly

Assembly Image

Installation

  • Download latest Raspberry Pi OS with desktop image from the pi foundation’s website.
  • Uncompress the image on Linux/Mac you can use gzip or xz:
    1
    gzip -d 2023-12-05-raspios-bookworm-arm64.img.xz
    
  • Use dd or a tool like Belena Etcher to flash your image to a microSD card.
  • Boot your Pi 4 off of the microSD card and follow the normal Pi 4 setup steps to expand the file-system, set the language, etc.
  • If your USB SSD drive does not show up on your booted Pi Desktop after a few seconds, you likely need to format it.
    • You can use tools like fdisk -l, lsblk, cfdisk and parted/gparted to verify the Pi sees your SSD drive, and to format it to FAT32 if it shows up as a block device, but doesn’t mount.
  • From a Pi Desktop terminal, make sure your Pi OS and software are fully up to date
    1
    2
    3
    4
    sudo apt-get udpate
    sudo apt-get full-upgrade
    # Once done
    sudo reboot now
    
  • Now update your Pi 4’s firmware
    1
    2
    3
    sudo rpi-update
    # Once done
    sudo reboot now
    
  • After reboot, you should now be able to copy your microSD card to your USB SSD as depicted below: SD Card Copier Open SD Card Copier Run
  • After the SD Card Copier process completes, verify that you have the latest boot-loader so that we can update which drive to use via raspi-config next.
    1
    sudo rpi-eeprom-update -d -a
    
    • You can see the LATEST and CURRENT match below:
    • Boot Loader Verify
  • Now set the bootloader as depicted in the video to boot from your USB SSD using:
    1
    sudo raspi-config
    

* Peforma write test to see your new SSD speed!

1
dd if=/dev/zero of=./speedFileTest bs=20M count=5