From owner-freebsd-questions@FreeBSD.ORG Thu Jun 30 06:47:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80CE816A41C for ; Thu, 30 Jun 2005 06:47:15 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D3B943D48 for ; Thu, 30 Jun 2005 06:47:15 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by wproxy.gmail.com with SMTP id i4so47700wra for ; Wed, 29 Jun 2005 23:47:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BUw9lDBCxwKgI9QJ/nXcT1bF3QwmuAKL8XR4BHEjyBiD+PGGpNWDb66fX7aFn/IXBXhIY0MQ6rQWRMkcaxuViz0pZeIiZ6tcJ3lG+UgdRe9qhMMLCGhofq0f+fKOu7dRpqK815HChhY8g7Yv2JJLR2d0sMvHGtWcrAsPi9gjQNI= Received: by 10.54.11.58 with SMTP id 58mr223952wrk; Wed, 29 Jun 2005 23:47:14 -0700 (PDT) Received: by 10.54.124.2 with HTTP; Wed, 29 Jun 2005 23:47:14 -0700 (PDT) Message-ID: Date: Thu, 30 Jun 2005 01:47:14 -0500 From: Nikolas Britton To: Bryan Maynard In-Reply-To: <200506292116.00205.bryan.maynard@reallm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200506292116.00205.bryan.maynard@reallm.com> Cc: Questions Subject: Re: Kernel question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nikolas Britton List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 06:47:15 -0000 On 6/29/05, Bryan Maynard wrote: > Hey helpful friends! :-D >=20 > I would like to conduct an experiment: down the road (a couple years mayb= e) > I'd like to start building and selling PCs. I'd like these PCs to run Fre= eBSD > - because it's the best ;-). These machines will be a slightly different = from > the current crop in that they will be laptops that will not have PCMCIA s= lots > or CD/DVD drives (these items will be held in a separate "breakout box").= The > machines wil lbe completely sealed with the exception of the various memo= ry > card (SD, CompactFlash, Memory stick, etc.) embeded in the monitor casing= . >=20 > There's much more to these machines, but I'll save those details for the > appropriate place - my question for here is this: >=20 > I'd like to minimize boot time as much as possible. Since these machines = will > not ever have hardware added or changed I would like to statically build = as > much device information as early in the boot process as possible. >=20 > I understand that FreeBSD has a three stage boot process. I'm a bit fuzzy= as > to what happens when, but was wondering how, or if, I could cut out any o= f > these stages - and shorten the remaining stages as much as possible. >=20 > I've looked around loader.conf, device.hints, .hints, and such an= d > this is what got me wondering. >=20 > If you all need anymore info please let me know. >=20 > Thanks a lot! >=20 > Bryan > -- http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/boot.html Man pages: loader.conf loader loader.4th boot btxld boot0cfg device.hints kenv The majority of the boot process time is the BIOS testing and initializing hardware and there is no simple way around this. The best place to start is to rip everything out of the kernel config file. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-conf= ig.html