Thanks for the tip. I run from /init and things seem to be working (although i get an nfs error now... this is a different issue I think).
I also needed to put the command "exec" infront of my switch_root command: In other words, putting the following line in my /init file seems to have solved the problem: exec switch_root /tmp/nfsroot /sbin/init Thanks, Jon --- Natanael Copa <[EMAIL PROTECTED]> wrote: > 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 > > -- > [email protected] mailing list > > -- [email protected] mailing list
