source: boot/x86_64/grub-build.xml@ 433cf2d

Last change on this file since 433cf2d was f7fb165, checked in by Chris Staub <chris@…>, 18 years ago

Reversed GRUB patch order so that both patches will be successfully applied

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[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
[bb8a2db]25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/x86_64/grub.xml"
27 xpointer="xpointer(//*[@os='p3'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/x86_64/grub.xml"
31 xpointer="xpointer(//*[@os='p4'])"/>
32
[f7fb165]33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../x86/grub-build.xml"
35 xpointer="xpointer(//*[@os='p1'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../x86/grub-build.xml"
39 xpointer="xpointer(//*[@os='p2'])"/>
40
[bf8c11f]41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../x86/grub-build.xml"
43 xpointer="xpointer(//*[@os='a'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../x86/grub-build.xml"
47 xpointer="xpointer(//*[@os='b'])"/>
48
[e334ef9]49<screen os="aa"><userinput>CC="${CC} ${BUILD32}" ./configure --prefix=/usr \
[9cb6b64]50 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
[bf8c11f]51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../x86/grub-build.xml"
54 xpointer="xpointer(//*[@os='c'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../x86/grub-build.xml"
58 xpointer="xpointer(//*[@os='d'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../x86/grub-build.xml"
[3680b28]62 xpointer="xpointer(//*[@os='f'])"/>
[bf8c11f]63
[f1fd69a]64<screen os="ab"><userinput>make DESTDIR=${CLFS} install
65mkdir -v ${CLFS}/boot/grub
66cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
[bf8c11f]67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[f32f537]69 href="../../final-system/x86_64/grub.xml"
[bf8c11f]70 xpointer="xpointer(//*[@os='i'])"/>
71
[e334ef9]72 <para os="j">The <filename class="directory">x86_64-pc</filename>
73 directory contains a number of <filename>*stage1_5</filename>
74 files, different ones for different file systems. Review the files
75 available and copy the appropriate ones to the <filename
[f1fd69a]76 class="directory">${CLFS}/boot/grub</filename> directory. Most
[e334ef9]77 users will copy the <filename>e2fs_stage1_5</filename> and/or
78 <filename>reiserfs_stage1_5</filename> files.</para>
[bf8c11f]79
80 </sect2>
81
82 <sect2 role="content">
83 <title/>
84
85 <para>Details on this package are located in <xref
86 linkend="contents-grub" role="."/></para>
87
88 </sect2>
89
90</sect1>
Note: See TracBrowser for help on using the repository browser.