Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2009 12:55:08 -0700
From:      perryh@pluto.rain.com
To:        anti_spamsys@yahoo.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: compiling root filesystem into kernel (preferably tmpfs root filesystem)
Message-ID:  <49de529c.UkvqMSxncVbt/6KA%perryh@pluto.rain.com>
In-Reply-To: <104771.62272.qm@web37103.mail.mud.yahoo.com>
References:  <104771.62272.qm@web37103.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Travis Daygale <anti_spamsys@yahoo.com> wrote:
> I have built a root image that I put in the kernel as described in
> the Nov 2006 post. ?My UFS root image consists of /sbin/init,
> where init is a statically compiled C program that just spits out
> "Hello world" and sleeps, this binary runs fine under FBSD. ?At
> this point, I have the kernel booting but it panics because it
> says it can't find init.... ?Hmmm... ?I believe (haven't had time
> to test) that it is finding root?

Yes, if it gets to the point of "can't find init" it has already
successfully mounted the root filesystem (although, perhaps, not
the *intended* root filesystem).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49de529c.UkvqMSxncVbt/6KA%perryh>