Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-alpha-bootloader.xml hb-install-alpha-kernel.xml hb-install-ia64-kernel.xml hb-install-sparc-bootloader.xml hb-install-sparc-kernel.xml hb-install-x86+amd64-bootloader.xml hb-install-x86+amd64-kernel.xml
Date: Wed, 12 Sep 2012 00:03:55
Message-Id: 20120911224921.5D8A921600@flycatcher.gentoo.org
1 nightmorph 12/09/11 22:49:21
2
3 Modified: hb-install-alpha-bootloader.xml
4 hb-install-alpha-kernel.xml
5 hb-install-ia64-kernel.xml
6 hb-install-sparc-bootloader.xml
7 hb-install-sparc-kernel.xml
8 hb-install-x86+amd64-bootloader.xml
9 hb-install-x86+amd64-kernel.xml
10 Log:
11 update handbooks for initramfs changes needed for separate /usr and other partitions. bug #415175, bug #434550, bug #434554, bug #434732
12
13 Revision Changes Path
14 1.25 xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml?rev=1.25&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml?rev=1.25&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml?r1=1.24&r2=1.25
19
20 Index: hb-install-alpha-bootloader.xml
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v
23 retrieving revision 1.24
24 retrieving revision 1.25
25 diff -u -r1.24 -r1.25
26 --- hb-install-alpha-bootloader.xml 9 May 2011 19:47:22 -0000 1.24
27 +++ hb-install-alpha-bootloader.xml 11 Sep 2012 22:49:20 -0000 1.25
28 @@ -4,12 +4,12 @@
29 <!-- The content of this document is licensed under the CC-BY-SA license -->
30 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
31
32 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.24 2011/05/09 19:47:22 nightmorph Exp $ -->
33 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-bootloader.xml,v 1.25 2012/09/11 22:49:20 nightmorph Exp $ -->
34
35 <sections>
36
37 -<version>11</version>
38 -<date>2011-05-09</date>
39 +<version>12</version>
40 +<date>2012-09-11</date>
41
42 <section>
43 <title>Making your Choice</title>
44 @@ -72,14 +72,31 @@
45 </note>
46
47 <p>
48 -Additionally, you can make Gentoo boot automatically by setting up the
49 -aboot configuration file and some SRM variables. You can try setting
50 -these variables from Linux, but it may be easier to do so from the SRM
51 -console itself.
52 +Although <c>aboot</c> is now installed, we still need to write a configuration
53 +file for it. Aboot only requires one line for each configuration, so we
54 +can do this:
55 </p>
56
57 -<pre caption="Automatically booting Gentoo">
58 +<pre caption="Creating /etc/aboot.conf">
59 # <i>echo '0:2/boot/vmlinux.gz root=/dev/sda2' &gt; /etc/aboot.conf</i>
60 +
61 +<comment>
62 +If, while building the Linux kernel, you opted to include an initramfs to boot
63 +from, then you will need to change the configuration by referring to this
64 +initramfs file and telling the initramfs where your real root device is at:
65 +</comment>
66 +
67 +# <i>echo '0:2/boot/vmlinux.gz initrd=/boot/<keyval id="genkernel-initrd"/> real_root=/dev/sda2' &gt; /etc/aboot.conf</i>
68 +</pre>
69 +
70 +
71 +<p>
72 +Additionally, you can make Gentoo boot automatically by setting up some SRM
73 +variables. You can try setting these variables from Linux, but it may be easier
74 +to do so from the SRM console itself.
75 +</p>
76 +
77 +<pre caption="Automatically booting Gentoo">
78 # <i>cd /proc/srm_environment/named_variables</i>
79 # <i>echo -n 0 &gt; boot_osflags</i>
80 # <i>echo -n '' &gt; boot_file</i>
81
82
83
84 1.51 xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml?rev=1.51&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml?rev=1.51&content-type=text/plain
88 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml?r1=1.50&r2=1.51
89
90 Index: hb-install-alpha-kernel.xml
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v
93 retrieving revision 1.50
94 retrieving revision 1.51
95 diff -u -r1.50 -r1.51
96 --- hb-install-alpha-kernel.xml 27 Mar 2012 17:46:07 -0000 1.50
97 +++ hb-install-alpha-kernel.xml 11 Sep 2012 22:49:20 -0000 1.51
98 @@ -4,12 +4,12 @@
99 <!-- The content of this document is licensed under the CC-BY-SA license -->
100 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
101
102 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.50 2012/03/27 17:46:07 swift Exp $ -->
103 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-kernel.xml,v 1.51 2012/09/11 22:49:20 nightmorph Exp $ -->
104
105 <sections>
106
107 -<version>13</version>
108 -<date>2012-03-27</date>
109 +<version>14</version>
110 +<date>2012-09-11</date>
111
112 <section>
113 <title>Timezone</title>
114 @@ -266,12 +266,12 @@
115 # <i>cp arch/alpha/boot/vmlinux.gz /boot/</i>
116 </pre>
117
118 -<p>
119 -Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
120 -</p>
121 -
122 </body>
123 </subsection>
124 +<subsection>
125 +<include href="hb-install-initramfs.xml"/>
126 +</subsection>
127 +
128 </section>
129 <section id="genkernel">
130 <title>Alternative: Using genkernel</title>
131
132
133
134 1.27 xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml
135
136 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml?rev=1.27&view=markup
137 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml?rev=1.27&content-type=text/plain
138 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml?r1=1.26&r2=1.27
139
140 Index: hb-install-ia64-kernel.xml
141 ===================================================================
142 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml,v
143 retrieving revision 1.26
144 retrieving revision 1.27
145 diff -u -r1.26 -r1.27
146 --- hb-install-ia64-kernel.xml 27 Mar 2012 17:46:07 -0000 1.26
147 +++ hb-install-ia64-kernel.xml 11 Sep 2012 22:49:20 -0000 1.27
148 @@ -4,12 +4,12 @@
149 <!-- The content of this document is licensed under the CC-BY-SA license -->
150 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
151
152 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml,v 1.26 2012/03/27 17:46:07 swift Exp $ -->
153 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-kernel.xml,v 1.27 2012/09/11 22:49:20 nightmorph Exp $ -->
154
155 <sections>
156
157 -<version>16</version>
158 -<date>2012-03-27</date>
159 +<version>17</version>
160 +<date>2012-09-11</date>
161
162 <section>
163 <title>Timezone</title>
164 @@ -255,15 +255,67 @@
165 </pre>
166
167 <p>
168 -When the kernel has finished compiling, copy the kernel image to
169 -<path>/boot</path>. Use whatever name you feel is appropriate for your kernel
170 -choice and remember it as you will need it later on when you configure your
171 -bootloader. Remember to replace <c><keyval id="kernel-name"/></c> with the
172 -name and version of your kernel.
173 +When the kernel has finished compiling, copy the kernel image to <path>/</path>.
174 +Use whatever name you feel is appropriate for your kernel choice and remember it
175 +as you will need it later on when you configure your bootloader. Remember to
176 +replace <c>vmlinuz</c> with the name and version of your kernel.
177 </p>
178
179 <pre caption="Installing the kernel">
180 -# <i>cp vmlinux.gz /boot/<keyval id="kernel-name"/></i>
181 +# <i>cp vmlinux.gz /boot/vmlinuz</i>
182 +</pre>
183 +
184 +</body>
185 +</subsection>
186 +<subsection id="initramfs">
187 +<title>(Optional) Building an Initramfs</title>
188 +<body>
189 +
190 +<p>
191 +If you use a specific partition layout where important file system locations
192 +(like <path>/usr</path> or <path>/var</path>) are on separate partitions, then
193 +you will need to setup an initramfs so that this partition can be mounted before
194 +it is needed.
195 +</p>
196 +
197 +<p>
198 +Without an initramfs, you risk that the system will not boot up properly as the
199 +tools that are responsible for mounting the file systems need information that
200 +resides on those file systems. An initramfs will pull in the necessary files
201 +into an archive which is used right after the kernel boots, but before the
202 +control is handed over to the <c>init</c> tool. Scripts on the initramfs will
203 +then make sure that the partitions are properly mounted before the system
204 +continues booting.
205 +</p>
206 +
207 +<p>
208 +To install an initramfs, install <c>genkernel</c> first, then have it
209 +generate an initramfs for you.
210 +</p>
211 +
212 +<pre caption="Building an initramfs">
213 +# <i>emerge genkernel</i>
214 +# <i>genkernel --bootdir=/. --no-mountboot --install initramfs</i>
215 +</pre>
216 +
217 +<p>
218 +If you need specific support in the initramfs, such as lvm or raid, add in the
219 +appropriate options to genkernel. See <c>genkernel --help</c> for more
220 +information, or the next example which enables support for LVM and software raid
221 +(mdadm):
222 +</p>
223 +
224 +<pre caption="Building an initramfs with support for LVM and software raid">
225 +# <i>genkernel --bootdir=/. --no-mountboot --lvm --mdadm --install initramfs</i>
226 +</pre>
227 +
228 +<p>
229 +The initramfs will be stored in <path>/</path>. You can find the file by simply
230 +listing the files starting with <path>initramfs</path>:
231 +</p>
232 +
233 +<pre caption="Checking the initramfs file name">
234 +# <i>ls /initramfs*</i>
235 </pre>
236
237 <p>
238 @@ -302,7 +354,7 @@
239 </pre>
240
241 <p>
242 -Now, compile your kernel sources by running <c>genkernel all</c>. Be aware
243 +Now, compile your kernel sources by running <c>genkernel</c>. Be aware
244 though, as <c>genkernel</c> compiles a kernel that supports almost all hardware,
245 this compilation will take quite a while to finish!
246 </p>
247 @@ -313,7 +365,7 @@
248 </note>
249
250 <pre caption="Running genkernel">
251 -# <i>genkernel all</i>
252 +# <i>genkernel --bootdir=/. --no-mountboot all</i>
253 </pre>
254
255 <p>
256 @@ -327,7 +379,7 @@
257 </p>
258
259 <pre caption="Checking the created kernel image name and initrd">
260 -# <i>ls /boot/kernel* /boot/initramfs*</i>
261 +# <i>ls /kernel* /initramfs*</i>
262 </pre>
263
264 </body>
265
266
267
268 1.25 xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml
269
270 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml?rev=1.25&view=markup
271 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml?rev=1.25&content-type=text/plain
272 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml?r1=1.24&r2=1.25
273
274 Index: hb-install-sparc-bootloader.xml
275 ===================================================================
276 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v
277 retrieving revision 1.24
278 retrieving revision 1.25
279 diff -u -r1.24 -r1.25
280 --- hb-install-sparc-bootloader.xml 9 May 2011 19:47:22 -0000 1.24
281 +++ hb-install-sparc-bootloader.xml 11 Sep 2012 22:49:20 -0000 1.25
282 @@ -4,12 +4,12 @@
283 <!-- The content of this document is licensed under the CC-BY-SA license -->
284 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
285
286 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.24 2011/05/09 19:47:22 nightmorph Exp $ -->
287 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-bootloader.xml,v 1.25 2012/09/11 22:49:20 nightmorph Exp $ -->
288
289 <sections>
290
291 -<version>5</version>
292 -<date>2011-05-09</date>
293 +<version>6</version>
294 +<date>2012-09-11</date>
295
296 <section>
297 <title>Making your Choice</title>
298 @@ -52,8 +52,9 @@
299
300 <p>
301 Below you'll find an example <path>silo.conf</path> file. It uses the
302 -partitioning scheme we use throughout this book and
303 -<path>kernel-<keyval id="kernel-version"/></path> as kernelimage.
304 +partitioning scheme we use throughout this book, <path>kernel-<keyval
305 +id="kernel-version"/></path> as kernelimage and <path><keyval
306 +id="genkernel-initrd"/></path> as initramfs.
307 </p>
308
309 <pre caption="Example /etc/silo.conf">
310 @@ -63,6 +64,7 @@
311
312 image = /boot/<keyval id="kernel-name"/>
313 label = linux
314 + append = "initrd=/boot/<keyval id="genkernel-initrd"/> real_root=/dev/sda1"
315 </pre>
316
317 <p>
318
319
320
321 1.44 xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml
322
323 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.44&view=markup
324 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?rev=1.44&content-type=text/plain
325 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml?r1=1.43&r2=1.44
326
327 Index: hb-install-sparc-kernel.xml
328 ===================================================================
329 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v
330 retrieving revision 1.43
331 retrieving revision 1.44
332 diff -u -r1.43 -r1.44
333 --- hb-install-sparc-kernel.xml 27 Mar 2012 17:46:07 -0000 1.43
334 +++ hb-install-sparc-kernel.xml 11 Sep 2012 22:49:21 -0000 1.44
335 @@ -4,12 +4,12 @@
336 <!-- The content of this document is licensed under the CC-BY-SA license -->
337 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
338
339 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.43 2012/03/27 17:46:07 swift Exp $ -->
340 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-kernel.xml,v 1.44 2012/09/11 22:49:21 nightmorph Exp $ -->
341
342 <sections>
343
344 -<version>13</version>
345 -<date>2012-03-27</date>
346 +<version>14</version>
347 +<date>2012-09-11</date>
348
349 <section>
350 <title>Timezone</title>
351 @@ -298,12 +298,12 @@
352 # <i>cp arch/sparc/boot/image /boot/<keyval id="kernel-name"/></i>
353 </pre>
354
355 -<p>
356 -Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
357 -</p>
358 -
359 </body>
360 </subsection>
361 +<subsection>
362 +<include href="hb-install-initramfs.xml"/>
363 +</subsection>
364 +
365 </section>
366 <section id="kernel_modules">
367 <title>Kernel Modules</title>
368
369
370
371 1.28 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml
372
373 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.28&view=markup
374 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?rev=1.28&content-type=text/plain
375 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml?r1=1.27&r2=1.28
376
377 Index: hb-install-x86+amd64-bootloader.xml
378 ===================================================================
379 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v
380 retrieving revision 1.27
381 retrieving revision 1.28
382 diff -u -r1.27 -r1.28
383 --- hb-install-x86+amd64-bootloader.xml 5 Aug 2012 01:21:49 -0000 1.27
384 +++ hb-install-x86+amd64-bootloader.xml 11 Sep 2012 22:49:21 -0000 1.28
385 @@ -4,12 +4,12 @@
386 <!-- The content of this document is licensed under the CC-BY-SA license -->
387 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
388
389 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.27 2012/08/05 01:21:49 nightmorph Exp $ -->
390 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-bootloader.xml,v 1.28 2012/09/11 22:49:21 nightmorph Exp $ -->
391
392 <sections>
393
394 -<version>11</version>
395 -<date>2012-08-04</date>
396 +<version>12</version>
397 +<date>2012-09-11</date>
398
399 <section>
400 <title>Making your Choice</title>
401 @@ -621,6 +621,20 @@
402 </p>
403
404 <p>
405 +If, while building the Linux kernel, you opted to include an initramfs to boot
406 +from, then you will need to change the configuration by referring to this
407 +initramfs file and telling the initramfs where your real root device is at:
408 +</p>
409 +
410 +<pre caption="ELILO snippet for initramfs-enabled kernel-builds">
411 +image=/vmlinuz
412 + label=Gentoo
413 + <i>initrd=/<keyval id="genkernel-initrd"/></i>
414 + <i>append = "initrd=<keyval id="genkernel-initrd"/> real_root=/dev/sda2 console=ttyS0,9600"</i>
415 + read-only
416 +</pre>
417 +
418 +<p>
419 When configuration is done, just run <c>elilo --efiboot</c>. The
420 <c>--efiboot</c> option adds a menu entry for Gentoo Linux to the EFI Boot
421 Manager.
422
423
424
425 1.48 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml
426
427 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.48&view=markup
428 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.48&content-type=text/plain
429 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?r1=1.47&r2=1.48
430
431 Index: hb-install-x86+amd64-kernel.xml
432 ===================================================================
433 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v
434 retrieving revision 1.47
435 retrieving revision 1.48
436 diff -u -r1.47 -r1.48
437 --- hb-install-x86+amd64-kernel.xml 12 Apr 2012 15:53:31 -0000 1.47
438 +++ hb-install-x86+amd64-kernel.xml 11 Sep 2012 22:49:21 -0000 1.48
439 @@ -4,7 +4,7 @@
440 <!-- The content of this document is licensed under the CC-BY-SA license -->
441 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
442
443 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.47 2012/04/12 15:53:31 swift Exp $ -->
444 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.48 2012/09/11 22:49:21 nightmorph Exp $ -->
445
446 <sections>
447
448 @@ -13,8 +13,8 @@
449 explains how to configure your kernel.
450 </abstract>
451
452 -<version>17</version>
453 -<date>2012-04-12</date>
454 +<version>18</version>
455 +<date>2012-09-11</date>
456
457 <section>
458 <title>Timezone</title>
459 @@ -356,63 +356,10 @@
460
461 </body>
462 </subsection>
463 -<subsection id="initramfs">
464 -<title>(Optional) Building an Initramfs</title>
465 -<body>
466 -
467 -<p>
468 -If you use a specific partition layout where important file system locations
469 -(like <path>/usr</path> or <path>/var</path>) are on separate partitions, then
470 -you will need to setup an initramfs so that this partition can be mounted before
471 -it is needed.
472 -</p>
473 -
474 -<p>
475 -Without an initramfs, you risk that the system will not boot up properly as the
476 -tools that are responsible for mounting the file systems need information that
477 -resides on those file systems. An initramfs will pull in the necessary files
478 -into an archive which is used right after the kernel boots, but before the
479 -control is handed over to the <c>init</c> tool. Scripts on the initramfs will
480 -then make sure that the partitions are properly mounted before the system
481 -continues booting.
482 -</p>
483 -
484 -<p>
485 -To install an initramfs, install <c>genkernel</c> first, then have it
486 -generate an initramfs for you.
487 -</p>
488 -
489 -<pre caption="Building an initramfs">
490 -# <i>emerge genkernel</i>
491 -# <i>genkernel --install initramfs</i>
492 -</pre>
493 -
494 -<p>
495 -If you need specific support in the initramfs, such as lvm or raid, add in the
496 -appropriate options to genkernel. See <c>genkernel --help</c> for more
497 -information, or the next example which enables support for LVM and software raid
498 -(mdadm):
499 -</p>
500 -
501 -<pre caption="Building an initramfs with support for LVM and software raid">
502 -# <i>genkernel --lvm --mdadm --install initramfs</i>
503 -</pre>
504 -
505 -<p>
506 -The initramfs will be stored in <path>/boot</path>. You can find the file by
507 -simply listing the files starting with <path>initramfs</path>:
508 -</p>
509 -
510 -<pre caption="Checking the initramfs file name">
511 -# <i>ls /boot/initramfs*</i>
512 -</pre>
513 -
514 -<p>
515 -Now continue with <uri link="#kernel_modules">Kernel Modules</uri>.
516 -</p>
517 -
518 -</body>
519 +<subsection>
520 +<include href="hb-install-initramfs.xml"/>
521 </subsection>
522 +
523 </section>
524 <section id="genkernel">
525 <title>Alternative: Using genkernel</title>