can't switch_root
Laurent Bercot
ska-dietlibc at skarnet.org
Mon Oct 3 14:48:02 UTC 2011
> Yes, initially I am booting up with minimal initramfs.
Well in that case you cannot use pivot_root, and have to use switch_root
indeed.
(You could also clean up your filesystem by hand and then mount --move,
but that offers no real benefit over using switch_root, which does exactly
that for you.)
Could you send the output of a strace of your switch_root command ?
--
Laurent
More information about the busybox
mailing list