I am sorry for the long response. I have made major headway in this. For the problem above my bootargs ended up being the problem.
The kernel boots and I can see some logs. It hangs at waiting for root device/dev/disk/system-label/writable. What should this path be? Is it as named or is a generic label?
It is the label ubuntu-image creates during image creation for the writable partition of the Image. The links in /dev/disk are created by udev, so make sure your kernel has proper udev support β¦
Has some hints about all the required kernel config options you needβ¦
Apparmor is absolutely essential and needs to be on the right version (see the link above, it also points to apparmor patchsets for older kernels), the other ones, being debug settings, not so much β¦
theoretically you should indeed see your filesystem from the initrd shell, but since the initrd scripts do not find the label it is likely there is some other issue here.
you can, by creating a system-user assertion that you put on a USB stick which you plug in during/before boot (assuming your board has a USB port indeed ):