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