[FAILED] Failed to start Mender ser…e to grow data partition size

I am working on my raspberrypi CM4 with mender.
I try to compile the mender image.
It works. however, when I boot the system.it shows the error log as the title
“[FAILED] Failed to start Mender ser…e to grow data partition size.”

here is my porject information:
poky: git://git.yoctoproject.org/poky branch:dunfell
meta-openembedded: GitHub - openembedded/meta-openembedded branch:dunfell
meta-raspberrypi:git://git.yoctoproject.org/meta-raspberrypi branch:dunfell
meta-mender: GitHub - mendersoftware/meta-mender: Yocto Project meta layer for the Mender client branch: dunfell

detail for build/conf/bblayers.conf:
detail for local.conf:
IMAGE_INSTALL_append = " kernel-image kernel-devicetree"
MENDER_FEATURES_DISABLE_append = " mender-image-uefi mender-grub"
IMAGE_FSTYPES_remove += " rpi-sdimg"
INHERIT += “mender-full”


DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = “systemd”
VIRTUAL-RUNTIME_initscripts = “”

I want to know if there is any solution for this problem.

Can you use journalctl to get and paste the logs of the failed service to get to the underlying cause.

journalctl -u <NAME OF SERVICE>


journalctl -u wpa_supplicant.service

Thank you for your reply.
I finally find out the reason of my problem.
I use the wrong imag file for flashing my device.
I should use the *.sdimg not the *wic.bz2.
Everything works fine after I use the right image file.

1 Like

glad you fixed it. :slight_smile: