Odroid N2, Booting DietPi USB SSD through Petitboot, “Cannot read /tmp/…_boot_dtb_”

vlix
Sun, 25 Jan 2026 14:38:58 +0000

Ok, I managed to boot directly to USB SSD through Petitboot.

The Petitboot default paths for Kernel, Initrd, and Device tree are wrong..

I changed it to:

Kernel: /boot/vmlinuz-6.12.61-current-meson64

Initrd: /boot/initrd.img-6.12.61-current-meson64

Device tree: /boot/dtb/amlogic/meson-g12b-odroid-n2.dtb

It boots flawlessly after changing those paths.

However, It went back to the defaults every time it reboots.. And I needed to edit those path manually every time..

How to make those paths permanent in Petitboot?

Looking at Petitboot status log, it said: “Parsed U-boot script from /boot/boot.scr”

Maybe we could change the defaults in boot.scr? Any pointers how to do that?