Spent a lot of time building a custom rootfs and now you want to change something in the kernel?

The Wiki explains how to generate your own kernel and insert it into /sd-fuse_nanopi/prebuilts. For the rootfs it explains how to "edit its components" and then re-compress the rootfs. But I already had the wanted rootfs.

So, I did the following:

Code: Select all

sudo tar czf /home/davef/rootfs.tgz /media/davef/NANOPI

In /sd-fuse_nanopi/prebuilts save the zImage and rootfs.tgz files, say as zImage_original, etc. Then place your new zImage and/or rootfs.tgz in here and proceed as described on the Wiki page.