1 |
neysx 07/05/02 15:27:57 |
2 |
|
3 |
Modified: handbook-ia64.xml |
4 |
hb-install-x86+amd64-bootloader.xml |
5 |
Removed: hb-install-ia64-bootloader.xml |
6 |
Log: |
7 |
Integrated IA64 bootloader into x86/amd64 bootloader.xml |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: handbook-ia64.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- handbook-ia64.xml 7 Apr 2007 00:44:16 -0000 1.3 |
23 |
+++ handbook-ia64.xml 2 May 2007 15:27:57 -0000 1.4 |
24 |
@@ -1,7 +1,7 @@ |
25 |
<?xml version='1.0' encoding='UTF-8'?> |
26 |
<!DOCTYPE book SYSTEM "/dtd/book.dtd"> |
27 |
|
28 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml,v 1.3 2007/04/07 00:44:16 nightmorph Exp $ --> |
29 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/handbook-ia64.xml,v 1.4 2007/05/02 15:27:57 neysx Exp $ --> |
30 |
|
31 |
<book link="/doc/en/handbook/handbook-ia64.xml"> |
32 |
<title>Gentoo Linux/IA64 Handbook</title> |
33 |
@@ -218,7 +218,7 @@ |
34 |
The ia64 architecture uses the elilo bootloader. |
35 |
This chapter explains how to install and configure elilo. |
36 |
</abstract> |
37 |
- <include href="hb-install-ia64-bootloader.xml"/> |
38 |
+ <include href="hb-install-x86+amd64-bootloader.xml"/> |
39 |
</chapter> |
40 |
|
41 |
<chapter> |
42 |
|
43 |
|
44 |
|
45 |
1.5 xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml?rev=1.5&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml?rev=1.5&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml?r1=1.4&r2=1.5 |
50 |
|
51 |
Index: hb-install-x86+amd64-bootloader.xml |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml,v |
54 |
retrieving revision 1.4 |
55 |
retrieving revision 1.5 |
56 |
diff -u -r1.4 -r1.5 |
57 |
--- hb-install-x86+amd64-bootloader.xml 14 Mar 2007 06:24:40 -0000 1.4 |
58 |
+++ hb-install-x86+amd64-bootloader.xml 2 May 2007 15:27:57 -0000 1.5 |
59 |
@@ -4,7 +4,7 @@ |
60 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
61 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
62 |
|
63 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml,v 1.4 2007/03/14 06:24:40 nightmorph Exp $ --> |
64 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-x86+amd64-bootloader.xml,v 1.5 2007/05/02 15:27:57 neysx Exp $ --> |
65 |
|
66 |
<sections> |
67 |
|
68 |
@@ -59,7 +59,7 @@ |
69 |
set the <c>vga</c> statement. |
70 |
</p> |
71 |
|
72 |
-<p test="func:keyval('arch')='AMD64'"> |
73 |
+<p test="contains('AMD64 IA64',func:keyval('arch'))"> |
74 |
64-bit systems must use the the <c>vesafb</c> driver, and need the <c>vga</c> |
75 |
statement. |
76 |
</p> |
77 |
@@ -160,7 +160,7 @@ |
78 |
</table> |
79 |
|
80 |
</body> |
81 |
-<body test="func:keyval('arch')='AMD64'"> |
82 |
+<body test="contains('AMD64 IA64',func:keyval('arch'))"> |
83 |
|
84 |
<p> |
85 |
The result of those two statements could be something like <c>vga=0x318 |
86 |
@@ -168,11 +168,15 @@ |
87 |
shortly. |
88 |
</p> |
89 |
|
90 |
-<p> |
91 |
+<p test="func:keyval('arch')='AMD64'"> |
92 |
While LILO does work on AMD64, Gentoo only supports using GRUB. Now continue by |
93 |
its <uri link="#grub">installation</uri>. |
94 |
</p> |
95 |
|
96 |
+<p test="func:keyval('arch')='IA64'"> |
97 |
+Now, you should install the <uri link="#elilo">elilo bootloader</uri>. |
98 |
+</p> |
99 |
+ |
100 |
</body> |
101 |
<body test="func:keyval('arch')='x86'"> |
102 |
|
103 |
@@ -191,7 +195,7 @@ |
104 |
</body> |
105 |
</subsection> |
106 |
</section> |
107 |
-<section id="grub"> |
108 |
+<section id="grub" test="contains('AMD64 x86',func:keyval('arch'))"> |
109 |
<title>Default: Using GRUB</title> |
110 |
<subsection> |
111 |
<title>Understanding GRUB's terminology</title> |
112 |
@@ -658,6 +662,79 @@ |
113 |
</body> |
114 |
</subsection> |
115 |
</section> |
116 |
+<section id="elilo" test="func:keyval('arch')='IA64'"> |
117 |
+<title>Default: Installing elilo</title> |
118 |
+<body> |
119 |
+ |
120 |
+<p> |
121 |
+On the IA64 platform, the boot loader is called elilo. You may need to emerge |
122 |
+it on your machine first. |
123 |
+</p> |
124 |
+ |
125 |
+<pre caption="Installing elilo"> |
126 |
+# <i>emerge elilo</i> |
127 |
+</pre> |
128 |
+ |
129 |
+<p> |
130 |
+You can find the configuration file at <path>/etc/elilo.conf</path> and a |
131 |
+sample file in the typical docs dir |
132 |
+<path>/usr/share/doc/elilo-<ver>/</path>. Here is another sample |
133 |
+configuration: |
134 |
+</p> |
135 |
+ |
136 |
+<pre caption="/etc/elilo.conf example"> |
137 |
+boot=/dev/sda1 |
138 |
+delay=30 |
139 |
+timeout=50 |
140 |
+default=Gentoo |
141 |
+append="console=ttyS0,9600" |
142 |
+prompt |
143 |
+ |
144 |
+image=/vmlinuz |
145 |
+ label=Gentoo |
146 |
+ root=/dev/sda2 |
147 |
+ read-only |
148 |
+ |
149 |
+image=/vmlinuz.old |
150 |
+ label=Gentoo.old |
151 |
+ root=/dev/sda2 |
152 |
+ read-only |
153 |
+</pre> |
154 |
+ |
155 |
+<p> |
156 |
+The <c>boot</c> line tells elilo the location of the boot partition (in this |
157 |
+case, <path>/dev/sda1</path>). The <c>delay</c> line sets the number of |
158 |
+10<sup>th</sup> of seconds before automatically booting the default when in |
159 |
+non-interactive mode. The <c>timeout</c> line is just like the delay line but |
160 |
+for interactive mode. The <c>default</c> line sets the default kernel entry |
161 |
+(which is defined below). The <c>append</c> line adds extra options to the |
162 |
+kernel command line. The <c>prompt</c> sets the default elilo behavior to |
163 |
+interactive. |
164 |
+</p> |
165 |
+ |
166 |
+<p> |
167 |
+The sections that start with <c>image</c> define different bootable images. |
168 |
+Each image has a nice <c>label</c>, a <c>root</c> filesystem, and will only |
169 |
+mount the root filesystem <c>read-only</c>. |
170 |
+</p> |
171 |
+ |
172 |
+<p> |
173 |
+When configuration is done, just run <c>elilo --efiboot</c>. The |
174 |
+<c>--efiboot</c> option adds a menu entry for Gentoo Linux to the EFI Boot |
175 |
+Manager. |
176 |
+</p> |
177 |
+ |
178 |
+<pre caption="Applying the elilo configuration"> |
179 |
+# <i>elilo --efiboot</i> |
180 |
+</pre> |
181 |
+ |
182 |
+<p> |
183 |
+Now continue with <uri link="#reboot">Rebooting the System</uri>. |
184 |
+</p> |
185 |
+ |
186 |
+</body> |
187 |
+</section> |
188 |
+ |
189 |
<section id="reboot"> |
190 |
<title>Rebooting the System</title> |
191 |
<subsection> |
192 |
@@ -668,7 +745,14 @@ |
193 |
that one magical command you have been waiting for: <c>reboot</c>. |
194 |
</p> |
195 |
|
196 |
-<pre caption="Unmounting all partitions and rebooting"> |
197 |
+<pre caption="Unmounting all partitions and rebooting" test="func:keyval('arch')='IA64'"> |
198 |
+# <i>exit</i> |
199 |
+cdimage ~# <i>cd</i> |
200 |
+cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/sys /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i> |
201 |
+cdimage ~# <i>reboot</i> |
202 |
+</pre> |
203 |
+ |
204 |
+<pre caption="Unmounting all partitions and rebooting" test="not(func:keyval('arch')='IA64')"> |
205 |
# <i>exit</i> |
206 |
cdimage ~# <i>cd</i> |
207 |
cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i> |
208 |
@@ -680,6 +764,11 @@ |
209 |
booted again instead of your new Gentoo system. |
210 |
</p> |
211 |
|
212 |
+<p test="func:keyval('arch')='IA64'"> |
213 |
+When you reboot you should see a new Gentoo Linux menu option in the EFI Boot |
214 |
+Manager which will boot Gentoo. |
215 |
+</p> |
216 |
+ |
217 |
<p> |
218 |
Once rebooted in your Gentoo installation, finish up with <uri |
219 |
link="?part=1&chap=11">Finalizing your Gentoo Installation</uri>. |
220 |
|
221 |
|
222 |
|
223 |
-- |
224 |
gentoo-doc-cvs@g.o mailing list |