Hi Liam,
Thanks for the effort you are putting to help us debug this.
Starting with the USB boot that you successfully made to work, allow me to give you some background. BalenaOS support two different class of devices, those that can directly boot from a SD card or USB drive, and those that need a flasher image to boot from SD card or USB that will then program the internal storage drive with BalenaOS.
The Intel NUC is released as the latter, with a flasher image that boots up from USB, flashes into internal storage, and then shuts down the device. Once the USB is removed, the device then boots BalenaOS from internal storage.
However, as you know now, it is also able to boot directly from USB using the latest version of BalenaOS. For that we need to extract the raw image from the flasher image. The process should’t be as convoluted as you experienced, and I have pushed a PR to fix it along with an update to the README file of the image extracting project that should make things easier in the future. (See https://github.com/balena-os/resin-image-flasher-unwrap/pull/7)
Anyway, once you have confirmed that the Intel NUC device both boots Ubuntu and BalenaOS from a USB, I would like to go back and debug the original problem you had with the BalenaOS flasher image.
The reason why the install failed were unexpected inconsistencies in the data partition:
Jul 22 10:58:11 localhost resin-partition-mounter[747]: resin-data: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Jul 22 10:58:11 localhost resin-partition-mounter[747]: (i.e., without -a or -p options)
As I don’t know what are the current contents of the internal drive, could you please post the output from:
ls -al /dev/disk/by-state
ls -al /dev/disk/by-id
When running from the BalenaOS USB drive?
After looking at the logs you posted, the OS could not boot due to inconsistencies on the resin-data partition, so I would like to find out which are the partitions for the internal drive and run fsck manually on all of them to fix the inconsistencies reported above.