From owner-doc-jp@jp.freebsd.org  Fri Mar 10 02:18:22 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id CAA58866;
	Fri, 10 Mar 2000 02:18:22 +0900 (JST)
	(envelope-from owner-doc-jp@jp.FreeBSD.org)
Received: from thumb.nail.or.jp (ppp112.dialup.st.keio.ac.jp [131.113.27.112])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id CAA58861
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 02:18:20 +0900 (JST)
	(envelope-from dui@360.cc)
Received: from localhost (localhost.nail.or.jp [127.0.0.1])
	by thumb.nail.or.jp (8.9.3/8.9.3) with ESMTP id CAA39618
	for <doc-jp@jp.freebsd.org>; Fri, 10 Mar 2000 02:18:06 +0900 (JST)
	(envelope-from dui@360.cc)
To: doc-jp@jp.freebsd.org
In-Reply-To: Your message of "Thu, 09 Mar 2000 00:24:22 +0900"
	<200003081607.BAA22584@mail.geocities.co.jp>
References: <200003081607.BAA22584@mail.geocities.co.jp>
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000310021806O.dui@360.cc>
Date: Fri, 10 Mar 2000 02:18:06 +0900
From: Naoto Kaneko <dui@360.cc>
X-Dispatcher: imput version 980905(IM100)
Lines: 174
Reply-To: doc-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: doc-jp 7150
Subject: [doc-jp 7150] Re: books/handbook/internals/chapter.sgml #2
Errors-To: owner-doc-jp@jp.freebsd.org
Sender: owner-doc-jp@jp.freebsd.org
X-Originator: dui@360.cc

$B6b;R$G$9!#(B
$B$b$&0l$D$d$j$^$7$?!#(B

From: Hiroki Sato <hrs@geocities.co.jp>
Subject: [doc-jp 7145] books/handbook/internals/chapter.sgml #2
Date: Thu, 09 Mar 2000 00:24:22 +0900
Message-ID: <200003081607.BAA22584@mail.geocities.co.jp>

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

(books/handbook/internals/chapter.sgml 1.15 -> 1.16 #2)
  
    <sect2 id="boot-blocks">
      <title>$B%V!<%H%V%m%C%/(B: $B%V!<%H%9%H%i%C%WCJ3,(B1$B$H(B2</title>

      <para>$B%V!<%H%V%m%C%/$O(B($BDL>o(B)$B%m!<%@$r8+$D$1(B, $B<B9T$9$k$3$H$r;E;v$H(B
      $B$7$^$9(B. $B=>$C$F(B, $B%U%!%$%k%7%9%F%`>e$N%W%m%0%i%`$r8+$D$1(B, $B<B9T$7(B, 
      $B$=$N5sF0$K4X$9$k$A$g$C$H$7$?@_Dj$,=PMh$J$1$l$P$J$i$J$j$^$;(B
      $B$s(B. </para>

      <sect3 id="boot-boot0">
	<title>boot0</title>
	
	<para>$B<B:]$K$O(Bboot0$B$H8F$P$l$k%V!<%H%V%m%C%/$,@h9T$7$F$*$j(B,
	<firstterm>Master Boot Record</firstterm>$B$K$"$j$^$9(B. $B$3$l$O(B, 
	$B%7%9%F%`$N%V!<%H%9%H%i%C%W$,5/F0;~$KC5$7$F<B9T$9$k%G%#%9%/$NFC(B
	$B<l$JItJ,$G(B, $BC1$K%V!<%H$G$-$k2DG=@-$N$"$k%9%i%$%9$N%j%9%H$rI=<((B
	$B$7$^$9(B. </para>

	<para>boot0$B$O(B<abbrev>MBR</abbrev>$B$KCV$/%W%m%0%i%`$O(B512$B%P%$%H0J(B
	$B>e$K$G$-$J$$$3$H$+$i$H$F$bC1=c$G$9(B. </para>

	<para>$B$3$s$J46$8$N=PNO$r$7$^$9(B:</para>

	<example id="boot-boot0-example">
	  <title>boot0$B$N%9%/%j!<%s%7%g%C%H(B</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$B$O%V!<%H%9%i%$%9$N%V!<%H%;%/%?$K$"$j$^$9(B. <link
	linkend="boot-boot0">boot0</link>$B$d(B, $B$=$NB>$N(B
	<abbrev>MBR</abbrev>$B$K$"$k$"$i$f$k%W%m%0%i%`$+$i%V!<%H%W%m%;%9(B
	$B$rB3$1$k$?$a$KI,MW$J%W%m%0%i%`$,$"$k$H4|BT$5$l$kItJ,$G(B
	$B$9(B. </para>

	<para>boot1$B$bF1MM$K(B512$B%P%$%H0J>e$K$G$-$J$$$3$H$+$i$H$F$bC1=c$G(B,
	<link linkend="boot-boot2">boot2</link>$B$r$K8+$D$1(B, $B<B9T$9$k$?(B
	$B$a$N>pJs$rJ];}$9$k(BFreeBSD$B$N(B<firstterm>disklabel</firstterm>$B$K(B
	$B$D$$$F:GDc8B$N$3$H$,J,$+$C$F$$$k$@$1$G$9(B. </para>
      </sect3>
    
      <sect3 id="boot-boot2">
	<title>boot2</title>

	<para>boot2$B$O$b$&>/$7@:9*$G(B, FreeBSD$B$N%U%!%$%k%7%9%F%`>e$G%U%!(B
	$B%$%k$r8+$D$1$k$N$K==J,$JG=NO$r;}$A(B, $B%+!<%M%k$+%m!<%@$r;XDj$9$k(B
	$B$?$a$N4JC1$J%$%s%?!<%U%'%$%9$rDs6!$9$k;v$,$G$-$^$9(B. </para>

	<para><link linkend="boot-loader">$B%m!<%@(B</link>$B$O$:$C$H@:9*$G(B
	$B$"$j(B, $B;H$$0W$$%V!<%H@_Dj$rDs6!$9$k$?$a(B, boot2$B$ODL>o$=$l$r5/F0(B
	$B$7$^$9(B. $B$7$+$7(B, $B0JA0$O%+!<%M%k$rD>@\5/F0$9$k$3$H$rMW5a$5$l$F$$(B
	$B$^$7$?(B. </para>

	<example id="boot-boot2-example">
	  <title>boot2$B$N%9%/%j!<%s%7%g%C%H(B</title>

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

                             /* $B6b;R(B $BD>?M(B
				$B7D1~Bg3XM}9)3XIt>pJs9)3X2J(B3$BG/8uJd(B 
				dui@360.cc */







