Creating a new image using image-builder

Hi,

I’m using the Beagley-ai board and Kubuntu 24.04lts for development.

I’m experimenting with image builder trying to sucessfully build an run a new image, but having an issue at the point of changing the login after running the new image.

First I downloaded and installed a pre-compiled image using the instructions from the getting stared of the beagleboard web site. All does as it says on the tin and booting and watching its output on the debug terminal you get to the login and I can then change the password as prompted and I’m given the shell. Power button when pressed with shut the system down, all as expected.

So I now tried to create a new image using the image-builder tools, this is what I did on the host machine:-

$ git clone GitHub - beagleboard/image-builder: Image builder · GitHub**
$ cd image-builder
$ sudo ./RootStock-NG.sh -c bb.org-debian-trixie-xfce-v6.18-k3-arm64**
Waited for the image to be built, then:

$ cd deploy/debian-13.4-xfce-v6.18-k3-arm64-2026-3-30
$sudo ./setup_sdcard.sh --img-12gb beagley-ai-custom.img --dtb beagley-ai-swap

Copied the resulting .img file to my windows machine which has the sdcard reader on it and ran to Beagleboad imager to flash the image to the card.

Installed the card and it all boots, gets to the login change password prompt as follows but shows the following error

BeagleBone login: debian
Password:
You are required to change your password immediately (administrator enforced).
Changing password for debian.
Current password:

Authentication token manipulation error

It now gets stuck, no ^C works, no power button presses starts the shutdown, have to resort to power removal to restart, comes back to the same problem.

Activitly light still flashing and every so often I get the messages
[ 52.813964] read descriptors
[ 52.813997] read strings
shown so its not crashed.

I have tried different configurations:
$ sudo ./RootStock-NG.sh -c bb.org-debian-trixie-iot-v6.18-k3-arm64
$ sudo ./RootStock-NG.sh -c bb.org-debian-trixie-iot-v7.0-k3-arm64
$ sudo ./RootStock-NG.sh -c bb.org-debian-trixie-xfce-v7.0-k3-arm64

But come back to the same issue.

At a bit of a loss now!.
Am I missing a step or is there someting I have not configured?
All pointers much apprecieted

Thanks Mark

Mainline still needs some work, usb is locking up and I have a few other things to fix on the beagley-ai, for now please use: bb.org-debian-trixie-xfce-v6.1-ti-arm64-k3-j722s.conf

Regards,

Many thank’s Robert for your prompt responce I will give it a try.

Regards Mark

ps, i do have weekly builds here: Index of /rootfs

So this is 6 days ago: Index of /rootfs/debian-arm64-13-xfce-v6.1-ti/2026-03-25 (which is missing the main file… humm…)

something is out of space..

debian-arm64-12-iot-v6.12-ti-bela-testing/2026-03-25/pocketbeagle2-debian-12.13-bela-v6.12-arm64-2026-03-25-8gb.img.xz
rsync: [receiver] write failed on "/mnt/rootfs/rootfs/debian-arm64-12-iot-v6.12-ti-bela-testing/2026-03-25/pocketbeagle2-debian-12.13-bela-v6.12-arm64-2026-03-25-8gb.img.xz": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(381) [receiver=3.4.1]
rsync: [sender] write error: Broken pipe (32)

Ah… final web-server:

/dev/sda        2.5T  2.4T  527M 100% /mnt/rootfs

okay fixed, hard limit of 130 days:

/dev/sda        2.5T  2.0T  374G  85% /mnt/rootfs

Regards,