My armbian system is installed from Armbian_community_25.2.0-trunk.160_Orangepipc_bookworm_current_6.6.62_minimal.img.xz. All updates applied.
I wanted to make it run with overlayroot. So, I installed the package and added "extraargs=overlayroot=tmpfs" to armbianEnv.txt. After reboot nothing changed. In /run/initramfs/overlayroot.log
I found this:
builtin set cfgdisk='disabled'
[warning]: loaded 'overlay' module but no 'overlay' in /proc/filesystems
Unable to find driver/module. searched: overlay overlayfs
[failure]: Unable to find a driver. searched: overlay overlayfs
I looked into scripts/init-bottom/overlayroot inside the initrd, and figured out the problem: the script used grep, but grep was missing. So I added such script to /etc/initramfs-tools/hooks:
#!/bin/sh
set -e
PREREQS=""
case $1 in
prereqs) exit 0;;
esac
. /usr/share/initramfs-tools/hook-functions
##
copy_exec /usr/bin/grep /bin
and applied it with "sudo update-initramfs -u". After reboot, I got kernel panic:
[ 3.559598] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
I didnt look deeper into the matter. I wonder, if it is a known problem and some solution exists already?