Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Kernel panic on orangepi pc with armbian (debian 12, kernel 6.6.62-current-sunxi) when I enable overlayroot

Featured Replies

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?

 

Hi,
I have the same problem on a specially built debian image for the Raspberry Pi.
Did you ever solve this problem?
 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.