1 |
swift |
1.1 |
<?xml version='1.0' encoding='UTF-8'?> |
2 |
|
|
<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
3 |
|
|
|
4 |
|
|
<!-- The content of this document is licensed under the CC-BY-SA license --> |
5 |
jkt |
1.39 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
6 |
swift |
1.1 |
|
7 |
swift |
1.64 |
<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.63 2013/12/17 10:08:59 swift Exp $ --> |
8 |
swift |
1.1 |
|
9 |
|
|
<sections> |
10 |
swift |
1.20 |
|
11 |
swift |
1.64 |
<version>21</version> |
12 |
|
|
<date>2013-12-17</date> |
13 |
swift |
1.20 |
|
14 |
swift |
1.1 |
<section> |
15 |
|
|
<title>Hardware Requirements</title> |
16 |
|
|
<subsection> |
17 |
|
|
<title>Introduction</title> |
18 |
|
|
<body> |
19 |
|
|
|
20 |
|
|
<p> |
21 |
|
|
Before we start, we first list what hardware requirements you need to |
22 |
swift |
1.24 |
successfully install Gentoo on your box. |
23 |
swift |
1.1 |
</p> |
24 |
|
|
|
25 |
|
|
</body> |
26 |
|
|
</subsection> |
27 |
|
|
<subsection> |
28 |
swift |
1.24 |
<title>Hardware Requirements</title> |
29 |
swift |
1.1 |
<body> |
30 |
|
|
|
31 |
swift |
1.24 |
<table> |
32 |
|
|
<tr> |
33 |
|
|
<th>CPU</th> |
34 |
|
|
<ti> |
35 |
|
|
Please check with the <uri |
36 |
|
|
link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> |
37 |
|
|
</ti> |
38 |
|
|
</tr> |
39 |
|
|
<tr> |
40 |
|
|
<th>Memory</th> |
41 |
|
|
<ti>64 MB</ti> |
42 |
|
|
</tr> |
43 |
|
|
<tr> |
44 |
|
|
<th>Diskspace</th> |
45 |
|
|
<ti>1.5 GB (excluding swap space)</ti> |
46 |
|
|
</tr> |
47 |
|
|
<tr> |
48 |
|
|
<th>Swap space</th> |
49 |
|
|
<ti>At least 256 MB</ti> |
50 |
|
|
</tr> |
51 |
|
|
</table> |
52 |
swift |
1.1 |
|
53 |
|
|
</body> |
54 |
|
|
</subsection> |
55 |
|
|
</section> |
56 |
swift |
1.37 |
|
57 |
swift |
1.1 |
<section> |
58 |
neysx |
1.45 |
<title>The Gentoo Installation CD</title> |
59 |
swift |
1.24 |
<subsection> |
60 |
|
|
<title>Introduction</title> |
61 |
|
|
<body> |
62 |
|
|
|
63 |
swift |
1.1 |
<p> |
64 |
swift |
1.28 |
The <e>Gentoo Installation CDs</e> are bootable CDs which contain a |
65 |
swift |
1.24 |
self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
66 |
|
|
During the boot process your hardware is detected and the appropriate drivers |
67 |
|
|
are loaded. They are maintained by Gentoo developers. |
68 |
|
|
</p> |
69 |
|
|
|
70 |
|
|
<p> |
71 |
swift |
1.28 |
All Installation CDs allow you to boot, set up networking, initialize your |
72 |
nightmorph |
1.52 |
partitions and start installing Gentoo from the Internet. |
73 |
swift |
1.24 |
</p> |
74 |
|
|
|
75 |
nightmorph |
1.52 |
<!-- |
76 |
|
|
<impo> |
77 |
swift |
1.26 |
If you wish to install Gentoo without a working Internet connection, please use |
78 |
swift |
1.24 |
the installation instructions described in the <uri |
79 |
nightmorph |
1.47 |
link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. |
80 |
nightmorph |
1.52 |
</impo> |
81 |
swift |
1.24 |
|
82 |
|
|
<p> |
83 |
swift |
1.28 |
The two Installation CDs we currently provide are: |
84 |
|
|
</p> |
85 |
|
|
|
86 |
|
|
<ul> |
87 |
|
|
<li> |
88 |
|
|
The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which |
89 |
|
|
sole purpose is to boot the system, prepare the networking and continue |
90 |
|
|
with the Gentoo installation. |
91 |
|
|
</li> |
92 |
|
|
<li> |
93 |
|
|
The Gentoo Universal Installation CD, a bootable CD with the same abilities |
94 |
swift |
1.37 |
as the Minimal Installation CD. Additionally, it contains several stage3 |
95 |
|
|
tarballs (optimized for the individual subarchitectures). |
96 |
swift |
1.28 |
</li> |
97 |
|
|
</ul> |
98 |
|
|
|
99 |
|
|
<p> |
100 |
|
|
To help you decide which Installation CD you need, we have written down the |
101 |
|
|
major advantages and disadvantages of each Installation CD. |
102 |
swift |
1.1 |
</p> |
103 |
neysx |
1.45 |
--> |
104 |
swift |
1.1 |
|
105 |
|
|
</body> |
106 |
|
|
</subsection> |
107 |
|
|
<subsection> |
108 |
nightmorph |
1.52 |
<title>Gentoo Minimal Installation CD</title> |
109 |
swift |
1.1 |
<body> |
110 |
|
|
|
111 |
|
|
<p> |
112 |
nightmorph |
1.47 |
The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and |
113 |
swift |
1.57 |
takes up around <keyval id="min-cd-size"/> MB of diskspace. You can use this |
114 |
nightmorph |
1.52 |
Installation CD to install Gentoo, but <e>only</e> with a working Internet |
115 |
|
|
connection. |
116 |
swift |
1.1 |
</p> |
117 |
neysx |
1.45 |
<!-- |
118 |
swift |
1.24 |
<table> |
119 |
|
|
<tr> |
120 |
swift |
1.28 |
<th>Minimal Installation CD</th> |
121 |
swift |
1.24 |
<th>Pros and Cons</th> |
122 |
|
|
</tr> |
123 |
|
|
<tr> |
124 |
|
|
<th>+</th> |
125 |
|
|
<ti>Smallest download</ti> |
126 |
|
|
</tr> |
127 |
|
|
<tr> |
128 |
|
|
<th>-</th> |
129 |
|
|
<ti> |
130 |
swift |
1.37 |
Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is |
131 |
swift |
1.24 |
therefore not suitable for networkless installation |
132 |
|
|
</ti> |
133 |
|
|
</tr> |
134 |
|
|
</table> |
135 |
swift |
1.1 |
|
136 |
|
|
</body> |
137 |
|
|
</subsection> |
138 |
swift |
1.28 |
<subsection> |
139 |
|
|
<title>Gentoo's Universal Installation CD</title> |
140 |
|
|
<body> |
141 |
|
|
|
142 |
|
|
<p> |
143 |
nightmorph |
1.47 |
The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c> |
144 |
fox2mike |
1.40 |
and consumes about 316 MB on a CD. You can use this Installation CD to install |
145 |
|
|
Gentoo, and you can even use it to install Gentoo without a working internet |
146 |
nightmorph |
1.50 |
connection. |
147 |
swift |
1.28 |
</p> |
148 |
|
|
|
149 |
|
|
<table> |
150 |
|
|
<tr> |
151 |
|
|
<th>Universal Installation CD</th> |
152 |
|
|
<th>Pros and Cons</th> |
153 |
|
|
</tr> |
154 |
|
|
<tr> |
155 |
|
|
<ti>+</ti> |
156 |
|
|
<ti> |
157 |
|
|
Contains everything you need. You can even install without a network |
158 |
|
|
connection. |
159 |
|
|
</ti> |
160 |
|
|
</tr> |
161 |
|
|
<tr> |
162 |
|
|
<ti>-</ti> |
163 |
|
|
<ti> |
164 |
|
|
Huge download |
165 |
|
|
</ti> |
166 |
|
|
</tr> |
167 |
|
|
</table> |
168 |
|
|
|
169 |
|
|
</body> |
170 |
|
|
</subsection> |
171 |
nightmorph |
1.43 |
|
172 |
swift |
1.28 |
<subsection> |
173 |
|
|
<title>Other CDs</title> |
174 |
|
|
<body> |
175 |
|
|
|
176 |
|
|
<p> |
177 |
neysx |
1.38 |
You might find a Package CD on one of our mirrors. This CD is not an |
178 |
swift |
1.28 |
Installation CD but an additional resource that can be exploited during a |
179 |
neysx |
1.38 |
networkless installation. It contains prebuilt packages (also known as the GRP |
180 |
|
|
set) that allow you to easily and quickly install additional applications |
181 |
swift |
1.63 |
(such as LibreOffice.org, KDE, GNOME, ...) immediately after the networkless |
182 |
neysx |
1.38 |
Gentoo installation. |
183 |
swift |
1.28 |
</p> |
184 |
|
|
|
185 |
swift |
1.36 |
<p> |
186 |
|
|
If you intend to use the Packages CD to quickly install additional software, |
187 |
swift |
1.37 |
make sure that you use the same subarchitecture as the stage3 tarball you use. |
188 |
|
|
</p> |
189 |
neysx |
1.45 |
--> |
190 |
swift |
1.37 |
</body> |
191 |
nightmorph |
1.43 |
</subsection> |
192 |
swift |
1.37 |
<subsection> |
193 |
|
|
<title>The Stage3 Tarball</title> |
194 |
|
|
<body> |
195 |
|
|
|
196 |
|
|
<p> |
197 |
|
|
A stage3 tarball is an archive containing a minimal Gentoo environment, suitable |
198 |
|
|
to continue the Gentoo installation using the instructions in this manual. |
199 |
|
|
Previously, the Gentoo Handbook described the installation using one of three |
200 |
|
|
stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the |
201 |
|
|
official installation method uses the stage3 tarball. If you are interested in |
202 |
|
|
performing a Gentoo installation using a stage1 or stage2 tarball, please read |
203 |
swift |
1.64 |
the Gentoo FAQ on <uri link="https://wiki.gentoo.org/wiki/FAQ/#How_do_I_Install_Gentoo_Using_a_Stage1_or_Stage2_Tarball.3F">How |
204 |
|
|
do I Install Gentoo Using a Stage1 or Stage2 Tarball?</uri> |
205 |
swift |
1.36 |
</p> |
206 |
|
|
|
207 |
nightmorph |
1.52 |
<p> |
208 |
|
|
Stage3 tarballs can be downloaded from <path><keyval |
209 |
|
|
id="release-dir"/>current-stage3/</path> on any of the <uri |
210 |
|
|
link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided |
211 |
|
|
on the LiveCD. |
212 |
|
|
</p> |
213 |
|
|
|
214 |
swift |
1.28 |
</body> |
215 |
|
|
</subsection> |
216 |
swift |
1.1 |
</section> |
217 |
swift |
1.24 |
<!-- STOP --> |
218 |
swift |
1.1 |
<section> |
219 |
swift |
1.28 |
<title>Download, Burn and Boot a Gentoo Installation CD</title> |
220 |
swift |
1.1 |
<subsection> |
221 |
swift |
1.28 |
<title>Downloading and Burning the Installation CDs</title> |
222 |
swift |
1.1 |
<body> |
223 |
|
|
|
224 |
|
|
<p> |
225 |
swift |
1.28 |
You have chosen to use a Gentoo Installation CD. We'll first start by |
226 |
|
|
downloading and burning the chosen Installation CD. We previously discussed |
227 |
|
|
the several available Installation CDs, but where can you find them? |
228 |
swift |
1.1 |
</p> |
229 |
|
|
|
230 |
|
|
<p> |
231 |
nightmorph |
1.52 |
You can download any of the Installation CDs from one of our <uri |
232 |
|
|
link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in |
233 |
|
|
the <path><keyval id="release-dir"/>current-iso/</path> directory. |
234 |
swift |
1.24 |
</p> |
235 |
|
|
|
236 |
|
|
<p> |
237 |
nightmorph |
1.47 |
Inside that directory you'll find ISO files. Those are full CD images which you |
238 |
neysx |
1.38 |
can write on a CD-R. |
239 |
swift |
1.1 |
</p> |
240 |
|
|
|
241 |
|
|
<p> |
242 |
nightmorph |
1.47 |
In case you wonder if your downloaded file is corrupted or not, you can check |
243 |
swift |
1.59 |
its SHA-2 checksum and compare it with the SHA-2 checksum we provide (such as |
244 |
|
|
<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the SHA-2 checksum |
245 |
|
|
with the <c>sha512sum</c> tool under Linux/Unix or <uri |
246 |
swift |
1.61 |
link="http://www.sinf.gr/en/hashcalc.html">Checksums calculator</uri> for Windows. |
247 |
swift |
1.1 |
</p> |
248 |
|
|
|
249 |
swift |
1.60 |
<pre caption="Verifying the SHA-2 checksum"> |
250 |
|
|
$ <i>sha512sum -c <downloaded iso.DIGESTS></i> |
251 |
|
|
</pre> |
252 |
|
|
|
253 |
|
|
<note> |
254 |
|
|
If you get the message that no properly formatted SHA checksum was found, take a |
255 |
|
|
look at the DIGESTS file yourself to see what the supported checksums are. |
256 |
|
|
</note> |
257 |
|
|
|
258 |
swift |
1.1 |
<p> |
259 |
swift |
1.8 |
Another way to check the validity of the downloaded file is to use GnuPG to |
260 |
|
|
verify the cryptographic signature that we provide (the file ending with |
261 |
swift |
1.58 |
<path>.asc</path>). Download the signature file and obtain the public keys whose |
262 |
|
|
key ids can be found on the <uri link="/proj/en/releng/index.xml">release |
263 |
|
|
engineering project site</uri>. |
264 |
swift |
1.8 |
</p> |
265 |
|
|
|
266 |
|
|
<pre caption="Obtaining the public key"> |
267 |
swift |
1.58 |
<comment>(... Substitute the key ids with those mentioned on the release engineering site ...)</comment> |
268 |
swift |
1.56 |
$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i> |
269 |
swift |
1.8 |
</pre> |
270 |
|
|
|
271 |
|
|
<p> |
272 |
|
|
Now verify the signature: |
273 |
|
|
</p> |
274 |
|
|
|
275 |
nightmorph |
1.52 |
<pre caption="Verify the files"> |
276 |
|
|
$ <i>gpg --verify <downloaded iso.DIGESTS.asc></i> |
277 |
swift |
1.60 |
$ <i>sha512sum -c <downloaded iso.DIGESTS.asc></i> |
278 |
swift |
1.8 |
</pre> |
279 |
|
|
|
280 |
|
|
<p> |
281 |
swift |
1.1 |
To burn the downloaded ISO(s), you have to select raw-burning. How you |
282 |
swift |
1.9 |
do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
283 |
|
|
<c>K3B</c> here; more information can be found in our <uri |
284 |
swift |
1.64 |
link="https://wiki.gentoo.org/wiki/FAQ#How_do_I_burn_an_ISO_file.3F">Gentoo FAQ</uri>. |
285 |
swift |
1.1 |
</p> |
286 |
|
|
|
287 |
|
|
<ul> |
288 |
|
|
<li> |
289 |
swift |
1.62 |
With cdrecord, you simply type <c>cdrecord dev=/dev/sr0 <downloaded iso |
290 |
|
|
file></c> (replace <path>/dev/sr0</path> with your CD-RW drive's |
291 |
swift |
1.27 |
device path). |
292 |
swift |
1.1 |
</li> |
293 |
swift |
1.2 |
<li> |
294 |
nightmorph |
1.46 |
With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate |
295 |
|
|
your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>. |
296 |
swift |
1.2 |
</li> |
297 |
swift |
1.1 |
</ul> |
298 |
|
|
|
299 |
|
|
</body> |
300 |
|
|
</subsection> |
301 |
|
|
<subsection> |
302 |
swift |
1.28 |
<title>Booting the Installation CD</title> |
303 |
swift |
1.1 |
<body> |
304 |
|
|
|
305 |
|
|
<p> |
306 |
|
|
When your Alpha is powered on, the first thing that gets started is the |
307 |
|
|
firmware. It is loosely synonymous with the BIOS software on PC systems. There |
308 |
|
|
are two types of firmware on Alpha systems: SRM (<e>Systems Reference |
309 |
|
|
Manual</e>) and ARC (<e>Advanced Risc Console</e>). |
310 |
|
|
</p> |
311 |
|
|
|
312 |
|
|
<p> |
313 |
|
|
SRM is based on the Alpha Console Subsystem specification, which provides an |
314 |
swift |
1.28 |
operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC |
315 |
swift |
1.1 |
is based on the Advanced RISC Computing (ARC) specification, which provides |
316 |
vapier |
1.14 |
an operating environment for Windows NT. You can find a |
317 |
|
|
<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on |
318 |
|
|
using SRM over at the Alpha Linux website. |
319 |
swift |
1.1 |
</p> |
320 |
|
|
|
321 |
|
|
<p> |
322 |
vapier |
1.29 |
If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you |
323 |
swift |
1.1 |
should follow <uri link="http://www.alphalinux.org/faq/x31.html">these |
324 |
|
|
instructions</uri> for switching to SRM. If your system already uses SRM, you |
325 |
|
|
are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
326 |
|
|
will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
327 |
|
|
</p> |
328 |
|
|
|
329 |
|
|
<p> |
330 |
nightmorph |
1.49 |
Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
331 |
swift |
1.28 |
system. You can use SRM to boot the Installation CD. If you cannot do that, you |
332 |
nightmorph |
1.49 |
will have to use <c>MILO</c>. |
333 |
swift |
1.1 |
</p> |
334 |
|
|
|
335 |
|
|
<pre caption="Booting a CD-ROM using SRM"> |
336 |
|
|
<comment>(List available hardware drives)</comment> |
337 |
|
|
>>> <i>show device</i> |
338 |
|
|
dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
339 |
|
|
<comment>(...)</comment> |
340 |
|
|
<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
341 |
|
|
>>> <i>boot dkb0 -flags 0</i> |
342 |
nightmorph |
1.53 |
<comment>(This flag will use serial port ttyS0 as the default console)</comment> |
343 |
nightmorph |
1.54 |
>>> <i>boot dkb0 -flags 2</i> |
344 |
swift |
1.1 |
</pre> |
345 |
|
|
|
346 |
|
|
<pre caption="Booting a CD-ROM using MILO"> |
347 |
nightmorph |
1.48 |
<comment>(Substitute sdb with your CD-ROM drive device)</comment> |
348 |
nightmorph |
1.54 |
MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i> |
349 |
nightmorph |
1.53 |
<comment>(Using serial port ttyS0 as the default console)</comment> |
350 |
nightmorph |
1.54 |
MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i> |
351 |
swift |
1.1 |
</pre> |
352 |
|
|
|
353 |
|
|
<p> |
354 |
|
|
You should have a root ("#") prompt on the current console and can also switch |
355 |
|
|
to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
356 |
|
|
started on by pressing Alt-F1. |
357 |
|
|
</p> |
358 |
|
|
|
359 |
|
|
<p> |
360 |
|
|
Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
361 |
|
|
</p> |
362 |
|
|
|
363 |
|
|
</body> |
364 |
|
|
</subsection> |
365 |
|
|
|
366 |
|
|
<subsection> |
367 |
nightmorph |
1.48 |
<include href="hb-install-bootconfig.xml"/> |
368 |
swift |
1.13 |
</subsection> |
369 |
swift |
1.1 |
|
370 |
|
|
</section> |
371 |
|
|
</sections> |