How do I force boot from USB when the OS is installed on an NVMe drive? Without having to remove the NVMe drive, of course.
1 Like
sudo rpi-eeprom-config --edit
That is the default setting (read right to left: SD β NVMe β USB β Network)
BOOT_ORDER = 0xf2461
Just edit the order as you need it (search the documentation for rpi-eeprom-config, I canβt link it here somehow). Save the file. Reboot.
The easy way, if you are running RaspberryPi OS, is with raspi-config.
Unfortunately the latest version of raspi-config no longer has a boot order selection of USB, NVME, SD i.e. 0xf164. You need to do this by modifying the rpi-eeprom-config file directly if you want to boot from a USB drive first. Alternately, you can remove the NVME drive from the device. However, this kind of defeats having an NVME drive installed.