Conversion did not create log. But I see how to enable it and run it again.
This part of console log seem shows this problem
MENDER_ARTIFACT_NAME=u20 ./docker-mender-convert --disk-image input/cl200_u20.img --config configs/cl200_x86-64_hdd_config --overlay ./rootfs_overlay_demo
Running mender-convert --disk-image input/cl200_u20.img --config configs/cl200_x86-64_hdd_config --overlay ./rootfs_overlay_demo
Running mender-convert-extract: --disk-image input/cl200_u20.img --config configs/cl200_x86-64_hdd_config --overlay ./rootfs_overlay_demo
2020-10-01 14:11:52 [INFO] [mender-convert-extract] Using configuration file: configs/mender_convert_config
2020-10-01 14:11:52 [INFO] [mender-convert-extract] Using configuration file: configs/cl200_x86-64_hdd_config
2020-10-01 14:11:52 [INFO] [mender-convert-extract] Validating disk image
2020-10-01 14:11:52 [INFO] [mender-convert-extract] Disk parsed successfully
2020-10-01 14:11:52 [INFO] [mender-convert-extract] NUMBER OF PARTS: 2 TYPE: gpt
2020-10-01 14:11:52 [INFO] [mender-convert-extract] PART 1: SIZE: 512M TYPE: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
2020-10-01 14:11:52 [INFO] [mender-convert-extract] PART 1: extracting to work/part-1.fs
2020-10-01 14:12:22 [INFO] [mender-convert-extract] PART 2: SIZE: 6G TYPE: 0fc63daf-8483-4772-8e79-3d69d8477de4
2020-10-01 14:12:22 [INFO] [mender-convert-extract] PART 2: extracting to work/part-2.fs
Running mender-convert-modify: --disk-image input/cl200_u20.img --config configs/cl200_x86-64_hdd_config --overlay ./rootfs_overlay_demo
2020-10-01 14:16:44 [INFO] [mender-convert-modify] Using configuration file: configs/mender_convert_config
2020-10-01 14:16:44 [INFO] [mender-convert-modify] Using configuration file: configs/cl200_x86-64_hdd_config
2020-10-01 14:16:44 [INFO] [mender-convert-modify] Installing Mender client and related files
2020-10-01 14:16:47 [INFO] [mender-convert-modify] Found Linux kernel image:
work/rootfs/boot/vmlinuz.old
work/rootfs/boot/vmlinuz-5.4.0-48-generic
work/rootfs/boot/vmlinuz
basename: extra operand 'work/rootfs/boot/vmlinuz'
Try 'basename --help' for more information.
2020-10-01 14:16:47 [INFO] [mender-convert-modify] Found initramfs image:
work/rootfs/boot/initrd.img-5.4.0-48-generic
work/rootfs/boot/initrd.img.old
work/rootfs/boot/initrd.img
basename: extra operand 'work/rootfs/boot/initrd.img'
Try 'basename --help' for more information.
2020-10-01 14:16:47 [INFO] [mender-convert-modify] Installing GRUB
2020-10-01 14:16:47 [INFO] [mender-convert-modify] GRUB EFI: grubx64.efi - PATH: EFI/ubuntu
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Installing a custom /etc/fstab (see work/convert.log for more info)
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Performing platform specific modifications (if any)
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Running hook: platform_modify
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Performing user/local specific modifications (if any)
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Running hook: user_local_modify
2020-10-01 14:16:48 [INFO] [mender-convert-modify] Applying rootfs overlay: ./rootfs_overlay_demo
mender-convert-modify has finished. Cleaning up...
Running mender-convert-package: --disk-image input/cl200_u20.img --config configs/cl200_x86-64_hdd_config --overlay ./rootfs_overlay_demo
2020-10-01 14:16:49 [INFO] [mender-convert-package] Using configuration file: configs/mender_convert_config
2020-10-01 14:16:49 [INFO] [mender-convert-package] Using configuration file: configs/cl200_x86-64_hdd_config
2020-10-01 14:16:50 [WARN] [mender-convert-package] The allocated boot part size 40 MiB is too small.
2020-10-01 14:16:50 [WARN] [mender-convert-package] The actual boot part size is 512 MiB
2020-10-01 14:16:50 [WARN] [mender-convert-package] Will adjust MENDER_BOOT_PART_SIZE_MB automatically
2020-10-01 14:16:50 [WARN] [mender-convert-package] Consider adjusting the configuration file to avoid this message
2020-10-01 14:17:06 [INFO] [mender-convert-package] Rootfs filesystem size will be 3479 MiB
2020-10-01 14:17:06 [INFO] [mender-convert-package] Creating a file-system image from: work/rootfs/data/
2020-10-01 14:17:08 [INFO] [mender-convert-package] Creating a file-system image from: work/rootfs/
2020-10-01 14:21:12 [INFO] [mender-convert-package] Copying root filesystem image to deploy directory
2020-10-01 14:24:08 [INFO] [mender-convert-package] Writing Mender artifact to: deploy/cl200_u20-x86_64-mender.mender
2020-10-01 14:24:08 [INFO] [mender-convert-package] This can take up to 20 minutes depending on which compression method is used
2020-10-01 14:29:13 [INFO] [mender-convert-package] Creating Mender compatible disk-image
2020-10-01 14:29:13 [INFO] [mender-convert-package] Total disk size: 16000 MiB
2020-10-01 14:29:13 [INFO] [mender-convert-package] Boot partition 512 MiB
2020-10-01 14:29:13 [INFO] [mender-convert-package] RootFS partitions 7664 MiB x 2
2020-10-01 14:29:13 [INFO] [mender-convert-package] Data partition 128 MiB
2020-10-01 14:29:13 [INFO] [mender-convert-package] Using input diskimage partition scheme (gpt)
2020-10-01 14:29:13 [INFO] [mender-convert-package] Writing GPT partition table
2020-10-01 14:29:14 [INFO] [mender-convert-package] Writing boot partition image
2020-10-01 14:30:56 [INFO] [mender-convert-package] Writing rootfsa partition image
2020-10-01 14:40:17 [INFO] [mender-convert-package] Writing rootfsb partition image
...
Full log
2020-10-01 14:11:52 [DEBUG] [mender-convert-extract] Running:
dd if=input/cl200_u20.img of=work/part-1.fs skip=2048 bs=512 count=1048576 conv=sparse status=none
2020-10-01 14:11:52 [DEBUG] [mender-convert-extract] Run result:
2020-10-01 14:12:22 [DEBUG] [mender-convert-extract]
2020-10-01 14:12:22 [DEBUG] [mender-convert-extract] Running:
dd if=input/cl200_u20.img of=work/part-2.fs skip=1050624 bs=512 count=12582912 conv=sparse status=none
2020-10-01 14:12:22 [DEBUG] [mender-convert-extract] Run result:
2020-10-01 14:16:44 [DEBUG] [mender-convert-extract]
2020-10-01 14:16:44 [DEBUG] [mender-convert-modify] Running:
wget -Nq https://d1b0l86ne08fsf.cloudfront.net/master/dist-packages/debian/amd64/mender-client_master-1_amd64.deb -P work/mender-deb
2020-10-01 14:16:44 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Running:
ar -xv mender-client_master-1_amd64.deb
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] x - debian-binary
x - control.tar.gz
x - data.tar.xz
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Running:
tar xJf data.tar.xz -C files
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Running:
sudo rsync --archive --keep-dirlinks --verbose work/mender-deb/files/ work/rootfs/
2020-10-01 14:16:45 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify] sending incremental file list
./
etc/
etc/mender/
etc/mender/artifact_info
lib/
lib/systemd/
lib/systemd/system/
lib/systemd/system/mender-client.service
usr/
usr/bin/
usr/bin/mender
usr/share/
usr/share/doc/
usr/share/doc/mender-client/
usr/share/doc/mender-client/changelog.Debian.gz
usr/share/doc/mender-client/copyright
usr/share/doc/mender-client/examples/
usr/share/doc/mender-client/examples/demo.crt
usr/share/doc/mender/
usr/share/mender/
usr/share/mender/identity/
usr/share/mender/identity/mender-device-identity
usr/share/mender/inventory/
usr/share/mender/inventory/mender-inventory-bootloader-integration
usr/share/mender/inventory/mender-inventory-geo
usr/share/mender/inventory/mender-inventory-hostinfo
usr/share/mender/inventory/mender-inventory-network
usr/share/mender/inventory/mender-inventory-os
usr/share/mender/inventory/mender-inventory-rootfs-type
usr/share/mender/modules/
usr/share/mender/modules/v3/
usr/share/mender/modules/v3/deb
usr/share/mender/modules/v3/directory
usr/share/mender/modules/v3/docker
usr/share/mender/modules/v3/rpm
usr/share/mender/modules/v3/script
usr/share/mender/modules/v3/single-file
sent 7,829,348 bytes received 456 bytes 5,219,869.33 bytes/sec
total size is 7,825,804 speedup is 1.00
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify] Running:
sudo ln -sf /lib/systemd/system/mender-client.service work/rootfs/etc/systemd/system/multi-user.target.wants/mender-client.service
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify] Running:
wget -Nq 'https://github.com/mendersoftware/grub-mender-grubenv/archive/1.3.0.tar.gz' -P work/
2020-10-01 14:16:46 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Running:
tar xzvf work/1.3.0.tar.gz -C work/
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] grub-mender-grubenv-1.3.0/
grub-mender-grubenv-1.3.0/.gitignore
grub-mender-grubenv-1.3.0/01_console_bootargs_grub.cfg
grub-mender-grubenv-1.3.0/05_mender_setup_grub.cfg
grub-mender-grubenv-1.3.0/10_bootargs_grub.cfg
grub-mender-grubenv-1.3.0/90_mender_boot_grub.cfg
grub-mender-grubenv-1.3.0/95_mender_try_to_recover_grub.cfg
grub-mender-grubenv-1.3.0/LICENSE
grub-mender-grubenv-1.3.0/Makefile
grub-mender-grubenv-1.3.0/README.md
grub-mender-grubenv-1.3.0/blank_grubenv
grub-mender-grubenv-1.3.0/fw_printenv
grub-mender-grubenv-1.3.0/make-env-and-lock-files
grub-mender-grubenv-1.3.0/mender_grubenv_defines.example
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Running:
make 2>&1
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] rm -rf tmp-workdir
mkdir -p tmp-workdir
cp -f ./05_mender_setup_grub.cfg ./01_console_bootargs_grub.cfg ./95_mender_try_to_recover_grub.cfg ./10_bootargs_grub.cfg ./90_mender_boot_grub.cfg tmp-workdir
cp -f mender_grubenv_defines tmp-workdir/00_mender_grubenv_defines_grub.cfg
cd tmp-workdir && for script in [0-9][0-9]_*_grub.cfg; do \
echo "# Start of ---------- `basename $script` ----------"; \
cat $script; \
echo "# End of ---------- `basename $script` ----------"; \
done > mender_grub.cfg
mv tmp-workdir/mender_grub.cfg .
rm -rf tmp-workdir
echo "ENV_DIR = /boot/efi/EFI/BOOT" > mender_grubenv.config
./make-env-and-lock-files
+ BLANKENV=./blank_grubenv
++ sed -ne '/^mender_rootfsa_part=/ {s/^mender_rootfsa_part=//; p}' mender_grubenv_defines
+ PART_NUMBER=2
+ mkdir -p mender_grubenv
+ cp ./blank_grubenv mender_grubenv/env
++ grep '^######' -b mender_grubenv/env
++ egrep -o '^[0-9]+'
+ offset=25
+ dd of=mender_grubenv/env bs=25 seek=1 conv=notrunc
2+1 records in
2+1 records out
51 bytes copied, 0.00028641 s, 178 kB/s
+ cp ./blank_grubenv mender_grubenv/lock
++ grep '^######' -b mender_grubenv/lock
++ egrep -o '^[0-9]+'
+ offset=25
+ dd of=mender_grubenv/lock bs=25 seek=1 conv=notrunc
0+1 records in
0+1 records out
10 bytes copied, 8.7895e-05 s, 114 kB/s
+ cd mender_grubenv
+ sha256sum lock
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Running:
sudo make DESTDIR=../ BOOT_DIR=boot install-boot-files
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] install -d -m 755 ../boot/EFI/BOOT
install -m 644 mender_grub.cfg ../boot/EFI/BOOT/grub.cfg
install -m 755 -d ../boot/EFI/BOOT/mender_grubenv1
install -m 644 mender_grubenv/env ../boot/EFI/BOOT/mender_grubenv1/env
install -m 644 mender_grubenv/lock ../boot/EFI/BOOT/mender_grubenv1/lock
install -m 644 mender_grubenv/lock.sha256sum ../boot/EFI/BOOT/mender_grubenv1/lock.sha256sum
install -m 755 -d ../boot/EFI/BOOT/mender_grubenv2
install -m 644 mender_grubenv/env ../boot/EFI/BOOT/mender_grubenv2/env
install -m 644 mender_grubenv/lock ../boot/EFI/BOOT/mender_grubenv2/lock
install -m 644 mender_grubenv/lock.sha256sum ../boot/EFI/BOOT/mender_grubenv2/lock.sha256sum
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Running:
sudo make DESTDIR=../rootfs install-tools
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] install -d -m 755 ../rootfs/usr/bin
install -m 755 ./fw_printenv ../rootfs/usr/bin
ln -sf fw_printenv ../rootfs/usr/bin/fw_setenv
install -d -m 755 ../rootfs/etc
install -m 755 mender_grubenv.config ../rootfs/etc
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Running:
wget -Nq https://d1b0l86ne08fsf.cloudfront.net/mender-convert/grub-efi/2.04/x86-64/grub-efi-bootx64.efi -P work/
2020-10-01 14:16:47 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
wget -Nq https://d1b0l86ne08fsf.cloudfront.net/mender-convert/grub-efi/2.04/x86-64/grub-editenv -P work/
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo install -m 751 work/grub-editenv work/rootfs/usr/bin/
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo mkdir -p work/boot/EFI/ubuntu
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo cp work/grub-efi-bootx64.efi -P work/boot/EFI/ubuntu/grubx64.efi
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo mkdir -p work/rootfs/data/mender
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo ln -sf /data/mender work/rootfs/var/lib/mender
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo cp work/mender.conf.data work/rootfs/data/mender/mender.conf
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
echo 'device_type=x86_64' > work/device_type
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo install -m 0444 work/device_type work/rootfs/data/mender/
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo echo 'artifact_name=u20' > work/rootfs/etc/mender/artifact_info
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo mkdir -p work/rootfs//boot/efi
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify]
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Running:
sudo rsync --archive --keep-dirlinks --verbose ./rootfs_overlay_demo/ work/rootfs/
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] Run result:
2020-10-01 14:16:48 [DEBUG] [mender-convert-modify] sending incremental file list
./
.gitkeep
etc/
etc/mender/
etc/mender/mender.conf
sent 1,100 bytes received 73 bytes 2,346.00 bytes/sec
total size is 846 speedup is 0.72
2020-10-01 14:17:06 [DEBUG] [mender-convert-package] Running:
dd if=/dev/zero of=work/data.img seek=262144 count=0 bs=512 status=none
2020-10-01 14:17:06 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:06 [DEBUG] [mender-convert-package]
2020-10-01 14:17:06 [DEBUG] [mender-convert-package] Running:
/sbin/mkfs.ext4 -q -F work/data.img
2020-10-01 14:17:06 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:07 [DEBUG] [mender-convert-package]
2020-10-01 14:17:07 [DEBUG] [mender-convert-package] Running:
mkdir -p work/output
2020-10-01 14:17:07 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:07 [DEBUG] [mender-convert-package]
2020-10-01 14:17:07 [DEBUG] [mender-convert-package] Running:
sudo mount work/data.img work/output
2020-10-01 14:17:07 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:08 [DEBUG] [mender-convert-package]
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Running:
sudo rsync --archive --delete work/rootfs/data/ work/output/
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:08 [DEBUG] [mender-convert-package]
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Running:
sudo umount work/output
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:08 [DEBUG] [mender-convert-package]
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Running:
dd if=/dev/zero of=work/rootfs.img seek=7125660 count=0 bs=512 status=none
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:08 [DEBUG] [mender-convert-package]
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Running:
/sbin/mkfs.ext4 -q -F work/rootfs.img
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:08 [DEBUG] [mender-convert-package]
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Running:
mkdir -p work/output
2020-10-01 14:17:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:09 [DEBUG] [mender-convert-package]
2020-10-01 14:17:09 [DEBUG] [mender-convert-package] Running:
sudo mount work/rootfs.img work/output
2020-10-01 14:17:09 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:17:09 [DEBUG] [mender-convert-package]
2020-10-01 14:17:09 [DEBUG] [mender-convert-package] Running:
sudo rsync --archive --delete work/rootfs/ work/output/
2020-10-01 14:17:09 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:21:10 [DEBUG] [mender-convert-package]
2020-10-01 14:21:10 [DEBUG] [mender-convert-package] Running:
sudo umount work/output
2020-10-01 14:21:10 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:21:12 [DEBUG] [mender-convert-package]
2020-10-01 14:21:12 [DEBUG] [mender-convert-package] Running:
cp --sparse=always work/rootfs.img deploy/cl200_u20-x86_64-mender.ext4
2020-10-01 14:21:12 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:24:08 [DEBUG] [mender-convert-package]
2020-10-01 14:24:08 [DEBUG] [mender-convert-package] Running:
mender-artifact --compression gzip write rootfs-image --file work/rootfs.img --output-path deploy/cl200_u20-x86_64-mender.mender --artifact-name u20 --device-type x86_64
2020-10-01 14:24:08 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:13 [DEBUG] [mender-convert-package]
2020-10-01 14:29:13 [DEBUG] [mender-convert-package] Running:
dd if=/dev/zero of=deploy/cl200_u20-x86_64-mender.img bs=512 count=0 seek=32768000 status=none
2020-10-01 14:29:13 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:13 [DEBUG] [mender-convert-package]
2020-10-01 14:29:13 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img mklabel gpt
2020-10-01 14:29:13 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img unit s mkpart ESP fat32 16384 1064959
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img set 1 boot on
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img -- unit s mkpart primary ext2 1064960 16760831
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img -- unit s mkpart primary ext2 16760832 32456703
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img -- unit s mkpart primary ext2 32456704 32718847
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package]
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
/sbin/parted -s deploy/cl200_u20-x86_64-mender.img print
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Model: (file)
Disk /mender-convert/deploy/cl200_u20-x86_64-mender.img: 16.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 8389kB 545MB 537MB fat32 ESP boot, esp
2 545MB 8582MB 8036MB ext4 primary
3 8582MB 16.6GB 8036MB ext4 primary
4 16.6GB 16.8GB 134MB ext4 primary
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Running:
dd if=work/part-1.fs of=deploy/cl200_u20-x86_64-mender.img seek=16384 conv=sparse,notrunc status=none
2020-10-01 14:29:14 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:30:56 [DEBUG] [mender-convert-package]
2020-10-01 14:30:56 [DEBUG] [mender-convert-package] Running:
dd if=work/rootfs.img of=deploy/cl200_u20-x86_64-mender.img seek=1064960 conv=sparse,notrunc status=none
2020-10-01 14:30:56 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:40:17 [DEBUG] [mender-convert-package]
2020-10-01 14:40:17 [DEBUG] [mender-convert-package] Running:
dd if=work/rootfs.img of=deploy/cl200_u20-x86_64-mender.img seek=16760832 conv=sparse,notrunc status=none
2020-10-01 14:40:17 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:49:46 [DEBUG] [mender-convert-package]
2020-10-01 14:49:46 [DEBUG] [mender-convert-package] Running:
dd if=work/data.img of=deploy/cl200_u20-x86_64-mender.img seek=32456704 conv=sparse,notrunc status=none
2020-10-01 14:49:46 [DEBUG] [mender-convert-package] Run result:
2020-10-01 14:49:47 [DEBUG] [mender-convert-package]
2020-10-01 14:49:47 [DEBUG] [mender-convert-package] Running:
pigz --best --force deploy/cl200_u20-x86_64-mender.img
2020-10-01 14:49:47 [DEBUG] [mender-convert-package] Run result:
@mirzak any idea why this is failing? Iāll take a look about convert of Ubuntu 20.04 to see if I can fix an issue. Thanks for report.
Seem ābasenameā is inside the container so it is correct version. Why actual kernel images are used instead of symlinks?
If you need original image to try I can upload it somewhere or send via āwetransferā
Would be perfect. When uploaded push link here. I can check tomorrow. Thanks a lot.
You can download file here https://altairengineering-my.sharepoint.com/:u:/g/personal/mtchernychev_altair_com/EcFQS-V0yCJFnpJGTmhkr2kB_tgS1IHG7h61rIsLh7w3Zg?e=fJdnB8
It is compressed image cl200_u20.img.gz with two partitions.
The config file I used is here
cl200_x86-64_hdd_config
BTW how your forked version of mender-convert related to the main repo? Is it going to be merged some day?
Thank you for looking into this
Mikhail
I converted image and I didnāt see any issue with mender-convert (Iām using latest master + this one commit on top). But board doesnāt boot. It mount rootfs properly -> seems to be btrfs but then it cannot find init which is strange because /root is mounted. Iāll flash original image and try to check.
Are you using https://github.com/nandra/mender-conversion-tools.git or
https://github.com/mendersoftware/mender-convert.git with your patch on top?
Official mender repo (not my fork). What puzzles me is why it cannot boot properly after conversion. This needs to be checked.
Ok, it finally worked for both fresh installs ubuntu server 18 and 20!
I used mender-convert master and picked by hand your changes in mender-convert-modify and modules/probe.sh from here https://github.com/nandra/mender-conversion-tools/commit/0f500f215a9c944c85df731b2e499c6e111a5cc8
There is also could be a small issue because CL200 has two options to boot from internal MMC
memory, but one or both appeared to work.
I think the most important thing is your patch which uses correct grub.cfg and it should be merged
into mender master.
Thank you very much!
Mikhail
Thanks a lot for replying back.