* Re: [gentoo-embedded] busybox switch_root: not rootfs
@ 2006-08-31 8:27 99% ` Natanael Copa
0 siblings, 0 replies; 1+ results
From: Natanael Copa @ 2006-08-31 8:27 UTC (permalink / raw
To: gentoo-embedded
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
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2006-08-31 7:52 [gentoo-embedded] busybox switch_root: not rootfs Jon Saints
2006-08-31 8:27 99% ` Natanael Copa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox