I did a quick check of the buildscript and it seems there is a bug.
In the beginning it sets up the partition 2048 sectors in to the device:
parted ${imagename}.img --script -- mkpart primary ext3 2048s 100%
At the end of the script it writes the idbloader and u-boot 64 sectors in and 16384 sectors in:
dd if="${basedir}"/../misc/pbp/idbloader.img of=${loopdevice} seek=64 conv=notrunc
dd if="${basedir}"/../misc/pbp/u-boot.itb of=${loopdevice} seek=16384 conv=notrunc
16384 obviously is far beyond the 2048 (if the default sector size is the same). This must be wrong.
So if you could change the line in the beginning to:
parted ${imagename}.img --script -- mkpart primary ext3 32768s 100%
and then build a new image perhaps it could be used to install with dd.
That is if there's no other configuration pointing at 2048 that needs to be changed???
I could give it a try though it will possibly take me some time to get the crosscompiler going...
I have reported our problems to the developers of the build script for Kali images.
https://gitlab.com/kalilinux/build-scrip...issues/189
In the beginning it sets up the partition 2048 sectors in to the device:
parted ${imagename}.img --script -- mkpart primary ext3 2048s 100%
At the end of the script it writes the idbloader and u-boot 64 sectors in and 16384 sectors in:
dd if="${basedir}"/../misc/pbp/idbloader.img of=${loopdevice} seek=64 conv=notrunc
dd if="${basedir}"/../misc/pbp/u-boot.itb of=${loopdevice} seek=16384 conv=notrunc
16384 obviously is far beyond the 2048 (if the default sector size is the same). This must be wrong.
So if you could change the line in the beginning to:
parted ${imagename}.img --script -- mkpart primary ext3 32768s 100%
and then build a new image perhaps it could be used to install with dd.
That is if there's no other configuration pointing at 2048 that needs to be changed???
I could give it a try though it will possibly take me some time to get the crosscompiler going...
I have reported our problems to the developers of the build script for Kali images.
https://gitlab.com/kalilinux/build-scrip...issues/189