Use your Flipper Zero as PXE Recovery Disk
Warning
This application is not an official Stella IT product. Use at your own risk.
| Nightly Build | Release Build |
|---|---|
Boot2Flipper is an application for Flipper Zero that allows you to emulate a iPXE USB thumb drive.
- Automatic
autoexec.ipxescript generation- Configure IP address, netmask, gateway and DNS server on your Flipper Zero
- Automatically chainload to specified URL
- UEFI and Legacy BIOS support
- Config Load/Save to/from SD card
- Support for custom iPXE EFI executable
Boot2Flipper emulates a USB Mass Storage device with "virtual" FAT32 filesystem.
The Boot2Flipper application generates FAT32 File Allocation Table and autoexec.ipxe script and iPXE EFI Executable on the fly, with MBR of iPXE.
When the file itself is requested, Boot2Flipper automatically calculates the offset from the each file's cluster number and returns the file content from the underlying flipper filesystem.
- Install Boot2Flipper on your Flipper Zero
- Open
Boot2Flipperapplication on your Flipper Zero - Open
qFlipperor other file transfer application (e.g.f0-mtp) - Head to
SD Card->apps_data->boot2flipper - Create
ipxedirectory - Download
ipxe.efiandipxe.lkrnfiles from boot.ipxe.org and put them intoipxedirectory
- Open
Boot2Flipperapplication on your Flipper Zero - (Optional) Load configuration from SD card
- Configure Network (DHCP or Static IP)
- (Static IP only)
- configure IP address, netmask, gateway and DNS server at
NetworkSettingsmenu. - (Static IP Only) Configure Network Interface other than
auto(If it is left toauto, it will automatically usenet0interface)
- configure IP address, netmask, gateway and DNS server at
- Select
Boot Method.MBRorUEFI - If you want to drop to iPXE shell, Set Chainload to
Disabled.- Else, Set the ChainloadURL to your desired URL.
- (Optional) Save configuration to SD card
- Press
Startbutton to start emulating USB Mass Storage device - On your PC, Select Boot Device labelled as
FLIPPER Boot2Flipper 1.0or similar. - Your Flipper Zero will report as it is reading
ipxe.lkrnorbootx64.efifile., due to flipper zero's limitation, it will take some time to read and send the file to PC. - Congratulations, You'll see iPXE booting up on your PC!
See DEVELOPMENT.md to see how to setup your development environment.
- Why didn't you use other sizes less than
128MB?
This is due to some BIOSes not respectingESPpartition sizes that are less than100MB. This is a known issue with some UEFI implementations. Due to this, if you have Debug logging enabled in Flipper Zero, initial FAT32 FAT scan may take a while. So either disable Debug logging or wait.
