>> "exec switch_root /mnt /sbin/init ", >> > That means you're "init" script has to call the switch_root. In other > words,. you have a script that looks something like: > ... > switch_root /mnt >
I put it clear: The only way for switch_root to execute /sbin/init as PID 1 is switch_root itself be PID 1, which means switch_root MUST BE in turn EXEC'ed! Also, switch_root won't work if it sees no /init file, which must be present in initramfs, for which switch_root is invented. In the case we are inspecting neither of these conditions hold. -- Vladimir _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
