source: BOOK/final-system/x86_64/grub.xml @ e3196bd

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since e3196bd was 407772b, checked in by Jim Gifford <clfs@…>, 15 years ago

Added link to alternative bootloaders

  • Property mode set to 100644
File size: 2.6 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<sect1 id="ch-system-grub" role="wrap">
8  <?dbhtml filename="grub.html"?>
9
10  <title>GRUB-&grub-version;</title>
11
12  <indexterm zone="ch-system-grub">
13    <primary sortas="a-GRUB">GRUB</primary>
14  </indexterm>
15
16  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
17  href="../x86/grub.xml"
18  xpointer="xpointer(//*[@role='package'])"/>
19
20  <sect2 role="installation">
21    <title>Installation of GRUB</title>
22
23    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24    href="../x86/grub.xml"
25    xpointer="xpointer(//*[@os='n1'])"/>
26
27    <para os="ap3">GRUB has an issue that can cause it to segfault when you
28    try to configure a drive to utilize GRUB on x86_64 machines. The following
29    patch fixes this problem:</para>
30
31<screen os="ap4"><userinput>patch -Np1 -i ../&grub-use_mmap-patch;</userinput></screen>
32
33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34    href="../x86/grub.xml"
35    xpointer="xpointer(//*[@os='p1'])"/>
36
37    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38    href="../x86/grub.xml"
39    xpointer="xpointer(//*[@os='p2'])"/>
40
41    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42    href="../x86/grub.xml"
43    xpointer="xpointer(//*[@os='p3'])"/>
44
45    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46    href="../x86/grub.xml"
47    xpointer="xpointer(//*[@os='p4'])"/>
48
49    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50    href="../x86/grub.xml"
51    xpointer="xpointer(//*[@os='b'])"/>
52
53<screen><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
54
55    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56    href="../x86/grub.xml"
57    xpointer="xpointer(//*[@os='c'])"/>
58
59    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60    href="../x86/grub.xml"
61    xpointer="xpointer(//*[@os='d'])"/>
62
63    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64    href="../x86/grub.xml"
65    xpointer="xpointer(//*[@os='e'])"/>
66
67    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68    href="../x86/grub.xml"
69    xpointer="xpointer(//*[@os='f'])"/>
70
71    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72    href="../x86/grub.xml"
73    xpointer="xpointer(//*[@os='g'])"/>
74
75    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76    href="../x86/grub.xml"
77    xpointer="xpointer(//*[@os='h'])"/>
78
79  </sect2>
80
81  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82  href="../x86/grub.xml"
83  xpointer="xpointer(id('contents-grub'))"/>
84
85</sect1>
Note: See TracBrowser for help on using the repository browser.