Racebox Micro

Breaking

How to Use a USB SSD or Flash Drive to Boot a Raspberry Pi 4 / Pi 400

With a firmware upgrade, you may boot a Pi 4 / 400 from any USB drive. Raspberry Pi boots up and saves all of its programmes on a microSD memory card, which on the Raspberry Pi 4 has a maximum theoretical bandwidth of 50 MBps and only 25 MBps on previous generations. In practise, even the fastest microSD cards for Raspberry Pi can only write sequentially at around 38 MBps.
How to Use a USB SSD or Flash Drive to Boot a Raspberry Pi 4 / Pi 400

Using an external SSD as your primary storage drive can dramatically improve performance, and you can do it with only a few keystrokes and a simple firmware update.

We saw remarkable performance with a Raspberry Pi 4 with SSD in our real-world tests last year, with sequential transfer speeds as high as 140 MB / 208 MBps for reading and writing. A normal USB flash drive can also be used, however we found that it performed worse than a microSD card on several tasks.

How to Start a Raspberry Pi 4 or Pi 400 from a USB Drive

Simply follow the directions in our guide on how to set up Raspberry Pi or how to make a Raspberry Pi headless install if you want to start with a new install of Raspberry Pi OS.

Pico 2G 4G Expansion


Many of the essential modifications are already included into the newest versions of Raspberry Pi OS (as of April 29 2021 or later). The Raspberry Pi Imager now provides a much easier way of preparing a Raspberry Pi 4 / 400 for USB booting. If no USB boot device is discovered, the Raspberry Pi 4 / 400 will boot from the micro SD card.
  1. Go to the Raspberry Pi website and download and install Raspberry Pi Imager.
  2. Insert a micro SD card into your computer as a backup. This card will be removed from the deck.
  3. Access Raspberry Pi Imager and scroll down to Misc Utility Images under Operating System, then left-click to open the next option.
  4. Choose Bootloader, and then USB Boot. This takes us back to the main menu.
  5. Select the micro SD card from the Storage menu by clicking the button. Before continuing, double-check that you have the correct drive.
  6. To download and write a configuration image to the micro SD card, click Write. Remove the card from your computer after you're finished.
  7. Turn on your Raspberry Pi 4 / 400 and insert the micro SD card. Once the update is complete, the green activity indicator will flicker in a constant rhythm. If you're using an HDMI display, the screen will turn green after the update is finished. Allow 10 seconds or longer for the update to finish; do not remove the micro SD card until it has finished.
  8. Disconnect the Raspberry Pi from the power source and remove the micro SD card.
  9. Insert a micro SD card with the Raspberry Pi OS into your Raspberry Pi and boot from the micro SD card to the desktop. Because the Raspberry Pi is seeking for USB boot devices, this may take a bit longer. If you don't have a Raspberry Pi OS micro SD card, see our instructions for setting up a Raspberry Pi. 
  10. Open SD Card Copier from the start menu's Accessories area. Make sure you're using a USB 3 port to attach your SSD or Flash drive to the Raspberry Pi.
  11. Choose Copy From Device (micro SD card) and Copy To Device from the drop-down menus (the SSD). Double-check that the right drives are selected before beginning the file transfer. The entire procedure should take no more than ten minutes.
  12. Turn the Raspberry Pi off.
  13. Take the microSD card out of the slot.
  14. When you turn on the Raspberry Pi, it will boot up from the USB SSD or Flash drive.
Keep in mind that if you use an external drive that draws a lot of power from the bus, you could run into problems (which you could probably solve by using a drive that has its own power source or by using a powered USB hub).

For example, we encountered issues utilising a bus-powered, external Kingston HyperX SSD, which booted but didn't function with any of our peripherals, maybe due to the amount of power it used. A SATA SSD in an externally powered dock, as well as a USB Flash drive, worked perfectly.

Posts You May like

Popular Posts