[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 | <!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 |
|
---|
[c4b671e] | 20 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 21 | href="../../final-system/x86/grub.xml"
|
---|
| 22 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[bf8c11f] | 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="../../final-system/x86/grub.xml"
|
---|
| 29 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 30 |
|
---|
| 31 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 32 | href="../../final-system/x86/grub.xml"
|
---|
| 33 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>./configure --prefix=${LFS}/usr \
|
---|
| 36 | --host=${LFS_TARGET}</userinput></screen>
|
---|
| 37 |
|
---|
| 38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 39 | href="../../final-system/x86/grub.xml"
|
---|
| 40 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 41 |
|
---|
| 42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 43 | href="../../final-system/x86/grub.xml"
|
---|
| 44 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 45 |
|
---|
| 46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 47 | href="../../final-system/x86/grub.xml"
|
---|
| 48 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 49 |
|
---|
| 50 | <screen os="h"><userinput>make install
|
---|
| 51 | mkdir ${LFS}/boot/grub
|
---|
| 52 | cp ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
|
---|
| 53 |
|
---|
| 54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 55 | href="../../final-system/x86/grub.xml"
|
---|
| 56 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
| 57 |
|
---|
| 58 | <para os="j">The <filename class="directory">i386-pc</filename> directory
|
---|
| 59 | contains a number of <filename>*stage1_5</filename> files, different
|
---|
| 60 | ones for different file systems. Review the files available and copy
|
---|
| 61 | the appropriate ones to the <filename
|
---|
| 62 | class="directory">${LFS}/boot/grub</filename> directory. Most users will
|
---|
| 63 | copy the <filename>e2fs_stage1_5</filename> and/or
|
---|
| 64 | <filename>reiserfs_stage1_5</filename> files.</para>
|
---|
| 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2 role="content">
|
---|
| 69 | <title/>
|
---|
| 70 |
|
---|
| 71 | <para>Details on this package are located in <xref
|
---|
| 72 | linkend="contents-grub" role="."/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | </sect1>
|
---|