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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5bc27c8 was 1ebba95, checked in by Jim Gifford <clfs@…>, 16 years ago

Grub Update - Thank you Zackcd ..

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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='n1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../../final-system/x86/grub.xml"
31 xpointer="xpointer(//*[@os='p1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../../final-system/x86/grub.xml"
35 xpointer="xpointer(//*[@os='p2'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/x86/grub.xml"
39 xpointer="xpointer(//*[@os='p3'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../../final-system/x86/grub.xml"
43 xpointer="xpointer(//*[@os='p4'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../../final-system/x86/grub.xml"
47 xpointer="xpointer(//*[@os='p5'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../../final-system/x86/grub.xml"
51 xpointer="xpointer(//*[@os='p6'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../../final-system/x86/grub.xml"
55 xpointer="xpointer(//*[@os='p7'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../../final-system/x86/grub.xml"
59 xpointer="xpointer(//*[@os='p8'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../../final-system/x86/grub.xml"
63 xpointer="xpointer(//*[@os='a'])"/>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../../final-system/x86/grub.xml"
67 xpointer="xpointer(//*[@os='b'])"/>
68
69<screen os="aa"><userinput>./configure --prefix=/usr \
70 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../../final-system/x86/grub.xml"
74 xpointer="xpointer(//*[@os='c'])"/>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../../final-system/x86/grub.xml"
78 xpointer="xpointer(//*[@os='d'])"/>
79
80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
81 href="../../final-system/x86/grub.xml"
82 xpointer="xpointer(//*[@os='f'])"/>
83
84<screen os="ab"><userinput>make DESTDIR=${CLFS} install
85mkdir -v ${CLFS}/boot/grub
86cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
87
88 <para os="ac">The directory in
89 <filename class="directory">${CLFS}/usr/lib/grub</filename> (its name
90 depends on your arch) contains a number of <filename>*stage1_5</filename>
91 files, different ones for different file systems. Review the files
92 available and copy the appropriate ones to the <filename
93 class="directory">${CLFS}/boot/grub</filename> directory. Most users will
94 copy the <filename>e2fs_stage1_5</filename> and/or
95 <filename>reiserfs_stage1_5</filename> files.</para>
96
97 </sect2>
98
99 <sect2 role="content">
100 <title/>
101
102 <para>Details on this package are located in <xref
103 linkend="contents-grub" role="."/></para>
104
105 </sect2>
106
107</sect1>
Note: See TracBrowser for help on using the repository browser.