Editor’s note (7/24/2021): We have updated this tutorial to include how to start your Raspberry Pi 400 From USB.
by default, raspberry pie Start and store all its programs on a microSD memory card, the maximum theoretical bandwidth of the memory card is 50 MBps Raspberry Pi 4 And only 25 MBps on the previous model.In real life, even The best microSD card for Raspberry Pi The sequential write speed does not exceed about 38 MBps. Using an external SSD as your primary storage drive can speed things up significantly, and with a few commands and simple firmware updates, you can do this.
In our real life Raspberry Pi 4 test with SSD Last year, we achieved impressive performance with sequential transfer rates of up to 140 MB / 208 MBps for reads and writes. You can also use a standard USB flash drive, but we have found that it performs worse than a microSD card for many tasks.
How to boot Raspberry Pi 4/400 from USB
If you want to start with a fresh installation of Raspberry Pi OS, just follow the instructions in our tutorial How to set up the Raspberry Pi Or how to install the Raspberry Pi headless.
The latest version of Raspberry Pi OS (as of April 29, 2021 or later) has many necessary changes built in. Raspberry Pi Imager now has an easier way to prepare Raspberry Pi 4/400 for USB boot. These instructions will set up the Raspberry Pi 4/400 to find the USB boot device, if not found, it will boot from the micro SD card.
1. Download and install Raspberry Pi Imager From the Raspberry Pi website.
2. Insert the spare micro SD card into your computer. Please note that this card will be deleted.
3. Start Raspberry Pi Imager, then scroll down to Misc Utility Images under the operating system, and then left-click to open the next menu.
4. Select Bootloader, and then select USB Boot. This will bring us back to the main menu.
5. Click the button under Storage and select Micro SD card. Before proceeding, please double check that you have the correct drive.
6. Click to write Download the configuration image and write it to the micro SD card. When finished, remove the card from the computer.
7. Insert the micro SD card into the Raspberry Pi 4/400 and turn on the power. After the update is complete, the green activity indicator will blink steadily. If you have connected an HDMI monitor, the screen will turn green when the update is complete. Wait 10 seconds or more for the update to complete, and do not remove the micro SD card before the update is complete.
8. Power off the Raspberry Pi and remove the micro SD card.
9. In your Raspberry Pi, insert a micro SD card with Raspberry Pi OS, and then boot from the micro SD to the desktop. This may take longer because the Raspberry Pi is looking for a USB boot device.If you don’t have a Raspberry Pi OS micro SD card, please follow our How to set up the Raspberry Pi guide.
10. Start the SD card copier From the accessories section of the start menu. Make sure your SSD or flash drive is connected to the Raspberry Pi using the USB 3 port.
11. Select copy from device (Micro SD card), and Copy to device (SSD).Double check that the correct drive is selected and Click to start Copy files. The process takes about ten minutes to complete.
12. closure raspberry pie.
13. Remove the microSD card.
14. Charge Raspberry Pi, it will boot from a USB SSD or flash drive.
Please keep in mind that if you use an external drive that consumes a lot of power from the bus, you may encounter a problem (you can solve the problem by using a drive with your own power supply or using a powered USB hub).
For example, we encountered a problem when using a bus-powered external Kingston HyperX SSD. The SSD can boot, but-perhaps because it uses too much power-none of our peripherals can work. The SATA SSD in the externally powered docking station works just like a USB flash drive.