Boot Raspberry Pi 4 Usb

By admin ·
1

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

2

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
3

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
4

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
5

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

6

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

7

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
8

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

9

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

10

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
11

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
12

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
13

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

14

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

15

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
16

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

17

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

18

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
19

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
20

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
21

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

22

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

23

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
24

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

25

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

26

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
27

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
28

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
29

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

30

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

31

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
32

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

33

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

34

Boot your Raspberry Pi from an SD card

In order to boot from USB, we need to install a beta version of the bootloader. This is done using the rpi-eeprom-update command from a shell. To get started, you’ll need to boot your Raspberry from an SD card. If you need help with this step, follow our guide on installing Raspbian (now Raspberry Pi OS) on your Raspberry Pi.

Also, if you’re using a headless setup, you’ll need to enable ssh and configure Wi-Fi before moving on.

With Raspberry Pi OS installed and the SD card mounted, plug in the Raspberry Pi and boot.

35

Boot your Raspberry Pi from an SD card

36

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
37

Update the operating system

Next, we need to make sure the operating system is up to date. Begin by connecting to your Pi via SSH. Then run the following commands:

sudo apt update
sudo apt full-upgrade
38

Update the operating system

39

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
40

Update the eeprom configuration

Open the file /etc/default/rpi-eeprom-update to edit. This can be done using vi or nano like this:

sudo nano /etc/default/rpi-eeprom-update

Change “critical” to “beta”. The file should look like this:

FIRMWARE_RELEASE_STATUS="beta"
41

Update the eeprom configuration

42

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
43

Install the beta bootloader and reboot

To install the bootloader use:

sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin

Note: You may want to use a newer version of the pieeprom file if its available. To find a newer version you can use the following:

ls -lha /lib/firmware/raspberrypi/bootloader/beta/ | grep pieeprom

After running the rpi-eeprom-update command, run:

sudo reboot
44

Install the beta bootloader and reboot

45

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

46

Confirm your changes

After the Pi reboots, connect again using SSH so you can confirm your changes took effect. After connecting run:

vcgencmd bootloader_version

You should expect to see the following:

May 27 2020 18:47:29
version d648db3968cd31d4948341e09cb8a925c49d2ea1 (release)
timestamp 1590601649

Confirm the date matches the date in the beta pieeprom file.

47

Confirm your changes

48

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

49

Flash (or copy) a Raspberry Pi OS image onto your USB drive

At this point, you need to install Raspberry Pi OS on your USB drive. You can use Raspberry Pi Imager to do this as well. Just plug in your USB drive and select it under SD Card.

And just like your SD card install, now is the time to enable SSH and add your Wi-Fi credentials, if applicable.

50

Flash (or copy) a Raspberry Pi OS image onto your USB drive

51

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
52

Overwrite the .dat and .elf files in /boot

You’ll need to grab the .dat and .elf files from a May 22, 2020 commit on the raspberrypi/firmware GitHub repo. The latest firmware does not work.

Note to self: when the latest firmware works to update this guide. 🙂

The easiest way to do this is to download the repository at the specified commit. To do this click Clone or download then Download ZIP. Then unzip the firmware.

Now, with your USB drive still mounted on your computer, run the following:

cp /*.dat 
cp /*.elf 

For example, on macOS I’m running:

cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.dat /Volumes/boot/
cp ~/Downloads/firmware-a6c9b6b48ce86ef2527586a50760d52f1b33f642/boot/*.elf /Volumes/boot/
53

Overwrite the .dat and .elf files in /boot

54

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

55

Shut down your Pi and boot from USB

Now, you should be able to properly boot from your USB drive. Begin by shutting down your Pi and removing your SD card. Then unmount the USB drive from the computer and insert it into your Raspberry Pi. Then boot the Pi once again.

If you configured Wi-Fi and SSH, you should be able to find your Pi on the network and connect!

56

Shut down your Pi and boot from USB