source: final-system/x86_64/grub.xml@ 9e6211e

clfs-1.0.0-rc5
Last change on this file since 9e6211e was 2d9525f, checked in by Chris Staub <chris@…>, 18 years ago

Modified grub instructions to make copy commands more generic

  • Property mode set to 100644
File size: 2.6 KB
RevLine 
[bf8c11f]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
[1bb70b1]16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
17 href="../x86/grub.xml"
18 xpointer="xpointer(//*[@role='package'])"/>
[bf8c11f]19
20 <sect2 role="installation">
21 <title>Installation of GRUB</title>
22
[f7fb165]23 <para os="p3">GRUB has an issue that can cause it to segfault when you
24 try to configure a drive to utilize GRUB on x86_64 machines. The following
25 patch fixes this problem:</para>
26
27<screen os="p4"><userinput>patch -Np1 -i ../&grub-use_mmap-patch;</userinput></screen>
28
[bf8c11f]29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../x86/grub.xml"
[5b3e2377]31 xpointer="xpointer(//*[@os='p1'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../x86/grub.xml"
35 xpointer="xpointer(//*[@os='p2'])"/>
[bf8c11f]36
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
[2d9525f]59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../x86/grub.xml"
61 xpointer="xpointer(//*[@os='g'])"/>
[f32f537]62
[2d9525f]63 <para os="h">The <filename class="directory">x86_64-pc</filename> directory
[f32f537]64 contains a number of <filename>*stage1_5</filename> files, different
65 ones for different file systems. Review the files available and copy
66 the appropriate ones to the <filename
67 class="directory">/boot/grub</filename> directory. Most users will
68 copy the <filename>e2fs_stage1_5</filename> and/or
69 <filename>reiserfs_stage1_5</filename> files.</para>
[bf8c11f]70
71 </sect2>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../x86/grub.xml"
75 xpointer="xpointer(id('contents-grub'))"/>
76
77</sect1>
Note: See TracBrowser for help on using the repository browser.