On Friday 30 September 2011 10:08, Dutta, Kanishka wrote:
> Hello All,
> 
> I am trying to use switch_root in order to switch the root from one partition 
> to the other where my actual filesystem resides along with other binaries.
> I am using the following commands and getting issue:-
> 
> When the system boots up, we are trying to
> # mkdir newroot
> # mount dev/mmcblk0p14 newroot
> 
> whole of system partition gets mounted on newroot successfully, after that:-
> 
> # 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.
> 
> I am getting the above errors. And not able to understand "Invalid argument".

Busybox switch_root never contained messages "failed to mount moving ..." -
IOW, you are using someone else's switch_root tool, not ours.

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

Reply via email to