From owner-doc-jp@jp.freebsd.org  Thu Mar  9 01:07:19 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA74734;
	Thu, 9 Mar 2000 01:07:19 +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 BAA74729
	for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:07:18 +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 BAA00430 for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:07:18 +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 BAA22584 for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 01:07:16 +0900 (JST)
Message-Id: <200003081607.BAA22584@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 AAA20601
	for <doc-jp@jp.freebsd.org>; Thu, 9 Mar 2000 00:24:23 +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:22 +0900
From: Hiroki Sato <hrs@geocities.co.jp>
X-Dispatcher: imput version 990905(IM130)
Lines: 88
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7145
Subject: [doc-jp 7145] books/handbook/internals/chapter.sgml #2
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

 # $B$&$o!"(B<screen>>> $B$J$s$F=q$-J}$O(B
 # $BBg>fIW$J$N$+$J!#(B

(books/handbook/internals/chapter.sgml 1.15 -> 1.16 #2)
  
    <sect2 id="boot-blocks">
      <title>The boot blocks: Bootstrap stages 1 and 2</title>

      <para>The boot blocks are responsible for finding (usually) the
	loader, and running it, and thus need to understand how to
	find that program on the filesystem, how to run the program,
	and also allow minor configuration of how they work.</para>

      <sect3 id="boot-boot0">
	<title>boot0</title>
	
	<para>There is actually a preceding bootblock, named boot0,
	  which lives on the <firstterm>Master Boot
	    Record</firstterm>, the special part of the disk that the
	  system bootstrap looks for and runs, and it simply shows a
	  list of possible slices to boot from.</para>

	<para>boot0 is very simple, since the program in the
	  <abbrev>MBR</abbrev> can only be 512 bytes large.</para>

	<para>It displays something like this:</para>

	<example id="boot-boot0-example">
	  <title>boot0 screenshot</title>

	  <screen>
F1 DOS
F2 FreeBSD
F3 Linux
F4 ??
F5 Drive 1

Default: F2</screen>
	</example>
      </sect3>

      <sect3 id="boot-boot1">
	<title>boot1</title>
	
	<para>boot1 is found on the boot sector of the boot slice,
	  which is where <link linkend="boot-boot0">boot0</link>, or
	  any other program on the <abbrev>MBR</abbrev> expects to
	  find the program to run to continue the boot process.</para>

	<para>boot1 is very simple, since it too can only be 512 bytes
	  large, and knows just enough about the FreeBSD
	  <firstterm>disklabel</firstterm>, which stores information
	  about the slice, to find and execute <link
	    linkend="boot-boot2">boot2</link>.</para>
      </sect3>
    
      <sect3 id="boot-boot2">
	<title>boot2</title>
	
	<para>boot2 is slightly more sophisticated, and understands
	  the FreeBSD filesystem enough to find files on it, and can
	  provide a simple interface to choose the kernel or loader to
	  run.</para>

	<para>Since the <link linkend="boot-loader">loader</link> is
	  much more sophisticated, and provides a nice easy-to-use
	  boot configuration, boot2 usually runs it, but previously it
	  was tasked to run the kernel directly.</para>

	<example id="boot-boot2-example">
	  <title>boot2 screenshot</title>

	  <screen>>> FreeBSD/i386 BOOT
Default: 0:wd(0,a)/kernel
boot:</screen>
	</example>
      </sect3>
    </sect2>

--
| $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)
