Unable to use overlayroot to create a ram backed OverlayFS

i want to protect my sd card on radxa zero 3e and make all the writes temporary so that it boots fresh everytime. it is running the official os radxa-zero3_bookworm_kde_b1.output_512.img.

I installed overlayroot and then edited /etc/overlayroot.conf to overlayroot=“tmpfs”. I cannot get the system to boot after that and it stops at Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100.

Please help me resolve this issue.

@RadxaYuntian
Could you share the attempts you have tried previously?

It could be a low memory issue. Can you try disabling zram before installing overlayroot? Please also provide full error log.