source: BOOK/boot/x86/grub-build.xml@ cf945fa

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since cf945fa was 271d0f03, checked in by Jonathan Norman <jonathan@…>, 13 years ago

Various fixes for boot section and updated minimum partition size to 6GB

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[93adf44a]19 href="../../final-system/x86/grub.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of GRUB</title>
24
[dabbced]25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[407772b]26 href="../../final-system/x86/grub.xml"
27 xpointer="xpointer(//*[@os='n1'])"/>
28
[271d0f03]29<note>
30 <para>Grub2 requires Flex 3.5.35 or greater which has not been installed
31 yet. If your host does not have Flex then install it now via the
32 distro's package manager.</para>
33</note>
34
[dabbced]35 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]36 href="../../final-system/x86/grub.xml"
37 xpointer="xpointer(//*[@os='a'])"/>
38
[24efabe]39<screen os="ab"><userinput>./configure --prefix=/usr \
40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[2218c5e]41 --sysconfdir=/etc --disable-werror</userinput></screen>
[3f8be484]42
[dabbced]43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]44 href="../../final-system/x86/grub.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
[dabbced]47 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]48 href="../../final-system/x86/grub.xml"
49 xpointer="xpointer(//*[@os='d'])"/>
50
[dabbced]51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]52 href="../../final-system/x86/grub.xml"
[7702d6f]53 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]54
[24efabe]55<screen os="ag"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[3f8be484]56
57 </sect2>
58
59 <sect2 role="content">
60 <title/>
61
62 <para>Details on this package are located in <xref
63 linkend="contents-grub" role="."/></para>
64
65 </sect2>
66
67</sect1>
Note: See TracBrowser for help on using the repository browser.