source: BOOK/final-system/x86_64/grub.xml@ a6853ff0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a6853ff0 was 07621da, checked in by Chris Staub <chris@…>, 18 years ago

Text updates, and addition of a clfs-wiki entity to account for the difference between the CLFS trac website and the package/patch download site

  • Property mode set to 100644
File size: 2.7 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<sect1 id="ch-system-grub" role="wrap">
8 <?dbhtml filename="grub.html"?>
9
10 <title>GRUB-&grub-version;</title>
11
12 <indexterm zone="ch-system-grub">
13 <primary sortas="a-GRUB">GRUB</primary>
14 </indexterm>
15
[7dfa1a8]16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
17 href="../x86/grub.xml"
18 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]19
20 <sect2 role="installation">
21 <title>Installation of GRUB</title>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../x86/grub.xml"
[6343e08]25 xpointer="xpointer(//*[@os='p1'])"/>
26
27 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28 href="../x86/grub.xml"
29 xpointer="xpointer(//*[@os='p2'])"/>
[3f8be484]30
[07621da]31 <para os="p3">GRUB has an issue that can cause it to segfault when you
32 try to configure a drive to utilize GRUB on x86_64 machines. The following
33 patch fixes this problem:</para>
[0cb480d7]34
35<screen os="p4"><userinput>patch -Np1 -i ../&grub-use_mmap-patch;</userinput></screen>
36
[3f8be484]37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../x86/grub.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
41<screen><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../x86/grub.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../x86/grub.xml"
49 xpointer="xpointer(//*[@os='d'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../x86/grub.xml"
53 xpointer="xpointer(//*[@os='e'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../x86/grub.xml"
57 xpointer="xpointer(//*[@os='f'])"/>
58
59<screen os="h"><userinput>make install
[94e6142]60mkdir -v /boot/grub
61cp -v /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen>
[3f8be484]62
[6bb43b3]63 <para os="i">Replace <filename class="directory">x86_64-pc</filename> with whatever
64 directory is appropriate for the hardware in use.</para>
65
66 <para os="j">The <filename class="directory">x86_64-pc</filename> directory
67 contains a number of <filename>*stage1_5</filename> files, different
68 ones for different file systems. Review the files available and copy
69 the appropriate ones to the <filename
70 class="directory">/boot/grub</filename> directory. Most users will
71 copy the <filename>e2fs_stage1_5</filename> and/or
72 <filename>reiserfs_stage1_5</filename> files.</para>
[3f8be484]73
74 </sect2>
75
76 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
77 href="../x86/grub.xml"
78 xpointer="xpointer(id('contents-grub'))"/>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.