source: BOOK/boot/x86/kernel.xml@ cad2ff2

clfs-2.1
Last change on this file since cad2ff2 was 1d9abb9, checked in by William Harrington <kb0iic@…>, 11 years ago

Fix xml for firmware installation description in the boot method.

  • Property mode set to 100644
File size: 4.4 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-kernel" role="wrap">
9 <?dbhtml filename="kernel.html"?>
10
[055aa17]11 <title>Linux-&linux-version;</title>
[3f8be484]12
13 <indexterm zone="ch-boot-kernel">
14 <primary sortas="a-Linux">Linux</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[93adf44a]19 href="../../bootable/x86/kernel.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of the kernel</title>
24
25 <warning os="aa">
[6bb43b3]26 <para>Here a temporary cross-compiled kernel will be built. When
[6d4c909]27 configuring it, select the minimal amount of options required to
28 boot the target machine and build the final system. I.e., no support
[3f8be484]29 for sound, printers, etc. will be needed.</para>
30
31 <para>Also, try to avoid the use of modules if possible, and don't
32 use the resulting kernel image for production systems.</para>
33 </warning>
34
[dabbced]35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]36 href="../../bootable/x86/kernel.xml"
37 xpointer="xpointer(//*[@os='a'])"/>
38
[dabbced]39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]40 href="../../bootable/x86/kernel.xml"
41 xpointer="xpointer(//*[@os='b'])"/>
42
[dabbced]43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]44 href="../../bootable/x86/kernel.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
[dabbced]47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]48 href="../../bootable/x86/kernel.xml"
49 xpointer="xpointer(//*[@os='d'])"/>
50
51 <para os="ae">Configure the kernel via a menu-driven interface:</para>
52
[07114c98]53<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
[3f8be484]54
[dabbced]55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]56 href="../../bootable/x86/kernel.xml"
57 xpointer="xpointer(//*[@os='m'])"/>
58
[07114c98]59<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
[3f8be484]60
61 <para os="af">If the use of kernel modules can't be avoided, an
[91ad4a4]62 <filename>/etc/modprobe.conf</filename> file may be needed.
[3f8be484]63 Information pertaining to modules and kernel configuration is
64 located in the kernel documentation in the <filename
65 class="directory">Documentation</filename> directory of the kernel
66 sources tree. The <filename>modprobe.conf</filename> man page may also
67 be of interest.</para>
68
[dabbced]69 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]70 href="../../bootable/x86/kernel.xml"
71 xpointer="xpointer(//*[@os='p'])"/>
72
[dabbced]73 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]74 href="../../bootable/x86/kernel.xml"
75 xpointer="xpointer(//*[@os='q'])"/>
76
[dabbced]77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]78 href="../../bootable/x86/kernel.xml"
79 xpointer="xpointer(//*[@os='s'])"/>
80
[07114c98]81<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
[3f76cac]82 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
[3f8be484]83
[e43babc]84 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[1d9abb9]85 href="../../bootable/x86/kernel.xml"
[e43babc]86 xpointer="xpointer(//*[@os='s2'])"/>
87
88<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
89 INSTALL_FW_PATH=${CLFS}/lib/firmware firmware_install</userinput></screen>
90
[1322a63]91 <para os="u">After kernel compilation is complete, additional steps are
92 required to complete the installation. Some files need to be copied to
[3f76cac]93 the <filename class="directory">${CLFS}/boot</filename> directory.</para>
[3f8be484]94
[dabbced]95 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]96 href="../../bootable/x86/kernel.xml"
97 xpointer="xpointer(//*[@os='v'])"/>
98
[4e60ea5]99<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/vmlinuz-clfs-&linux-version;</userinput></screen>
[3f8be484]100
[dabbced]101 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[83ff67c]102 href="../../bootable/x86/kernel.xml"
103 xpointer="xpointer(//*[@os='w'])"/>
104
[3f76cac]105<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
[83ff67c]106
[dabbced]107 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]108 href="../../bootable/x86/kernel.xml"
109 xpointer="xpointer(//*[@os='x'])"/>
110
[3f76cac]111<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
[3f8be484]112
113 </sect2>
114
115 <sect2 role="content">
116 <title/>
117
118 <para>Details on this package are located in <xref
119 linkend="contents-kernel" role="."/></para>
120
121 </sect2>
122
123</sect1>
Note: See TracBrowser for help on using the repository browser.