I'm working on a project where the goal is to run Android in a
chroot'ed environment from Ubuntu.
As of now I have a kernel for Android running (compiled from
http://nv-tegra.nvidia.com/). From that kernel I can start both ubuntu
and Android depending on what init I choose from uBoot and pass to the
kernel.
The thing is that I want to boot into Ubuntu and after that start
Android inside a chroot.
After I run the command:
chroot android/ /init
Android starts and the init program starts executing everything in the
init.rc file and the problem is now that it stops when hitting the
line:
mount rootfs rootfs / ro remount
with the error:
init: Cannot mount the device rootfs at / as rootfs file
system...retrying
So I wonder what might be wrong, can/should I do anything different
when starting Android or are there anything I can do to fix the
mounting issue?
I have a Harmony board if that might change things.