From owner-doc-jp@jp.freebsd.org  Thu Mar  9 01:07:02 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA74559;
	Thu, 9 Mar 2000 01:07:02 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from sv01.geocities.co.jp (sv01.geocities.co.jp [210.153.89.155])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id BAA74554
	for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:07:02 +0900 (JST)
	(envelope-from hrs@geocities.co.jp)
Received: from mail.geocities.co.jp (mail.geocities.co.jp [210.153.89.137]) by sv01.geocities.co.jp (8.9.3+3.2W/3.7W) with ESMTP id BAA00343 for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:07:01 +0900 (JST)
Received: from mail.hrs.jp (sutnmax2-ppp07.ed.noda.sut.ac.jp [133.31.173.77]) by mail.geocities.co.jp (1.3G-GeocitiesJ-3.3) with ESMTP id BAA21859 for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:06:59 +0900 (JST)
Message-Id: <200003081606.BAA21859@mail.geocities.co.jp>
Received: from localhost (alph.hrs.jp [192.168.0.10])
	by mail.hrs.jp (8.9.3/3.7W/DomainMaster) with ESMTP id AAA20603
	for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 00:24:26 +0900 (JST)
	(envelope-from hrs@hrs.jp)
To: doc-jp@jp.freebsd.org
X-Mailer: Mew version 1.94 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Thu, 09 Mar 2000 00:24:25 +0900
From: Hiroki Sato <hrs@geocities.co.jp>
X-Dispatcher: imput version 990905(IM130)
Lines: 60
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7142
Subject: [doc-jp 7142] books/handbook/internals/chapter.sgml #3
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: hrs@geocities.co.jp

$B:4F#!wEl5~M}2JBg3X$G$9!#(B

$BB3$-$G$9!#(B

(books/handbook/internals/chapter.sgml 1.15 -> 1.16 #3)
  
    <sect2 id="boot-loader">
      <title>loader: Bootstrap stage three</title>

      <para>The loader is the final stage of the three-stage
	bootstrap, and is located on the filesystem, usually as
	<filename>/boot/loader</filename>.</para>
	
      <note>
	<para>While <filename>/boot/boot0</filename>,
	  <filename>/boot/boot1</filename>, and
	  <filename>/boot/boot2</filename> are files there, they are
	  not the actual copies in the <abbrev>MBR</abbrev>, the boot
	  sector, or the disklabel respectively.</para>
      </note>
      
      <para>The loader is intended as a user-friendly method for
	configuration, using an easy-to-use built-in command set,
	backed up by a more powerful interpreter, with a more complex
	command set.</para> 

      <sect3 id="boot-loader-flow">
	<title>loader program flow</title>
	
	<para>During initialization, the loader will probe for a
	  console and for disks, and figure out what disk it is
	  booting from.  It will set variables accordingly, and then
	  the interpreter is started, and the easy-to-use commands are
	  explained to it.</para>

	<para>loader will then read
	  <filename>/boot/loader.rc</filename>, which by default reads
	  in <filename>/boot/defaults/loader.conf</filename> which
	  sets reasonable defaults for variables and reads
	  <filename>/boot/loader.conf</filename> for local changes to
	  those variables.  <filename>loader.rc</filename> then acts
	  on these variables, loading whichever modules and kernel are
	  selected.</para>

	<para>Finally, by default, the loader issues a 10 second wait
	  for keypresses, and boots the kernel if it is interrupted.
	  If interrupted, the user is presented with a prompt which
	  understands the easy-to-use command set, where the user may
	  adjust variables, unload all modules, load modules, and then
	  finally boot or reboot.</para>

	<para>A more technical discussion of the process is available
	  in &man.loader.8;</para>
      </sect3>

--
| $B:4F#(B $B9-@8!wEl5~M}2JBg3X(B <hrs@geocities.co.jp>
|
|                                  j7397067@ed.noda.sut.ac.jp(univ)
|                        hrs@jp.FreeBSD.org(FreeBSD doc-jp Project)
