Librem5-flash-image: error: unrecognized arguments: --embedded-boot

Hello everyone!!!

I am attempting to utilize Plasma Mobile on my Librem 5 through Mobian—but alas, it appears the documentation may need to be updated (or perhaps just my software).

After installing librem5-flash-image through PopOS I recieve the following error:

usr@pop-os:~/ISOs/mobian$ librem5-flash-image --embedded-boot --image mobian-librem5-plasma-mobile-20250803.img
usage: librem5-flash-image [-h] [--dir DIR] [--dist DIST] [--skip-cleanup] [--skip-flash] [--download-attempts DOWNLOAD_ATTEMPTS]
                           [--variant {plain,luks}] [--board {devkit,librem5r2,librem5r3,librem5r4}] [--debug] [--image-job IMAGE_JOB]
                           [--uboot-job UBOOT_JOB] [--udev]
librem5-flash-image: error: unrecognized arguments: --embedded-boot

I am attempting the following guide: InstallingDebianOn/Purism/Librem5Phone - Debian Wiki

librem5-flash-image is already the newest version (0.0.2-1).
1 Like

This appears to repair this issue:

$ git clone https://source.puri.sm/Librem5/librem5-flash-image.git

Then you can utilize the script from the Gitlab:

$ ./scripts/librem5-flash-image librem5-flash-image --embedded-boot --image <location of Mobian image>
2 Likes

Just for the record, this is a very old version, released in 2018. The current one is 0.0.5 from March 2025 and that’s the one that introduced --embedded-boot option.

3 Likes