Error when flashing eMMC from uSD


I have a code setup on one BeagleBone Black that I want to copy over to a new BBB. I used the scripts “” and “” from (boot-scripts/tools/eMMC at master · RobertCNelson/boot-scripts · GitHub) to make my uSD flasher and then flash the new eMMC, respectively.

However, now when I boot the newly flashed BBB from its eMMC, I see this message in the serial debug “systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only”. What is wrong with my image, and how can I fix this? I just want to copy my current (working) image over to a new BBB.

Debian GNU/Linux version 11
Bullseye IoT Image 2023-09-02
Linux Beaglebone 5.10.168-ti-r77


It’ll regenerate after first bootup…


Hi Robert,

The file is not generating after multiple boots. I could sudo add an empty file myself, but I would like to make sure that I have no errors when I flash a brand new system, also.


sudo systemd-machine-id-setup should recreate it.

1 Like