From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GIhul-0004XP-3i for garchives@archives.gentoo.org; Thu, 31 Aug 2006 08:28:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7V8RpQd027529; Thu, 31 Aug 2006 08:27:51 GMT Received: from mail47.e.nsc.no (mail47.e.nsc.no [193.213.115.47]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7V8Rphn005528 for ; Thu, 31 Aug 2006 08:27:51 GMT Received: from mail.nor.wtbts.org ([213.234.126.131]) by mail47.nsc.no (8.13.7/8.13.5) with ESMTP id k7V8RouA016840 for ; Thu, 31 Aug 2006 10:27:50 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id 888FB3FA26 for ; Thu, 31 Aug 2006 10:27:50 +0200 (CEST) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01194-06 for ; Thu, 31 Aug 2006 10:27:50 +0200 (CEST) Received: from nc.nor.wtbts.org (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id 3664E3FA07 for ; Thu, 31 Aug 2006 10:27:50 +0200 (CEST) Subject: Re: [gentoo-embedded] busybox switch_root: not rootfs From: Natanael Copa To: gentoo-embedded@lists.gentoo.org In-Reply-To: <20060831075231.41780.qmail@web53913.mail.yahoo.com> References: <20060831075231.41780.qmail@web53913.mail.yahoo.com> Content-Type: text/plain Date: Thu, 31 Aug 2006 10:27:50 +0200 Message-Id: <1157012870.10578.31.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at wtbts.no X-Archives-Salt: 73ab7d1f-c275-4d79-8cad-bed5c7f6f8ad X-Archives-Hash: d003df74657614b60bc25eb9e03e2990 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