source: boot/x86/grub-build.xml@ 0cacc2c

Last change on this file since 0cacc2c was d1a3111, checked in by Jim Gifford <clfs@…>, 19 years ago

r3840@server (orig r1732): chris | 2006-06-05 22:54:28 -0700
Added -v switches to many more commands

  • Property mode set to 100644
File size: 2.6 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 %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
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/x86/grub.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of GRUB</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../../final-system/x86/grub.xml"
27 xpointer="xpointer(//*[@os='p1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/x86/grub.xml"
31 xpointer="xpointer(//*[@os='p2'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/x86/grub.xml"
35 xpointer="xpointer(//*[@os='a'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/x86/grub.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
41<screen os="aa"><userinput>./configure --prefix=/usr \
42 --host=${LFS_TARGET}</userinput></screen>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../../final-system/x86/grub.xml"
46 xpointer="xpointer(//*[@os='c'])"/>
47
48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
49 href="../../final-system/x86/grub.xml"
50 xpointer="xpointer(//*[@os='d'])"/>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../../final-system/x86/grub.xml"
54 xpointer="xpointer(//*[@os='f'])"/>
55
56<screen os="ab"><userinput>make DESTDIR=${LFS} install
57mkdir -v ${LFS}/boot/grub
58cp -v ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
59
60 <para os="ac">The <filename class="directory">i386-pc</filename> directory
61 contains a number of <filename>*stage1_5</filename> files, different
62 ones for different file systems. Review the files available and copy
63 the appropriate ones to the <filename
64 class="directory">${LFS}/boot/grub</filename> directory. Most users will
65 copy the <filename>e2fs_stage1_5</filename> and/or
66 <filename>reiserfs_stage1_5</filename> files.</para>
67
68 </sect2>
69
70 <sect2 role="content">
71 <title/>
72
73 <para>Details on this package are located in <xref
74 linkend="contents-grub" role="."/></para>
75
76 </sect2>
77
78</sect1>
Note: See TracBrowser for help on using the repository browser.