source: BOOK/boot/x86_64/grub-build.xml@ 97ca03f

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 97ca03f was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 2.5 KB
Line 
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
20 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/x86/grub.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/x86/grub.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of GRUB</title>
45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../x86/grub-build.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../x86/grub-build.xml"
52 xpointer="xpointer(//*[@os='b'])"/>
53
54<screen><userinput>CC="${CC} ${BUILD32}" ./configure --prefix=${LFS}/usr</userinput></screen>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../x86/grub-build.xml"
58 xpointer="xpointer(//*[@os='c'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../x86/grub-build.xml"
62 xpointer="xpointer(//*[@os='d'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../x86/grub-build.xml"
66 xpointer="xpointer(//*[@os='g'])"/>
67
68<screen os="h"><userinput>make install
69mkdir ${LFS}/boot/grub
70cp ${LFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../x86/grub-build.xml"
74 xpointer="xpointer(//*[@os='i'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../x86/grub-build.xml"
78 xpointer="xpointer(//*[@os='j'])"/>
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.