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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fdb7196 was 661d1a4, 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.4 KB
RevLine 
[3f8be484]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
[93adf44a]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
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
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../x86/grub-build.xml"
27 xpointer="xpointer(//*[@os='a'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../x86/grub-build.xml"
31 xpointer="xpointer(//*[@os='b'])"/>
32
[2013ad9]33<screen os="aa"><userinput>CC="${CC} ${BUILD32}" ./configure --prefix=/usr \
[32a86c1]34 --host=${LFS_TARGET}</userinput></screen>
[3f8be484]35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/grub-build.xml"
38 xpointer="xpointer(//*[@os='c'])"/>
39
40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../x86/grub-build.xml"
42 xpointer="xpointer(//*[@os='d'])"/>
43
44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
45 href="../x86/grub-build.xml"
[0f3854e]46 xpointer="xpointer(//*[@os='f'])"/>
[3f8be484]47
[2013ad9]48<screen os="ab"><userinput>make DESTDIR=${LFS} install
[661d1a4]49mkdir -v ${LFS}/boot/grub
50cp -v ${LFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
[3f8be484]51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
[6bb43b3]53 href="../../final-system/x86_64/grub.xml"
[3f8be484]54 xpointer="xpointer(//*[@os='i'])"/>
55
[2013ad9]56 <para os="j">The <filename class="directory">x86_64-pc</filename>
57 directory contains a number of <filename>*stage1_5</filename>
58 files, different ones for different file systems. Review the files
59 available and copy the appropriate ones to the <filename
60 class="directory">${LFS}/boot/grub</filename> directory. Most
61 users will copy the <filename>e2fs_stage1_5</filename> and/or
62 <filename>reiserfs_stage1_5</filename> files.</para>
[3f8be484]63
64 </sect2>
65
66 <sect2 role="content">
67 <title/>
68
69 <para>Details on this package are located in <xref
70 linkend="contents-grub" role="."/></para>
71
72 </sect2>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.