source: BOOK/boot/x86_64/grub-build.xml @ 93adf44a

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 93adf44a was 93adf44a, checked in by Jim Gifford <clfs@…>, 18 years ago

r653@server (orig r651): manuel | 2005-11-08 11:36:13 -0800
Preparations to remove SBUs and DUs. Chapter boot.

  • Property mode set to 100644
File size: 2.1 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  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21  href="../../final-system/x86/grub.xml"
22  xpointer="xpointer(//*[@role='package'])"/>
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
50mkdir ${LFS}/boot/grub
51cp ${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>
Note: See TracBrowser for help on using the repository browser.