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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c26a0ed was 6343e08, checked in by Jim Gifford <clfs@…>, 18 years ago

r4309@server: jim | 2006-07-03 23:46:40 -0700
Added x86 Grub disk geometry patch to x86_64

  • Property mode set to 100644
File size: 2.5 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 %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
16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
17 href="../x86/grub.xml"
18 xpointer="xpointer(//*[@role='package'])"/>
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"
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'])"/>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../x86/grub.xml"
33 xpointer="xpointer(//*[@os='b'])"/>
34
35<screen><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../x86/grub.xml"
39 xpointer="xpointer(//*[@os='c'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../x86/grub.xml"
43 xpointer="xpointer(//*[@os='d'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../x86/grub.xml"
47 xpointer="xpointer(//*[@os='e'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../x86/grub.xml"
51 xpointer="xpointer(//*[@os='f'])"/>
52
53<screen os="h"><userinput>make install
54mkdir -v /boot/grub
55cp -v /usr/lib/grub/x86_64-pc/stage{1,2} /boot/grub</userinput></screen>
56
57 <para os="i">Replace <filename class="directory">x86_64-pc</filename> with whatever
58 directory is appropriate for the hardware in use.</para>
59
60 <para os="j">The <filename class="directory">x86_64-pc</filename> directory
61 contains a number of <filename>*stage1_5</filename> files, different
62 ones for different file systems. Review the files available and copy
63 the appropriate ones to the <filename
64 class="directory">/boot/grub</filename> directory. Most users will
65 copy the <filename>e2fs_stage1_5</filename> and/or
66 <filename>reiserfs_stage1_5</filename> files.</para>
67
68 </sect2>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../x86/grub.xml"
72 xpointer="xpointer(id('contents-grub'))"/>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.