logo       

Re: busybox switch_root: not rootfs: msg#00062

linux.gentoo.embedded

Subject: Re: busybox switch_root: not rootfs

On Thu, 2006-08-31 at 00:52 -0700, Jon Saints wrote:
> I am following the TinyGentoo install from the gentoo
> wiki. I am able to install my tinygentoo on my host
> machine without trouble (uclibc + busybox).
>
> When I try to switch my root initramfs to a new root
> directory i have mounted by nfs i get an error.

how where do you do this?

>
> My command is:
> > switch_root /tmp/nfsroot /sbin/init
>
> The error is:
> switch_root: not rootfs
>
> Any ideas on how I might begin to debug this?

as mentioned in busybox mailing list, the process who executes
switch_root needs to be pid=1.

It means you have to call it from your initramfs init script. I suspect
that you process calling switch_root is not pid=1

--
Natanael Copa



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise