I’ve attempted to search this hub but can’t find a topic that matches my particular conversion fatal error. So, apologies if I duplicated some how but here goes: (btw, the search function is garbage, doesn’t always search from everywhere, can’t open the search results in a page for starters) Conversion works fine, until it gets to where (I’m assuming) it creates the new kernel to boot from?
Command used to run the conversion:
MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert \
--disk-image input/golden-image-1.img \
--config configs/raspberrypi4_config \
--overlay rootfs_overlay_demo/
Here’s the log:
ronin@miyamoto-x:~/mender-convert$ MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert --disk-image input/golden-image-1.img --config configs/raspberrypi4_config --overlay rootfs_overlay_demo/
Running mender-convert --disk-image input/golden-image-1.img --config configs/raspberrypi4_config --overlay rootfs_overlay_demo/
Running mender-convert-extract: --config ./work/override_compression_config --disk-image input/golden-image-1.img --config configs/raspberrypi4_config --overlay rootfs_overlay_demo/
2021-12-08 17:40:11 [INFO] [mender-convert-extract] Using configuration file: configs/mender_convert_config
2021-12-08 17:40:11 [INFO] [mender-convert-extract] Using configuration file: ./work/override_compression_config
2021-12-08 17:40:11 [INFO] [mender-convert-extract] Using configuration file: configs/raspberrypi4_config
2021-12-08 17:40:11 [INFO] [mender-convert-extract] Validating disk image
2021-12-08 17:40:11 [INFO] [mender-convert-extract] Disk parsed successfully
2021-12-08 17:40:11 [INFO] [mender-convert-extract] NUMBER OF PARTS: 2 TYPE: dos
2021-12-08 17:40:11 [INFO] [mender-convert-extract] PART 1: SIZE: 256M TYPE: 0xc
2021-12-08 17:40:11 [INFO] [mender-convert-extract] PART 1: extracting to work/part-1.fs
2021-12-08 17:40:13 [INFO] [mender-convert-extract] PART 2: SIZE: 29.6G TYPE: 0x83
2021-12-08 17:40:13 [INFO] [mender-convert-extract] PART 2: extracting to work/part-2.fs
mender-convert-extract has finished. Cleaning up...
Running mender-convert-modify: --config ./work/override_compression_config --disk-image input/golden-image-1.img --config configs/raspberrypi4_config --overlay rootfs_overlay_demo/
2021-12-08 17:50:33 [INFO] [mender-convert-modify] Using configuration file: configs/mender_convert_config
2021-12-08 17:50:33 [INFO] [mender-convert-modify] Using configuration file: ./work/override_compression_config
2021-12-08 17:50:33 [INFO] [mender-convert-modify] Using configuration file: configs/raspberrypi4_config
2021-12-08 17:50:48 [INFO] [mender-convert-modify] Installing Mender client and related files
2021-12-08 17:50:49 [INFO] [mender-convert-modify] Installing Mender client version latest
2021-12-08 17:50:50 [INFO] [mender-convert-modify] Successfully downloaded mender-client_3.1.0-1_arm64.deb
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Successfully installed mender-client_3.1.0-1_arm64.deb into /mender-convert/work/rootfs/
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Creating state folder in the data partition for Mender add-ons
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Using root device A in mender.conf: /dev/mmcblk0p2
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Using root device B in mender.conf: /dev/mmcblk0p3
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Installing the local mender.conf file
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Creating state scripts version file.
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Installing a custom /etc/fstab (see /mender-convert/logs/convert.log.7srN for more info)
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Using boot partition device in fstab: /dev/mmcblk0p1
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Using data partition device in fstab: /dev/mmcblk0p4
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Performing platform specific modifications (if any)
2021-12-08 17:50:51 [INFO] [mender-convert-modify] Running hook: platform_modify
mender-convert-modify has finished. Cleaning up...
2021-12-08 17:50:53 [ERROR] [mender-convert] mender-convert failed
2021-12-08 17:50:52 [DEBUG] [mender-convert-modify] When running: (configs/raspberrypi_config:78): run_and_log_cmd():
sudo cp work/boot/kernel7l.img work/rootfs/boot/zImage
cp: cannot stat 'work/boot/kernel7l.img': No such file or directory
2021-12-08 17:50:53 [ERROR] [mender-convert] mender-convert failed
2021-12-08 17:50:53 [ERROR] [mender-convert] mender-convert exit code: 1
As you can see, there’s no real output given to tell me anything about why that kernel7l.img doesn’t exist, and I would think that normally there’s be some kind of error message when trying to create it or source it from somewhere…
Any constructive input is extremely appreciated.