Trouble making 16gb image for RPI4 with mender-convert_2.0.0b1

Hello everyone,
i have been using the mender-convert 2.0 for my RPI4 for a while now with no problems. but now that i have pi’s with different sd-cards sizes, i wanted to bump up my image from the standaard
(this is also the only variable changed from the standaard configs/mender_convert_config)

when using the same image to convert to an mender.image and writing it on de sd-card, booting the device, it doens some resizing, reboots, and falls into a kernel panic.

when looking back into the sd-card, there seem to be problems with the /boot partitions

sudo fdisk -l | grep /dev/sdb
Disk /dev/sdb: 29.45 GiB, 31609323520 bytes, 61736960 sectors
/dev/sdb1 * 16384 540671 524288 256M c W95 FAT32 (LBA)
/dev/sdb2 540672 15482879 14942208 7.1G 83 Linux
/dev/sdb3 15482880 30425087 14942208 7.1G 83 Linux
/dev/sdb4 30425088 30687231 262144 128M 83 Linux

lsblk -l | grep sdb
sdb 8:16 1 29.4G 0 disk
sdb1 8:17 1 256M 0 part
sdb2 8:18 1 7.1G 0 part /media/gene/fae989dd-8728-4209-af7d-000cda8ead43
sdb3 8:19 1 7.1G 0 part /media/gene/fae989dd-8728-4209-af7d-000cda8ead431
sdb4 8:20 1 128M 0 part /media/gene/2b986dc8-3a6f-429a-a6d2-658ceee47eb4

i can still mount the /boot manually, but it raised some eyebrows why it was not doing it automatically.

I Made some pastebin’s in case i forgot to mention something else


Thanks in advance!


so i got an working RPI4 by removing
--config my_mender_convert_conf
line inside of my command ↓

MENDER_ARTIFACT_NAME=2020-03-11-raspbian-buster-lite_raspbian4 ./docker-mender-convert
–disk-image input/2020-02-24_Raspbian-buster-lite-sportoase.img
–config configs/raspberrypi4_config
–overlay rootfs_overlay_demo/

mender-convert then makes use of the default settings, i however changed the

i dont know if this has to do with the fact that my ‘my_mender_convert_conf’ was in the /mende-convert and not in the /mender-convert/configs

Cheers Gene

Can you share the content of my_mender_convert_conf. The location of it should not matter much as long as the path is correct when provided to mender-convert

Hello @mirzak
the pastebin contains the mender_convert_conf, its the same file


The idea with the configuration files is that you would not make a full copy of the original file, and instead it should only contain the variables that you would like to override.

Could you try creating a file mender_convert_conf that only contains,


And add it again to your mender-convert execution.

thanks for the heads up, this also makes much more sense