[3f8be484] | 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 | <!ENTITY % patches-entities SYSTEM "../../patches.ent">
|
---|
| 6 | %general-entities;
|
---|
| 7 | %patches-entities;
|
---|
| 8 | ]>
|
---|
| 9 |
|
---|
| 10 | <sect1 id="ch-boot-grub-build" role="wrap">
|
---|
| 11 | <?dbhtml filename="grub-build.html"?>
|
---|
| 12 |
|
---|
| 13 | <title>GRUB-&grub-version;</title>
|
---|
| 14 |
|
---|
| 15 | <indexterm zone="ch-boot-grub-build">
|
---|
| 16 | <primary sortas="a-GRUB">GRUB</primary>
|
---|
| 17 | <secondary>boot</secondary>
|
---|
| 18 | </indexterm>
|
---|
| 19 |
|
---|
[93adf44a] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../../final-system/x86/grub.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[3f8be484] | 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of GRUB</title>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 28 | href="../x86/grub-build.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="../x86/grub-build.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>CC="${CC} ${BUILD32}" ./configure --prefix=${LFS}/usr</userinput></screen>
|
---|
| 36 |
|
---|
| 37 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 38 | href="../x86/grub-build.xml"
|
---|
| 39 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 40 |
|
---|
| 41 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 42 | href="../x86/grub-build.xml"
|
---|
| 43 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 44 |
|
---|
| 45 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 46 | href="../x86/grub-build.xml"
|
---|
| 47 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 48 |
|
---|
| 49 | <screen os="h"><userinput>make install
|
---|
| 50 | mkdir ${LFS}/boot/grub
|
---|
| 51 | cp ${LFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 54 | href="../x86/grub-build.xml"
|
---|
| 55 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 56 |
|
---|
| 57 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 58 | href="../x86/grub-build.xml"
|
---|
| 59 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2 role="content">
|
---|
| 64 | <title/>
|
---|
| 65 |
|
---|
| 66 | <para>Details on this package are located in <xref
|
---|
| 67 | linkend="contents-grub" role="."/></para>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | </sect1>
|
---|