Hi, I am trying to mender-convert an debian11.img file to mender format. I first created the image via packer. The qcow2 file I got there I then converted via qemu-img convert into a img file. This I want now convert to mender format via mender-convert, but I run into the following problem:
From fdisk it looks like image have only one partition (usually mender-convert expect EFI partition and rootfs). I think problem can be in golden image that it was created by packer which is used for running in container. Can you check that? Thanks.
It might work if you use a custom config file, like input/myconfig, where you set:
MENDER_GRUB_D_INTEGRATION=n
It should probably be better at detecting this scenario though. This part was rewritten in mender-convert 3.0.0, so it’s still a bit fresh. I have a proposed fix here.
Glad you have it working. Can you share maybe how packer config looks like and how you generate image? I’m looking for some mkosi alternative due it’s using dracut as initrams which makes me troubles when want to use Yubikey). Thanks.