source: BOOK/boot/x86_64/kernel.xml @ 79ccd95

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 79ccd95 was 79ccd95, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Removed the util-linux and kernel sun disklabel patches and replaced it with a gcc patch that fixes the issue

  • Property mode set to 100644
File size: 4.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3  "http://www.oasis-open.org/docbook/xml/4.4/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    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26    href="../x86/kernel.xml"
27    xpointer="xpointer(//*[@os='aa'])"/>
28
29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30    href="../x86/kernel.xml"
31    xpointer="xpointer(//*[@os='a'])"/>
32
33    <para os="m1">To ensure that your system boots and you can properly run both
34    32 bit and 64 bit binaries, please make sure that you enable support for
35    ELF and emulations for 32bit ELF into the kernel.</para>
36
37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38    href="../x86/kernel.xml"
39    xpointer="xpointer(//*[@os='b'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42    href="../x86/kernel.xml"
43    xpointer="xpointer(//*[@os='c'])"/>
44
45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46    href="../x86/kernel.xml"
47    xpointer="xpointer(//*[@os='d'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../x86/kernel.xml"
51    xpointer="xpointer(//*[@os='ab'])"/>
52
53    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54    href="../x86/kernel.xml"
55    xpointer="xpointer(//*[@os='f'])"/>
56
57    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58    href="../x86/kernel.xml"
59    xpointer="xpointer(//*[@os='g'])"/>
60
61    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62    href="../x86/kernel.xml"
63    xpointer="xpointer(//*[@os='ae'])"/>
64
65<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
66
67    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68    href="../x86/kernel.xml"
69    xpointer="xpointer(//*[@os='m'])"/>
70
71<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
72
73    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74    href="../x86/kernel.xml"
75    xpointer="xpointer(//*[@os='af'])"/>
76
77    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78    href="../x86/kernel.xml"
79    xpointer="xpointer(//*[@os='p'])"/>
80
81    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82    href="../x86/kernel.xml"
83    xpointer="xpointer(//*[@os='q'])"/>
84
85    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86    href="../x86/kernel.xml"
87    xpointer="xpointer(//*[@os='s'])"/>
88
89<screen><userinput>make ARCH=x86_64 CROSS_COMPILE=${LFS_TARGET}- \
90   INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
91
92    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93    href="../x86/kernel.xml"
94    xpointer="xpointer(//*[@os='u'])"/>
95
96    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97    href="../x86/kernel.xml"
98    xpointer="xpointer(//*[@os='v'])"/>
99
100<screen><userinput>cp -v arch/x86_64/boot/bzImage ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
101
102    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103    href="../x86/kernel.xml"
104    xpointer="xpointer(//*[@os='w'])"/>
105
106    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107    href="../x86/kernel.xml"
108    xpointer="xpointer(//*[@os='w1'])"/>
109
110    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
111    href="../x86/kernel.xml"
112    xpointer="xpointer(//*[@os='x'])"/>
113
114    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115    href="../x86/kernel.xml"
116    xpointer="xpointer(//*[@os='x1'])"/>
117
118  </sect2>
119
120  <sect2 role="content">
121    <title/>
122
123    <para>Details on this package are located in <xref
124    linkend="contents-kernel" role="."/></para>
125
126  </sect2>
127
128</sect1>
Note: See TracBrowser for help on using the repository browser.