Hi all,
I tried to convert a new Debian Image with mender-convert. I used this tutorial "
Convert a Mender Debian image"
fdisk -l
Disk /dev/sdb: 58.7 GiB, 63023063040 bytes, 123091920 sectors
Disk model: Generic
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 426D7739-915A-4024-B48B-A9734A997101
Device Start End Sectors Size Type
/dev/sdb1 2048 391167 389120 190M EFI System
/dev/sdb2 391168 1368063 976896 477M Linux filesystem
/dev/sdb3 1368064 13086719 11718656 5.6G Linux filesystem
My build stepps:
- mkdir input
- cd input
- dd if=/dev/sdb of=debian.img bs=1M conv=fdatasync
- cd …
- ./scripts/bootstrap-rootfs-overlay-hosted-server.sh --output-dir ${PWD}/rootfs_overlay_demo --tenant-token ${MENDERTOKEN}
- MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert --disk-image input/debain.img --config configs/generic_x86-64_hdd_config --overlay rootfs_overlay_demo/
But I get this error message:
2021-04-07 22:57:31 [INFO] [mender-convert-modify] Using configuration file:
configs/mender_convert_config
2021-04-07 22:57:31 [INFO] [mender-convert-modify] Using configuration file:
./work/override_compression_config
2021-04-07 22:57:31 [INFO] [mender-convert-modify] Using configuration file: configs/generic_x86-
64_hdd_config
2021-04-07 22:57:32 [INFO] [mender-convert-modify] Installing Mender client and related files
2021-04-07 22:57:32 [FATAL] [mender-convert-modify] Sorry, not able to determine target architecture
2021-04-07 22:57:32 [FATAL] [mender-convert-modify] Unknown arch:
This is the Content of the /boot folder
root@dev:~# ls -lah /mnt/boot/EFI/debian/
total 5.1M
drwxr-xr-x 2 root root 1.0K Apr 7 21:54 .
drwxr-xr-x 3 root root 512 Apr 7 21:28 ..
-rwxr-xr-x 1 root root 108 Apr 7 21:28 BOOTX64.CSV
-rwxr-xr-x 1 root root 1.2M Apr 7 21:28 fbx64.efi
-rwxr-xr-x 1 root root 121 Apr 7 21:28 grub.cfg
-rwxr-xr-x 1 root root 1.5M Apr 7 21:28 grubx64.efi
-rwxr-xr-x 1 root root 1.3M Apr 7 21:28 mmx64.efi
-rwxr-xr-x 1 root root 1.3M Apr 7 21:28 shimx64.efi
root@dev:~#
Can someone please tell me what else I need to adjust?
Thanx
Dirk