Balena Config Inject Failing for Local TX2 Built

Hello! I’m trying to test a local build of the jetsontx2 image for a customer carrier board.

See my PR here for context:

When I try to run the local configure command below, I get the error listed. Can anyone help me figure out how to insert the config.json so I can test this image?

balena config inject testbed-tx2.config.json --type jetson-tx2 --drive /dev/disk2

Unsupported filesystem.

Additional information may be available by setting a DEBUG=1 environment

variable: “set DEBUG=1” on a Windows command prompt, “$env:DEBUG = 1” on

powershell, or “export DEBUG=1” on Linux or macOS.

If you need help, don’t hesitate in contacting our support forums at

For CLI bug reports or feature requests, have a look at the GitHub issues or

create a new one at:

Hi, you need to make sure the “–drive” parameter points to the correct location: . Have you mounted the OS image you built?

Hey there! No I was just trying to do it from the SD card. What’s the best way to mount the image file?

losetup --show -fP

losetup --show -fP

losetup --show -fP YOUR_IMAGE_FILE

and then you can use the yielded loop device

Ok perfect that worked. Now I unmount and then use the same image file?

Yes, unmount and use that image which you just modified

Perfect! I unmounted with this command: sudo losetup -d /dev/loop19

Is that the correct way?

Yes, that is it

Cool. Thank you so much for your help!

You are welcome