Raspberry Pi 3 Boot From Usb Hard Drive
With raspbian up to date we can now enter the following command into the terminal.
Raspberry pi 3 boot from usb hard drive. Making that happen is a pretty easy thing to do and it s the subject of this how to. This tutorial explains how to take a usb mass storage device such as a flash drive or hard drive and boot up your raspberry pi 3 b using it. The steps specific to previous versions of raspberry pi do not have to be executed. Do make sure that you are using the official pi power adapter or that your power plug is capable of outputting 2 5a minimum of current.
Sudo apt get update sudo apt get upgrade. The power supply of raspberry pi 3 is sufficient to power up the external hard disk via the usb port. To enable the usb boot bit the raspberry pi 3 needs to be booted from an sd card with a config option to enable usb boot mode. This command writes the text program usb boot mode 1 to the boot configuration file so that when the raspberry pi boots up it knows that it needs to write data to the otp for usb boot mode.
The raspberry pi 3b and compute module 3 support usb mass storage boot out of the box. This will likely be a little slower than the sd card but it s still useful for those of us with. A raspberry pi 3. Boot your pi on the sd.
The raspberry pi 3 b is able to boot from usb without any changes but the raspberry pi 3 requires the usb boot bit to be set in the otp one time programmmble. Before we start here are the requirements for this tutorial. By default the raspberry pi boots from a microsd card. Once everything s configured there s no longer any need to use an sd card it can be removed and used in another raspberry pi.