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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 466d0930 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.9 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="../../final-system/x86/grub.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../../final-system/x86/grub.xml"
52 xpointer="xpointer(//*[@os='b'])"/>
53
54<screen><userinput>./configure --prefix=${LFS}/usr \
55 --host=${LFS_TARGET}</userinput></screen>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../../final-system/x86/grub.xml"
59 xpointer="xpointer(//*[@os='c'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../../final-system/x86/grub.xml"
63 xpointer="xpointer(//*[@os='d'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../../final-system/x86/grub.xml"
67 xpointer="xpointer(//*[@os='g'])"/>
68
69<screen os="h"><userinput>make install
70mkdir ${LFS}/boot/grub
71cp ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../../final-system/x86/grub.xml"
75 xpointer="xpointer(//*[@os='i'])"/>
76
77 <para os="j">The <filename class="directory">i386-pc</filename> directory
78 contains a number of <filename>*stage1_5</filename> files, different
79 ones for different file systems. Review the files available and copy
80 the appropriate ones to the <filename
81 class="directory">${LFS}/boot/grub</filename> directory. Most users will
82 copy the <filename>e2fs_stage1_5</filename> and/or
83 <filename>reiserfs_stage1_5</filename> files.</para>
84
85 </sect2>
86
87 <sect2 role="content">
88 <title/>
89
90 <para>Details on this package are located in <xref
91 linkend="contents-grub" role="."/></para>
92
93 </sect2>
94
95</sect1>
Note: See TracBrowser for help on using the repository browser.