/[gentoo]/xml/htdocs/doc/en/handbook/2007.0/hb-install-alpha-medium.xml
Gentoo

Contents of /xml/htdocs/doc/en/handbook/2007.0/hb-install-alpha-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download) (as text)
Mon Apr 2 02:51:08 2007 UTC (13 years, 6 months ago) by nightmorph
Branch: MAIN
Changes since 1.3: +6 -4 lines
File MIME type: application/xml
added online-book conditionals, etc.

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 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/2007.0/hb-install-alpha-medium.xml,v 1.3 2007/03/31 04:35:16 nightmorph Exp $ -->
8
9 <sections>
10
11 <version>8.0</version>
12 <date>2006-08-30</date>
13
14 <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 successfully install Gentoo on your box.
23 </p>
24
25 </body>
26 </subsection>
27 <subsection>
28 <title>Hardware Requirements</title>
29 <body>
30
31 <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
53 </body>
54 </subsection>
55 </section>
56 <!-- Copy/paste from the hb-install-x86-medium.xml file but no Universal
57 Installation CD.
58 Also s/x86/alpha -->
59 <!-- START -->
60 <section>
61 <title>The Gentoo Universal Installation CD</title>
62 <subsection>
63 <title>Introduction</title>
64 <body>
65
66 <p>
67 Gentoo Linux can be installed using a <e>stage3</e> tarball file.
68 Such a tarball is an archive that contains a minimal environment from
69 which you can succesfully install Gentoo Linux onto your system.
70 </p>
71
72 <p>
73 Installations using a stage1 or stage2 tarball file are not documented in the
74 Gentoo Handbook - please read the <uri link="/doc/en/faq.xml#stage12">Gentoo
75 FAQ</uri> on these matters.
76 </p>
77
78 </body>
79 </subsection>
80 <subsection>
81 <title>Gentoo Universal Installation CD</title>
82 <body>
83
84 <p>
85 An Installation CD is a bootable medium which contains a self-sustained Gentoo
86 environment. It allows you to boot Linux from the CD. During the boot process
87 your hardware is detected and the appropriate drivers are loaded. The Gentoo
88 Installation CDs are maintained by Gentoo developers.
89 </p>
90
91 <p>
92 There currently are two Installation CDs available:
93 </p>
94
95 <ul>
96 <li>
97 The Universal Installation CD contains everything you need to install
98 Gentoo. It provides stage3 files for common architectures, source code
99 for the extra applications you need to choose from and, of course, the
100 installation instructions for your architecture.
101 </li>
102 <li>
103 The Minimal Installation CD contains only a minimal environment that allows
104 you to boot up and configure your network so you can connect to the
105 Internet. It does not contain any additional files and cannot be used
106 during the current installation approach.
107 </li>
108 </ul>
109
110 </body>
111 </subsection>
112 <subsection>
113 <title>Other CDs</title>
114 <body>
115
116 <p>
117 You might find a Package CD on one of our mirrors. This CD is not an
118 Installation CD but an additional resource that can be exploited during a
119 networkless installation. It contains prebuilt packages (also known as the GRP
120 set) that allow you to easily and quickly install additional applications
121 (such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
122 Gentoo installation.
123 </p>
124
125 <p>
126 If you intend to use the Packages CD to quickly install additional software,
127 make sure that you use the same subarchitecture as the stage3 tarball you use.
128 </p>
129
130 </body>
131 </subsection>
132 </section>
133 <!-- STOP -->
134 <section>
135 <title>Download, Burn and Boot the Gentoo Universal Installation CD</title>
136 <subsection>
137 <title>Downloading and Burning the Installation CD</title>
138 <body>
139
140 <p>
141 You can download the Universal Installation CD from one of our <uri
142 link="/main/en/mirrors.xml">mirrors</uri>. The Installation CD is located in the
143 <path><keyval id="release-dir"/>installcd</path> directory.
144 </p>
145
146 <p>
147 Inside those directories you'll find ISO-files. Those are full CD images which
148 you can write on a CD-R.
149 </p>
150
151 <p>
152 After downloading the file, you can verify its integrity to see if it is
153 corrupted or not:
154 </p>
155
156 <ul>
157 <li>
158 You can check its MD5 checksum and compare it with the MD5 checksum we
159 provide (for instance with the <c>md5sum</c> tool under Linux/Unix or
160 <uri link="http://www.etree.org/md5com.html">md5sum</uri> for Windows)
161 </li>
162 <li>
163 You can verify the cryptographic signature that we provide. You need to
164 obtain the public key we use (17072058) before you proceed though.
165 </li>
166 </ul>
167
168 <p>
169 To fetch our public key using the GnuPG application, run the following command:
170 </p>
171
172 <pre caption="Obtaining the public key">
173 $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
174 </pre>
175
176 <p>
177 Now verify the signature:
178 </p>
179
180 <pre caption="Verify the cryptographic signature">
181 $ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
182 </pre>
183
184 <p>
185 To burn the downloaded ISO(s), you have to select raw-burning. How you
186 do this is highly program-dependent. We will discuss <c>cdrecord</c> and
187 <c>K3B</c> here; more information can be found in our <uri
188 link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
189 </p>
190
191 <ul>
192 <li>
193 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
194 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
195 path).
196 </li>
197 <li>
198 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
199 you can locate your ISO file within the 'Image to Burn' area. Finally click
200 <c>Start</c>.
201 </li>
202 </ul>
203
204 </body>
205 </subsection>
206 <subsection>
207 <title>Booting the Universal Installation CD</title>
208 <body>
209
210 <p>
211 When your Alpha is powered on, the first thing that gets started is the
212 firmware. It is loosely synonymous with the BIOS software on PC systems. There
213 are two types of firmware on Alpha systems: SRM (<e>Systems Reference
214 Manual</e>) and ARC (<e>Advanced Risc Console</e>).
215 </p>
216
217 <p>
218 SRM is based on the Alpha Console Subsystem specification, which provides an
219 operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
220 is based on the Advanced RISC Computing (ARC) specification, which provides an
221 operating environment for Windows NT. You can find a <uri
222 link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on using
223 SRM over at the Alpha Linux website.
224 </p>
225
226 <p>
227 If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you
228 should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
229 instructions</uri> for switching to SRM. If your system already uses SRM, you
230 are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
231 will need to choose <c>MILO</c> later on when we are talking about bootloaders.
232 </p>
233
234 <p>
235 Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
236 system. You can use SRM to boot the Installation CD. If you cannot do that, you
237 will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already,
238 use one of the precompiled <c>MILO</c> images available on <uri
239 link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
240 </p>
241
242 <pre caption="Booting a CD-ROM using SRM">
243 <comment>(List available hardware drives)</comment>
244 &gt;&gt;&gt; <i>show device</i>
245 dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
246 <comment>(...)</comment>
247 <comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
248 &gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
249
250 <comment>(If you need serial console support)</comment>
251 &gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
252 </pre>
253
254 <pre caption="Booting a CD-ROM using MILO">
255 <comment>(Substitute hdb with your CD-ROM drive device)</comment>
256 MILO&gt; <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i>
257 <comment>(If you need serial console support)</comment>
258 MILO&gt; <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0</i>
259 </pre>
260
261 <p>
262 You should have a root ("#") prompt on the current console and can also switch
263 to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
264 started on by pressing Alt-F1.
265 </p>
266
267 <p>
268 Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
269 </p>
270
271 </body>
272 </subsection>
273 <subsection id="hardware">
274 <title>Extra Hardware Configuration</title>
275 <body>
276
277 <p>
278 When the Installation CD boots, it tries to detect all your hardware devices and
279 loads the appropriate kernel modules to support your hardware. In the vast
280 majority of cases, it does a very good job. However, in some cases it may not
281 auto-load the kernel modules you need. If the PCI auto-detection missed some of
282 your system's hardware, you will have to load the appropriate kernel modules
283 manually.
284 </p>
285
286 <p>
287 In the next example we try to load the <c>8139too</c> module (support for
288 certain kinds of network interfaces):
289 </p>
290
291 <pre caption="Loading kernel modules">
292 # <i>modprobe 8139too</i>
293 </pre>
294
295 </body>
296 </subsection>
297 <subsection>
298 <title>Optional: Tweaking Hard Disk Performance</title>
299 <body>
300
301 <p>
302 If you are an advanced user, you might want to tweak the IDE hard disk
303 performance using <c>hdparm</c>. With the <c>-tT</c> options you can
304 test the performance of your disk (execute it several times to get a
305 more precise impression):
306 </p>
307
308 <pre caption="Testing disk performance">
309 # <i>hdparm -tT /dev/hda</i>
310 </pre>
311
312 <p>
313 To tweak, you can use any of the following examples (or experiment
314 yourself) which use <path>/dev/hda</path> as disk (substitute with your
315 disk):
316 </p>
317
318 <pre caption="Tweaking hard disk performance">
319 <comment>Activate DMA:</comment>
320 # <i>hdparm -d 1 /dev/hda</i>
321 <comment>Activate DMA + Safe Performance-enhancing Options:</comment>
322 # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
323 </pre>
324
325 </body>
326 </subsection>
327 <subsection id="useraccounts">
328 <title>Optional: User Accounts</title>
329 <body>
330
331 <p>
332 If you plan on giving other people access to your installation
333 environment or you want to chat using <c>irssi</c> without root privileges (for
334 security reasons), you need to create the necessary user accounts and change
335 the root password.
336 </p>
337
338 <p>
339 To change the root password, use the <c>passwd</c> utility:
340 </p>
341
342 <pre caption="Changing the root password">
343 # <i>passwd</i>
344 New password: <comment>(Enter your new password)</comment>
345 Re-enter password: <comment>(Re-enter your password)</comment>
346 </pre>
347
348 <p>
349 To create a user account, we first enter their credentials, followed by
350 its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
351 In the next example, we create a user called &quot;john&quot;.
352 </p>
353
354 <pre caption="Creating a user account">
355 # <i>useradd -m -G users john</i>
356 # <i>passwd john</i>
357 New password: <comment>(Enter john's password)</comment>
358 Re-enter password: <comment>(Re-enter john's password)</comment>
359 </pre>
360
361 <p>
362 You can change your user id from root to the newly created user by using
363 <c>su</c>:
364 </p>
365
366 <pre caption="Changing user id">
367 # <i>su - john</i>
368 </pre>
369
370 </body>
371 </subsection>
372 <subsection>
373 <title>Optional: Viewing Documentation while Installing</title>
374 <body>
375
376 <p>
377 If you want to view the Gentoo Handbook (either from-CD or online) during the
378 installation, make sure you have created a user account (see <uri
379 link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
380 go to a new terminal and log in.
381 </p>
382
383 <p>
384 If you want to view the documentation on the CD you can immediately run
385 <c>lynx</c> to read it:
386 </p>
387
388 <pre caption="Viewing the on-CD documentation">
389 # <i>lynx /mnt/cdrom/docs/html/index.html</i>
390 </pre>
391
392 <p>
393 However, it is preferred that you use the online Gentoo Handbook as it will be
394 more recent than the one provided on the CD. You can view it using <c>lynx</c>
395 as well, but only after having completed the <e>Configuring your Network</e>
396 chapter (otherwise you won't be able to go on the Internet to view the
397 document):
398 </p>
399
400 <pre caption="Viewing the Online Documentation">
401 # <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
402 </pre>
403
404 <p>
405 You can go back to your original terminal by pressing <c>Alt-F1</c>.
406 </p>
407
408 </body>
409 </subsection>
410 <subsection>
411 <title>Optional: Starting the SSH Daemon</title>
412 <body>
413
414 <p>
415 If you want to allow other users to access your computer during the
416 Gentoo installation (perhaps because those users are going to help you
417 install Gentoo, or even do it for you), you need to create a user
418 account for them and perhaps even provide them with your root password
419 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
420 </p>
421
422 <p>
423 To fire up the SSH daemon, execute the following command:
424 </p>
425
426 <pre caption="Starting the SSH daemon">
427 # <i>/etc/init.d/sshd start</i>
428 </pre>
429
430 <p>
431 To be able to use sshd, you first need to set up your networking. Continue with
432 the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
433 </p>
434
435 </body>
436 </subsection>
437 </section>
438 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20