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

vlix
Sun, 25 Jan 2026 18:06:34 +0000

Yes, I made the changes manually in Petitboot menu.

I found another way to make those paths permanent. Petitboot actually looks for grub.cfg file!

So I just made /boot/grub/grub.cfg file:

menuentry "DietPi” {
  linux /boot/Image root=/dev/sda1 rootfstype=ext4 rootwait console=tty1 consoleblank=0 coherent_pool=2M ubootpart= fsck.repair=yes net.ifnames=0
  initrd /boot/initrd.img
  devicetree /boot/dtb/amlogic/meson-g12b-odroid-n2.dtb
}

That’s it..

Petitboot will pick the entry automatically and boots directly from USB SSD!