Quickly enable USB boot on Raspberry Pi OS drives. When the Pi boots from the modified drive, it sets the OTP bit to permanently enable USB boot.
pip install git+https://github.com/the-Drunken-coder/USB-Boot-Enabler.git
usb-boot-enablerOr run directly without installing:
pip install git+https://github.com/the-Drunken-coder/USB-Boot-Enabler.git && usb-boot-enabler- Scans your computer for drives with Raspberry Pi OS
- Shows detected drives with their Pi model and current USB boot status
- Lets you pick a drive to modify
- Adds
program_usb_boot_mode=1toconfig.txt - Creates a backup of the original config
- Safely eject the drive
- Insert it into your Raspberry Pi
- Boot the Pi - the OTP bit will be programmed
- Your Pi can now boot from USB devices!
- Pi 3 / Pi 2 v1.2: Sets permanent OTP bit for USB boot
- Pi 4 / Pi 5: USB boot is handled by EEPROM (this tool still works but isn't required)
- Windows (uses Windows drive detection)
- Python 3.10+
- Admin rights may be needed to write to the drive