1. Make a cpio package with init in root directory then you can use exec switch_root (this is the best solution) 2. After exec chroot . /sbin/init you would have to send a signal to init to restart it self (from a script on real_root), this should free some fd's from initrd
On Fri, Oct 30, 2009 at 17:06, Vladimir Dronnikov <[email protected]> wrote: > 1. what does "mount" say? /old_root is mounted? > 2. try "umount -l /old_root". Does it work? > > -- > Vladimir > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox > _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
