This file is indexed.

/usr/share/doc/HOWTO/ja-html/LILO-2.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>Lilo mini-Howto: ͽÈ÷Ãμ±¤È°ìÈÌŪ¤Ê¥¤¥ó¥¹¥È¡¼¥ëÊýË¡</TITLE>
 <LINK HREF="LILO-3.html" REL=next>
 <LINK HREF="LILO-1.html" REL=previous>
 <LINK HREF="LILO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="LILO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO.html#toc2">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s2">2. ͽÈ÷Ãμ±¤È°ìÈÌŪ¤Ê¥¤¥ó¥¹¥È¡¼¥ëÊýË¡</A></H2>

<P>Lilo ¤¬¥·¥¹¥Æ¥à¤òµ¯Æ°¤¹¤ë¾ì¹ç BIOS ¥³¡¼¥ë¤ò»ÈÍѤ·¤Æ¥Ç¥£¥¹¥¯¡ÊIDE¥É¥é¥¤¥Ö¡¢
¥Õ¥í¥Ã¥Ô¡¼¡¢¤½¤Î¾¡Ë¤«¤é Linux ¥«¡¼¥Í¥ë¤òÆɤ߹þ¤ß¤Þ¤¹¡£¤Ä¤Þ¤ê¥«¡¼¥Í¥ë¤Ï 
BIOS ¤«¤é¥¢¥¯¥»¥¹¤Ç¤­¤ë¾ì½ê¤Ë¸ºß¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
<P>
<P>Lilo ¤Ï¥Ö¡¼¥È»þ¤Ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¾å¤Î¥Ç¡¼¥¿¤òÆɤ߹þ¤à¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¤«
¤é¡¢<CODE>/etc/lilo.conf</CODE> ¤Ëµ­½Ò¤·¤¿¥Ñ¥¹Ì¾¤Ï¥¤¥ó¥¹¥È¡¼¥ë»þ
¡Ê<EM>/sbin/lilo</EM> ¤ò¼Â¹Ô¤¹¤ë»þ¡Ë¤Ë²òÆɤµ¤ì¡¢³Æ¥Õ¥¡¥¤¥ë¤¬¥Ç¥£¥¹¥¯¾å¤Î
¤É¤Î¥»¥¯¥¿¤òÀê¤á¤Æ¤¤¤ë¤Î¤«¤È¤¤¤¦¾ðÊó¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£¡Ö¥¤¥ó¥¹¥È¡¼¥ë»þ¡×¤Ë
¤Ï¡¢¥«¡¼¥Í¥ë¤òÆɤ߹þ¤àºÝ¤ËɬÍפȤʤë¥Õ¥¡¥¤¥ë¤¬¥Ç¥£¥¹¥¯¾å¤Ç¤½¤ì¤¾¤ì¤É¤Î¥»
¥¯¥¿¤Ë¸ºß¤·¤Æ¤¤¤ë¤Î¤«¤ò¼¨¤¹¥Æ¡¼¥Ö¥ë¤¬¥×¥í¥°¥é¥à (ÌõÃí:
<EM>/sbin/lilo</EM>) ¤Ë¤è¤Ã¤Æ¹½ÃÛ¤µ¤ì¤Þ¤¹¡£¤Ç¤¹¤«¤é¡¢¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤¹
¤Ù¤Æ¤¬ BIOS¤«¤é¥¢¥¯¥»¥¹¤Ç¤­¤ë¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¸ºß¤·¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹
¡Ê¥Õ¥¡¥¤¥ë¤ÏÄ̾ï <CODE>/boot</CODE> ¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤«¤ì¤Þ¤¹¡£¤Ä¤Þ¤ê BIOS ¤«
¤é¥¢¥¯¥»¥¹¤Ç¤­¤ëɬÍפ¬¤¢¤ë¤Î¤Ï¡¢Linux¥·¥¹¥Æ¥à¤Î¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤À¤±
¤Ç¤¹¡Ë¡£
<P>
<P>BIOS ¤Ë´Ø¤¹¤ë¤â¤¦°ì¤Ä¤ÎÃí°ÕÅÀ¤È¤·¤Æ¤Ï Lilo ¤ÎÀßÄê¤òÊѹ¹¤¹¤ëÅ٤ˡÊÌõÃí¡§
<CODE>/etc/lilo.conf</CODE> ¤òÊѹ¹¤·¤¿»þ¡Ë¡¢<EM>/sbin/lilo</EM> ¤ò¼Â¹Ô¤·¤ÆºÆ
¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¥«¡¼¥Í¥ë¤òºÆ¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¸Å¤¤¥«¡¼¥Í
¥ë¥¤¥á¡¼¥¸¤ò¾å½ñ¤­¤·¤¿¾ì¹ç¤Ï¾ï¤ËLilo ¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»
¤ó¡£
<P>¡ÊÌõÃí¡§ºÆ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤«¤Ã¤¿¾ì¹ç¡¢¥Þ¥·¥ó¤òºÆµ¯Æ°¤¹¤ë¤È Linux¤¬µ¯Æ°¤»
¤º¤Ë¥Õ¥ê¡¼¥º¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£Lilo ¤¬ OS µ¯Æ°»þ¤Ë»ÈÍѤ¹¤ë¾ðÊó¤Ï 
<EM>/sbin/lilo</EM>¥³¥Þ¥ó¥É¼Â¹Ô»þ¤ËÀßÄꤵ¤ì¤Þ¤¹¤¬¡¢¥«¡¼¥Í¥ë¤ò¾å½ñ¤­¤·¤¿
¾ì¹ç¤Ë¤Ï¤³¤Î¾ðÊ󤬰㤦ʪ¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤«¤é¤Ç¤¹¡Ë
<P>
<H2><A NAME="ss2.1">2.1 Lilo ¤Ï¤É¤³¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ù¤­¤Ç¤·¤ç¤¦¤«¡©</A>
</H2>

<P><CODE>/etc/lilo.conf</CODE> ¤Î <CODE>boot=</CODE> ¥Ñ¥é¥á¡¼¥¿¡¼¤Ï¡¢¥×¥é¥¤¥Þ¥ê¡¼¥Ö¡¼¥È
¥í¡¼¥À¡¼¤ò¤É¤³¤ËÃÖ¤¯¤Ù¤­¤«¤ò Lilo¤Ë»ØÄꤹ¤ë¤â¤Î¤Ç¤¹¡£Ä̾ï¤Ï¥Þ¥¹¥¿¡¼¥Ö¡¼
¥È¥ì¥³¡¼¥É¡ÊMBR¡Ë(<CODE>/dev/hda</CODE>¡Ë¤« Linux ¤Î¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó(ÄÌ
¾ï¤Ï<CODE>/dev/hda1</CODE> ¤« <CODE>/dev/hda2</CODE>¡Ë¤Î¤É¤Á¤é¤Ç¤â»ØÄê¤Ç¤­¤Þ¤¹¡£
<P>¡ÊÌõÃí¡§Linux ¤Î¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò»ØÄꤹ¤ë¾ì¹ç¤Ï¡¢MBR ¤Ë Lilo°Ê³°¤Î
¥Ö¡¼¥È¥í¡¼¥À¡¼¡ÊOS/2¡¢Windows NT¡¢extipl ¤ä¥·¥¹¥Æ¥à¥³¥Þ¥ó¥À¡¼¤Ê¤É¡Ë¤¬¥¤
¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¤Ä¤Þ¤ê¡¢MBR¤Î¥í¡¼¥À¡¼¤«¤é¥ë¡¼¥È¥Ñ¡¼
¥Æ¥£¥·¥ç¥ó¤Î¥í¡¼¥À¡¼¡ÊLilo¡Ë¤ò¥Ö¡¼¥È¤·¡¢¤½¤³¤«¤é Linux ¤¬µ¯Æ°¤µ¤ì¤Þ¤¹¡Ë
<P>
<P>¾¤Î OS ¤¬¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢MBR¤Ç¤Ï¤Ê¤¯¥ë¡¼¥È
¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë Lilo ¤òÆþ¤ì¤¿Êý¤¬Îɤ¤¤Ç¤·¤ç¤¦¡£¤½¤Î¾ì¹ç¤½¤Î¥Ñ¡¼¥Æ¥£¥·¥ç
¥ó¤Ë¡¢<EM>fdisk</EM> ¤Î``a''¥³¥Þ¥ó¥É¤«<EM>cfdisk</EM> ¤Î``b'' ¥³¥Þ¥ó¥É¤ò
»ÈÍѤ·¤Æ``bootable''¡Êµ¯Æ°²Äǽ¡Ë¥Þ¡¼¥¯¤òÉÕ¤±¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£¥Þ¥¹¥¿¡¼¥Ö¡¼
¥È¥»¥¯¥¿¤ò¾å½ñ¤­¤·¤Ê¤¤¤Û¤¦¤¬¡¢¤â¤·É¬Íפˤʤ俾ì¹ç¡¢¤è¤ê´Êñ¤Ë Linux 
¤È Lilo ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤ë¤³¤È¤Ç¤·¤ç¤¦¡£
<P>
<H2><A NAME="ss2.2">2.2 IDE ¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ò¤É¤Î¤è¤¦¤ËÀßÄꤹ¤Ù¤­¤Ç¤·¤ç¤¦¤«¡©</A>
</H2>

<P>»ä¼«¿È¤Ï BIOS ¤Î LBA ¤ä LARGE ¤ÎÀßÄê¤Ï¤·¤Æ¤¤¤Þ¤»¤ó¡ÊLinux¤·¤«Áö¤é¤»¤Æ¤¤
¤Þ¤»¤ó¤«¤é¡Ë¡£¤³¤ì¤é¤Ï PC¤ÎÀ¤³¦¤Ç¤ÎÀ߷פηç´Ù¤ò¼è¤êÁ¶¤¦¤¿¤á¤Î¤ß¤Ã¤È¤â¤Ê
¤¤¤½¤Î¾ì¤·¤Î¤®¤Ç¤¹¡£¤³¤ÎÍýͳ¤Ë¤è¤ê¡¢¥«¡¼¥Í¥ë¤Ï 1024 ¥·¥ê¥ó¥À°ÊÆâ¤Ë¸ºß¤¹
¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤¬¡¢¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òʬ³ä¤·¤Æ¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¾®¤µ¤¤
ʪ¤Ë¤¹¤ë¸Â¤ê¤³¤ì¤ÏÌäÂê¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡Ê¤É¤Á¤é¤Ë¤»¤èÆɼԤϤ½¤¦¤¹¤ë¤Ï¤º¤Ç¤·¤ç
¤¦¤¬¡Ë¡£
<P>
<P>¤¹¤Ç¤Ë¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ë¾¤Î OS ¤¬¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢¤½¤Î OS
¤¬¤â¤¦µ¯Æ°¤·¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤«¤â¤·¤ì¤Þ¤»¤ó¤«¤é BIOS
¤Î¥»¥Ã¥Æ¥£¥ó¥°¤òÊѤ¨¤é¤ì¤Ê¤¤¤Ç¤·¤ç¤¦¡£ºÇ¶á¤Î¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥óÁ´¤Æ¤Î
Lilo ¤Ï LBA ¤È LARGE ¤Î¥Ç¥£¥¹¥¯ÀßÄê¤ò¼è¤ê°·¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P>
<P><CODE>/etc/lilo.conf</CODE> ¤Î "<CODE>linear</CODE>" ¥­¡¼¥ï¡¼¥É¤Ï¥¸¥ª¥á¥È¥ê¡¼ÌäÂê¤Ë
Âн褹¤ë¤Î¤ËÌòΩ¤Ä¤È¸À¤¦¤³¤È¤ò³Ð¤¨¤Æ¤ª¤¤¤Æ¤¯¤À¤µ¤¤¡£¤³¤ì¤Ï Lilo¤Ë¥ê¥Ë¥¢
¥»¥¯¥¿¥¢¥É¥ì¥¹¤ò¥»¥¯¥¿¡¿¥Ø¥Ã¥É¡¿¥·¥ê¥ó¥À(CHS)»ØÄê¤ÎÂå¤ï¤ê¤Ë»ÈÍѤ¹¤ë
¤³¤È¤ò»Ø¼¨¤·¤Þ¤¹¡££³£Ä¥¢¥É¥ì¥¹¡ÊCHS ¥¢¥É¥ì¥¹¡Ë¤Ø¤ÎÊÑ´¹½èÍý¤Ï¼Â¹Ô»þ¤ËÀèÁ÷
¤ê¤µ¤ì¤Þ¤¹¤¬¡¢¤½¤ÎÂå¤ï¤ê¤Ë¤³¤ÎÀßÄê¤Ë¤è¤Ã¤Æ¥¸¥ª¥á¥È¥ê¡¼ÌäÂê¤Ë¡¢¤è¤ê½ÀÆð¤Ë
Âбþ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
<P>¡ÊÌõÃí¡§LILO ver 20 ¤ª¤è¤Ó 21 ¤Ç¤Ï linear ¤ò»ØÄꤵ¤ì¤¿¾ì¹ç¤Ç¤¢¤Ã¤Æ¤â 
lilo ¤ÏÆâÉô¤Ç CHS ¥¢¥É¥ì¥¹¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£»ØÄꤷ¤Ê¤¤¾ì¹ç¤È¤Î°ã¤¤¤Ïñ¤Ëµ¯
Æ°»þ¤Ë¥Þ¥Ã¥×¥Õ¥¡¥¤¥ë¤Ëµ­Ï¿¤µ¤ì¤¿ 3D ¥¢¥É¥ì¥¹¤ò BIOS ¤«¤é¼èÆÀ¤·¤¿¥¸¥ª¥á¥È
¥ê¡¼¾ðÊó¤òÍѤ¤¤ÆÊÌ¤Ê 3D ¥¢¥É¥ì¥¹¤ËÊÑ´¹¤¹¤ë¤«¤É¤¦¤«¡¢¤Î¤Ï¤º¤Ç¤¹¡£
<P>¤â¤· linear ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤ë¤³¤È¤Ë¤è¤Ã¤Æ /sbin/lilo ¤¬ /boot/map ¥Õ¥¡
¥¤¥ë¤Ë 32bit ¤Ê linear address ¤òµ­Ï¿¤¹¤ë¤Î¤Ê¤é¡¢/boot/map ¥Õ¥¡¥¤¥ë¤Î¥µ
¥¤¥º¤¬ linear ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Ê¤¤¾ì¹ç¤è¤ê¤â¤«¤Ê¤êÂ礭¤¯¤Ê¤ë¤Ï¤º¤Ç¤¹¤¬
(¥«¡¼¥Í¥ë¤Î¥»¥¯¥¿°ÌÃÖ¾ðÊó¤¬ 24bit ¤«¤é 32bit ¤ËÁý¤¨¤ë¤¿¤á)¡¢¡Ê»î¤·¤Æ¤ß
¤ì¤Ð¤¹¤°¤Ë¤ï¤«¤ê¤Þ¤¹¤¬¡Ë¼ÂºÝ¤Ë¤Ï¤¹¤¯¤Ê¤¯¤È¤â lilo ver.21 ¤Ç¤Ï /sbin/lilo 
¤Ë -l ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤Æ¤âÉÕ¤±¤Ê¤¯¤Æ¤âÀ¸À®¤µ¤ì¤ë map ¥Õ¥¡¥¤¥ë(ɸ½à¤Ç¤Ï 
/boot/map) ¤Î¥µ¥¤¥º¤ÏƱ¤¸¤Ç¤¹¡£
<P>¤³¤Î¤Ø¤ó¤Ï lilo ¤Î¥½¡¼¥¹¤Ë¤¢¤ë first.S ¤ä second.S ¤òÆɤá¤Ð¤¹¤°¤Ë¤ï¤«¤ë
¤È»×¤¤¤Þ¤¹¡£map ¥Õ¥¡¥¤¥ë¤òÆɤà½èÍý¤Ï linear option ¤Î̵ͭ¤Ë¤è¤é¤º¡¢¤Þ¤Ã
¤¿¤¯Æ±¤¸¤Ç¤¹¤«¤é¡£°ã¤¤¤Ï map ¥Õ¥¡¥¤¥ë¤«¤éÆɤó¤À¥Ç¡¼¥¿¤ò½èÍý¤¹¤ëÉôʬ¤À¤±
¤Ç¤¹¡Ë
<P>
<P>1 ¤Ä°Ê¾å¤Î¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤ò»ý¤Ã¤Æ¤¤¤Æ¡¢¤½¤ì¤é¤Î¤¦¤Á¤¤¤¯¤Ä¤«¤Ï Linux¤À¤±¤Ç
»ÈÍѤ·¤Æ¤¤¤Æ¡¢¤Ê¤ª¤«¤Ä¥Ö¡¼¥È¥×¥í¥»¥¹¤Ë´Ø·¸¤¬¤Ê¤¤¡Ê¥Ö¡¼¥È¥×¥í¥»¥¹¤Ç»ÈÍѤ·
¤Æ¤¤¤Ê¤¤¡¿É¬Íפ¬¤Ê¤¤¡Ë¾ì¹ç BIOS¤Ë¡¢¤½¤ì¤é¤Î¥Ç¥£¥¹¥¯¤¬Àܳ¤µ¤ì¤Æ¤¤¤Ê¤¤¤È
ÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¥·¥¹¥Æ¥à¤Ï¤è¤êÁ᤯µ¯Æ°¤·¤Þ¤¹¡£Linux ¤Ï
¨ºÂ¤Ë¤¹¤Ù¤Æ¤Î¥Ç¥£¥¹¥¯¤ò¼«Æ°Ç§¼±¤·¤Þ¤¹¡£»ä¤Ï¼«Ê¬¤Î¥³¥ó¥Ô¥å¡¼¥¿¡¼¤Î¥Ç¥£¥¹
¥¯¤ò¤è¤¯¸ò´¹¤·¤Þ¤¹¤¬¡¢BIOS ¤ÎÀßÄê¤Ë¤Ï¿¨¤ì¤Þ¤»¤ó¡£
<P>
<H2><A NAME="ss2.3">2.3 ¥Ö¡¼¥È»þ¤ËÂÐÏÃŪ¤ËÁàºî¤¹¤ë¤Ë¤Ï¡©</A>
</H2>

<P>Lilo ¤Î¥×¥í¥ó¥×¥È¤¬¸½¤ì¤¿¤È¤­¤Ë &lt;Tab&gt; ¥­¡¼¤ò²¡¤¹¤³¤È¤Ë¤è¤Ã¤Æ¡¢
ÁªÂò²Äǽ¤Ê¥ê¥¹¥È¤òɽ¼¨¤·¤Þ¤¹¡£Lilo ¤¬ÂÐÏÃŪ(interactive)¤ËÁàºî¤Ç¤­¤ë¤è¤¦¤Ë
ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢``LILO'' ¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¤ë¤Þ¤Ç &lt;Alt&gt;
¤« &lt;Shift&gt; ¤ò²¡¤·Â³¤±¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>Linux ¥«¡¼¥Í¥ë¤Î¥Ö¡¼¥È¤òÁªÂò¤·¤¿¾ì¹ç¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤òÁªÂò¤·¤¿
¥·¥¹¥Æ¥à¤Î̾Á°¤Î¸å¤í¤ËÄɲ乤뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£¥«¡¼¥Í¥ë¤Ë¤Ï¿¤¯¤Î
¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤¹¤Ù¤Æ¤Î°ú¿ô¤Ï Paul Gortmaker ¤Î
``BootPrompt-HOWTO'' ¡ÊÌõÃí¡§ÆüËܸìÌõ¤ÏËÙ¹¾À¿°ì»á¤Ç¤¹¡£
http://www.linux.or.jp/JF ¤«¤éÆþ¼ê¤Ç¤­¤Þ¤¹¡Ë¤Ëµ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¤«¤é
¤½¤ì¤é¤ò¤³¤³¤Çµ­½Ò¤·¤è¤¦¤È¤Ï¤·¤Þ¤»¤ó¤¬¡¢
¤¤¤¯¤Ä¤«¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¿ô¤ÏÈó¾ï¤Ë½ÅÍפʤ¿¤á¡¢
¤³¤³¤ÇÀâÌÀ¤¹¤ë²ÁÃͤ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£
<UL>
<LI><CODE>root=</CODE> <CODE>lilo.conf</CODE> ¤ËÀßÄꤵ¤ì¤¿¤â¤Î¤È¤ÏÊ̤Υѡ¼¥Æ¥£¥·¥ç¥ó¤ò 
root (¥Ñ¡¼¥Æ¥£¥·¥ç¥ó) ¤È¤·¤Æ¥Þ¥¦¥ó¥È¤¹¤ë¤³¤È¤ò¥«¡¼¥Í¥ë¤Ë»Ø¼¨¤·¤Þ¤¹¡£
Î㤨¤Ð»ä¤Î¥·¥¹¥Æ¥à¤ÏºÇ¾®¸Â¤Îʪ¤Î¤ß¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾®¤µ¤Ê Linux
¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¤«¤é¡¢¥ß¥¹¤Ë¤è¤Ã¤Æ¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò
¾Ã¤·¤Æ¤·¤Þ¤Ã¤¿¸å¤Ç¤â¥·¥¹¥Æ¥à¤ò¥Ö¡¼¥È¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
</LI>
<LI><CODE>init=</CODE> ¥Ð¡¼¥¸¥ç¥ó 1.3.43 °Ê¹ß¤ÎLinux ¥«¡¼¥Í¥ë¤Ï¡¢
<CODE>/sbin/init</CODE> ¤ÎÂå¤ï¤ê¤Ë¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿Ê̤Υ³¥Þ¥ó¥É¤ò¼Â
¹Ô¤Ç¤­¤Þ¤¹¡£¥Ö¡¼¥ÈÃæ¤Ë²¿¤«ÌäÂê¤Îµ¯¤³¤Ã¤¿¾ì¹ç¡¢<CODE>init=/bin/sh</CODE> ¤ò»Ø
Äꤹ¤ë¤³¤È¤Ë¤è¤Ã¤ÆÍç¤Î (bare) ¥·¥¹¥Æ¥à¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¥·¥§
¥ë¥×¥í¥ó¥×¥È¤¬É½¼¨¤µ¤ì¤¿¤é¡¢¤Þ¤º¥Ç¥£¥¹¥¯¤ò¥Þ¥¦¥ó¥È¤¹¤ëɬÍפ¬¤¢¤ë¤Ç¤·¤ç¤¦¡£
``<CODE>mount -w -n -o remount /; mount -a</CODE>'' ¤ò»î¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£¤Þ
¤¿¡¢¥³¥ó¥Ô¥å¡¼¥¿¡¼¤ÎÅŸ»¤òÀÚ¤ëÁ°¤Ë¤Ï ``<CODE>umount -a</CODE>'' ¤ò˺¤ì¤º¤Ë¼Â
¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£
</LI>
<LI>¿ô»ú ¥«¡¼¥Í¥ë¤Î¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¿ô»ú¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢
<EM>init</EM> ¤Ë¤É¤Î ¥é¥ó¡¦¥ì¥Ù¥ë ¤Ç¼Â¹Ô¤¹¤ë¤Î¤«¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹
¡Ê¥Ç¥Õ¥©¥ë¥È¤ÏÄ̾ï 3 ¤â¤·¤¯¤Ï 2 ¤Ç¡¢¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ë¤è¤ê¤Þ¤¹¡Ë¡£
¾Ü¤·¤¯ÃΤꤿ¤¤¤È¤­¤Ï¡¢<EM>init</EM>, <CODE>/etc/inittab</CODE> ¤ä 
<CODE>/etc/rc*.d</CODE> ¤Î¥É¥­¥å¥á¥ó¥È¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
</LI>
</UL>
<P>
<H2><A NAME="ss2.4">2.4 Lilo ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Ë¤Ï¡©</A>
</H2>

<P>Lilo ¤¬¥Ö¡¼¥È¥»¥¯¥¿¤ò¾å½ñ¤­¤¹¤ëºÝ¤Ë¤Ï¡¢<CODE>/boot/boot.</CODE><EM>xxyy</EM> ¤È
¤·¤Æ¥Ð¥Ã¥¯¥¢¥Ã¥×¤òºîÀ®¤·¤Þ¤¹¡£<EM>xxyy</EM> ¤Ï¥Ç¥Ð¥¤¥¹¤Î¥á¥¸¥ã¡¼¡¿¥Þ¥¤¥Ê¡¼ÈÖ
¹æ¤ò 16 ¿Ê¿ô¤Çɽ¤·¤¿¤â¤Î¤Ç¤¹¡£¥Ç¥£¥¹¥¯¡¿¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Î¥á¥¸¥ã¡¼¡¿¥Þ¥¤¥Ê¡¼
ÈÖ¹æ¤Ï ``<CODE>ls -l /dev/</CODE><EM>device</EM>'' ¤ò¼Â¹Ô¤¹¤ë¤³¤È¤Ç¸«¤é¤ì¤Þ¤¹¡£
Î㤨¤Ð¡¢<CODE>/dev/hda</CODE> (¥á¥¸¥ã¡¼ 3 ÈÖ¡¢¥Þ¥¤¥Ê¡¼ 0 ÈÖ)¤ÎºÇ½é¤Î¥»¥¯¥¿¤Ï 
<CODE>/boot/boot.0300</CODE> ¤ËÊݸ¤µ¤ì¼¦<CODE>/dev/fd0</CODE> ¤Î¾ì¹ç¤Ï 
<CODE>/boot/boot.0200</CODE>¡¢<CODE>/dev/sdb3</CODE> (¥á¥¸¥ã¡¼ 8 ÈÖ¡¢¥Þ¥¤¥Ê¡¼ 19
ÈÖ¡Ë ¤Ï <CODE>/boot/boot.0813</CODE> ¤òºîÀ®¤·¤Þ¤¹¡£¡ÊÌõÃí¡§ 16 ¿Ê¿ô¤Ç¤¹¤«¤é¡¢
10 ¿Ê¿ô¤Î 19 ¤Ï 16 ¿Ê¿ô¤Î 13 ¤Ë¤Ê¤ê¤Þ¤¹¡Ë
<P>¤¹¤Ç¤Ë¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤·¤Æ¤¤¤¿¾ì¹ç Lilo ¤Ï¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤è¤¦¤È¤Ï¤·¤Þ¤»¤ó¡£
¤Ç¤¹¤«¤é Lilo ¤òºÆ¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëºÝ¤Ë(Î㤨¤Ð¥«¡¼¥Í¥ë¤ÎºÆ¥³¥ó¥Ñ¥¤¥ë¸å)¡¢
¥Õ¥¡¥¤¥ë¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤ò¼è¤ë¤³¤È¤òµ¤¤Ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
<CODE>/boot/</CODE> ¤Ë¸ºß¤¹¤ë¥Ö¡¼¥È¥»¥¯¥¿¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¥Õ¥¡¥¤¥ë¤Ï¡¢¾ï¤Ë 
Lilo ¤Î¥¤¥ó¥¹¥È¡¼¥ëÁ°¤Î¥¹¥Ê¥Ã¥×¥·¥ç¥Ã¥È¤Ç¤¹¡£
<P>
<P>
<P>Lilo ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëɬÍפ¬¤¢¤ë¾ì¹ç(Î㤨¤ÐÉÔ¹¬¤Ë¤â Linux ¤ò¥¢¥ó¥¤
¥ó¥¹¥È¡¼¥ë¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤»þ)¡¢É¬Íפʺî¶È¤Ïñ¤Ë¥ª¥ê¥¸¥Ê¥ë¤Î¥Ö¡¼¥È¥»¥¯
¥¿¡¼¤ò¥ê¥¹¥È¥¢¤¹¤ë¤³¤È¤À¤±¤Ç¤¹¡£Lilo ¤¬ <CODE>/dev/hda</CODE> ¤Ë¥¤¥ó¥¹¥È¡¼¥ë
¤µ¤ì¤Æ¤¤¤ë¤Ê¤éñ¤Ë``<CODE>dd if=/boot/boot.0300 of=/dev/hda bs=446
count=1</CODE>'' ¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¤¹¡£
<P>(»ä¼«¿È¤Ï ``<CODE>cat /boot/boot.0300 > /dev/hda</CODE>'' ¤ò¼Â¹Ô¤¹¤ë¤À¤±¤Ç¤¹
¤¬¡¢¤³¤ì¤Ï°ÂÁ´¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£¥ª¥ê¥¸¥Ê¥ë¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤ò¡Ê¤½¤Î
¸å¤ËÊѹ¹¤·¤¿¤«¤â¤·¤ì¤Ê¤¤¤Î¤Ë¡Ë¥ê¥¹¥È¥¢¤·¤Æ¤·¤Þ¤¦¤«¤é¤Ç¤¹¡Ë
<P>¤³¤Î¥³¥Þ¥ó¥É¤Ï DOS ¤Î¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤«¤é``<CODE>fdisk /mbr</CODE>''¤ò¼Â¹Ô
¤¹¤ë¤³¤È¤è¤ê¤â´Êñ¤Ç¤¹¤³¤ÎÁàºî¤Ë¤è¤Ã¤Æ¡¢Linux °Ê³°¤Î OS ¤ò¤Þ¤Ã¤¿¤¯»È¤ï¤º
¤Ë (µ¯Æ°¤µ¤¨¤¹¤ë¤³¤È¤Ê¤¯) ¥Ç¥£¥¹¥¯¤«¤é Linux ¤ò¤­¤ì¤¤¤µ¤Ã¤Ñ¤ê¾Ã¤·¤Æ¤·¤Þ
¤¦¤³¤È¤¬¤Ç¤­¤Þ¤¹Lilo ¤ò¼è¤ê½ü¤¤¤¿¤¢¤È¤Ë Linux ¤Î <EM>fdisk</EM> ¤ò¼Â¹Ô¤·
¤Æ¡¢¤¹¤Ù¤Æ¤Î Linux ¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤òºï½ü¤¹¤ë¤³¤È¤ò˺¤ì¤Ê¤¤¤Ç¤¯¤À¤µ¤¤(DOS 
¤Î <EM>fdisk</EM> ¤Ï DOS °Ê³°¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¾Ã¤¹¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó) ¡£
<P>
<P>Lilo ¤ò¡ÊÌõÃí¡§MBR ¤Ë¤Ç¤Ï¤Ê¤¯¡Ë¥ë¡¼¥È¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¤
¤¿¾ì¹ç(Î㤨¤Ð <CODE>/dev/hda2</CODE>)¤Ï¡¢Lilo ¤ò¥¢¥ó¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤Ëɬ
Íפʤ³¤È¤ÏÆäˤ¢¤ê¤Þ¤»¤ó¡£Ã±¤Ë Linux ¤Î <EM>fdisk</EM> ¤ò¼Â¹Ô¤·¡¢Linux 
¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤ò¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¥Æ¡¼¥Ö¥ë¤«¤é¼è¤ê½ü¤¯¤À¤±¤Ç¤¹¡£¤Þ¤¿ DOS ¥Ñ¡¼
¥Æ¥£¥·¥ç¥ó¤ò¥Ö¡¼¥È²Äǽ(bootable)¤Ë¤¹¤ëɬÍפ⤢¤ë¤Ç¤·¤ç¤¦¡£
<P>
<HR>
<A HREF="LILO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="LILO.html#toc2">Ìܼ¡¤Ø</A>
</BODY>
</HTML>