Hi!

> # switch_root newroot sbin/init
> switch_root: failed to mount moving /dev to newroot/dev: Invalid argument
> switch_root: forcing unmount of /dev
> switch_root: failed to mount moving /proc to newroot/proc: Invalid argument
> switch_root: forcing unmount of /proc
> switch_root: failed to mount moving /sys to newroot/sys: Invalid argument
> switch_root: forcing unmount of /sys
> switch_root: failed to mount moving newroot to /: No such file or directory
> switch_root: failed. Sorry.

Did you create /dev, /proc and /sys on your new root system ... else you
may get the "Invalid argument" messages ... resulting in no file systems
mounted on dev, proc and sys on your new root, which could block access
to block devices and result in "No such file or directory" for the mount
... ending up with an unusable (or possibly empty) root system.

... but all this depends on the content of your /dev directory on your
new root system, so I'm not sure if this is the reason for your trouble.

--
Harald

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to