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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since dc9dff9 was 1da2a84, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Checked and Updated Download Locations.
Updated Tree to 1.5.2.1.
Updated Util-Linux-NG to 2.14.1.
Updated TCL to 8.5.4.
Updated E2fsprogs to 1.41.1.
Updated M4 to 1.4.11.
Updated Kbd to 1.14.
Updated Bzip2 to 1.0.5.
Updated Autoconf to 2.63.
Updated Findutils to 4.4.0.
Updated Man-Pages to 3.09.
Updated Man to 1.6f.
Updated Shadow to 4.1.2.1.
Updated IPRoute2 to 2.6.26.
Updated Libtool to 2.2.6a.
Updated Module-Init-Tools to 3.4.1.
Updated Texinfo to 4.12.
Updated Vim to 7.2.
Updated MPFR to 2.3.2.
Updated Udev to 128.
Updated Linux to 2.6.26.5.
Applied fixes to Expect to make it compatible with TCL 8.5.
Add -Duseshrplib to the perl configure command. This causes perl to build a shared libperl.
Formatting fixes on multiple pages.
Use a Common inittab across all architectures.
Updated Bootscripts to 1.2-pre1.

  • Property mode set to 100644
File size: 4.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
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
11 <title>Linux-&linux-version;</title>
12
13 <indexterm zone="ch-boot-kernel">
14 <primary sortas="a-Linux">Linux</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../bootable/x86/kernel.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of the kernel</title>
24
25 <warning os="aa">
26 <para>Here a temporary cross-compiled kernel will be built. When
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
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
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../../bootable/x86/kernel.xml"
37 xpointer="xpointer(//*[@os='a'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../../bootable/x86/kernel.xml"
41 xpointer="xpointer(//*[@os='b'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../../bootable/x86/kernel.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
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
53<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../../bootable/x86/kernel.xml"
57 xpointer="xpointer(//*[@os='m'])"/>
58
59<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}-</userinput></screen>
60
61 <para os="af">If the use of kernel modules can't be avoided, an
62 <filename>/etc/modprobe.conf</filename> file may be needed.
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
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../../bootable/x86/kernel.xml"
71 xpointer="xpointer(//*[@os='p'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../bootable/x86/kernel.xml"
75 xpointer="xpointer(//*[@os='q'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../../bootable/x86/kernel.xml"
79 xpointer="xpointer(//*[@os='s'])"/>
80
81<screen><userinput>make ARCH=i386 CROSS_COMPILE=${CLFS_TARGET}- \
82 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
83
84 <para os="u">After kernel compilation is complete, additional steps are
85 required to complete the installation. Some files need to be copied to
86 the <filename class="directory">${CLFS}/boot</filename> directory.</para>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../../bootable/x86/kernel.xml"
90 xpointer="xpointer(//*[@os='v'])"/>
91
92<screen><userinput>cp -v arch/i386/boot/bzImage ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../../bootable/x86/kernel.xml"
96 xpointer="xpointer(//*[@os='w'])"/>
97
98<screen os="w1"><userinput>cp -v System.map ${CLFS}/boot/System.map-&linux-version;</userinput></screen>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../../bootable/x86/kernel.xml"
102 xpointer="xpointer(//*[@os='x'])"/>
103
104<screen os="x1"><userinput>cp -v .config ${CLFS}/boot/config-&linux-version;</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="content">
109 <title/>
110
111 <para>Details on this package are located in <xref
112 linkend="contents-kernel" role="."/></para>
113
114 </sect2>
115
116</sect1>
Note: See TracBrowser for help on using the repository browser.