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">
|
---|
9 | <?dbhtml filename="grub.html"?>
|
---|
10 |
|
---|
11 | <title>Making the Temporary System Bootable</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-boot-grub">
|
---|
14 | <primary sortas="a-GRUB">GRUB</primary>
|
---|
15 | <secondary>boot, configuring</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
19 | href="../x86/grub.xml"
|
---|
20 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
21 |
|
---|
22 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
23 | href="../x86/grub.xml"
|
---|
24 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
25 |
|
---|
26 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
27 | href="../x86/grub.xml"
|
---|
28 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
29 |
|
---|
30 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
31 | href="../x86/grub.xml"
|
---|
32 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
33 |
|
---|
34 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
35 | href="../x86/grub.xml"
|
---|
36 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
37 |
|
---|
38 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
39 | href="../x86/grub.xml"
|
---|
40 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
41 |
|
---|
42 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
43 | href="../x86/grub.xml"
|
---|
44 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
45 |
|
---|
46 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
47 | href="../x86/grub.xml"
|
---|
48 | xpointer="xpointer(//*[@os='i'])"/>
|
---|
49 |
|
---|
50 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
51 | href="../x86/grub.xml"
|
---|
52 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
53 |
|
---|
54 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
55 | href="../x86/grub.xml"
|
---|
56 | xpointer="xpointer(//*[@os='k'])"/>
|
---|
57 |
|
---|
58 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
59 | href="../x86/grub.xml"
|
---|
60 | xpointer="xpointer(//*[@os='l'])"/>
|
---|
61 |
|
---|
62 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
63 | href="../x86/grub.xml"
|
---|
64 | xpointer="xpointer(//*[@os='m'])"/>
|
---|
65 |
|
---|
66 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
67 | href="../x86/grub.xml"
|
---|
68 | xpointer="xpointer(//*[@os='n'])"/>
|
---|
69 |
|
---|
70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
71 | href="../x86/grub.xml"
|
---|
72 | xpointer="xpointer(//*[@os='o'])"/>
|
---|
73 |
|
---|
74 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
75 | href="../x86/grub.xml"
|
---|
76 | xpointer="xpointer(//*[@os='p'])"/>
|
---|
77 |
|
---|
78 | <screen><userinput>cat > ${LFS}/boot/grub/menu.lst << "EOF"
|
---|
79 | <literal># Begin /boot/grub/menu.lst
|
---|
80 |
|
---|
81 | # By default boot the first menu entry.
|
---|
82 | default 0
|
---|
83 |
|
---|
84 | # Allow 30 seconds before booting the default.
|
---|
85 | timeout 30
|
---|
86 |
|
---|
87 | # Use prettier colors.
|
---|
88 | color green/black light-green/black
|
---|
89 |
|
---|
90 | # The first entry is for LFS.
|
---|
91 | title LFS &version;
|
---|
92 | root (hd0,3)
|
---|
93 | kernel /boot/lfskernel-&linux-x86_64-version; root=/dev/hda4</literal>
|
---|
94 | EOF</userinput></screen>
|
---|
95 |
|
---|
96 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
97 | href="../x86/grub.xml"
|
---|
98 | xpointer="xpointer(//*[@os='q'])"/>
|
---|
99 |
|
---|
100 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
101 | href="../x86/grub.xml"
|
---|
102 | xpointer="xpointer(//*[@os='r'])"/>
|
---|
103 |
|
---|
104 | </sect1>
|
---|