/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml
Gentoo

Contents of /xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (show annotations) (download) (as text)
Sun Oct 4 18:37:42 2009 UTC (5 years ago) by nightmorph
Branch: MAIN
Changes since 1.16: +14 -13 lines
File MIME type: application/xml
Quick fixes for autobuilds and all stuff (i think) found on the autobuilds tracker bug -- x86 and amd64 only at this time. should be good for Gentoo's 10th anniversary on these two arches

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/hb-install-x86+amd64-medium.xml,v 1.16 2009/01/26 07:51:05 nightmorph Exp $ -->
8
9 <sections>
10
11 <abstract>
12 You can install Gentoo in many ways. This chapter explains how to install
13 Gentoo using the minimal Installation CD although installation through the
14 Installer LiveCD is possible as well.
15 </abstract>
16
17 <version>7.0</version>
18 <date>2009-10-04</date>
19
20 <section>
21 <title>Hardware Requirements</title>
22 <subsection>
23 <title>Introduction</title>
24 <body>
25
26 <p>
27 Before we start, we first list what hardware requirements you need to
28 successfully install Gentoo on your box.
29 </p>
30
31 </body>
32 </subsection>
33 <subsection>
34 <title>Hardware Requirements</title>
35 <body test="func:keyval('arch')='x86'">
36
37 <table>
38 <tr>
39 <ti/>
40 <th>Minimal CD</th>
41 <th>LiveCD</th>
42 </tr>
43 <tr>
44 <th>CPU</th>
45 <ti>i486 or later</ti>
46 <ti><b>i686</b> or later</ti>
47 </tr>
48 <tr>
49 <th>Memory</th>
50 <ti>64 MB</ti>
51 <ti>256 MB</ti>
52 </tr>
53 <tr>
54 <th>Diskspace</th>
55 <ti colspan="2">1.5 GB (excluding swap space)</ti>
56 </tr>
57 <tr>
58 <th>Swap space</th>
59 <ti colspan="2">At least 256 MB</ti>
60 </tr>
61 </table>
62
63 </body>
64 <body test="func:keyval('arch')='AMD64'">
65
66 <table>
67 <tr>
68 <ti/>
69 <th>Minimal CD</th>
70 <th>LiveCD</th>
71 </tr>
72 <tr>
73 <th>CPU</th>
74 <ti colspan="2">
75 Any AMD64 CPU or <uri
76 link="http://en.wikipedia.org/wiki/EMT64#Intel_64">EM64T CPU</uri> (Core 2
77 Duo &amp; Quad processors are EM64T)
78 </ti>
79 </tr>
80 <tr>
81 <th>Memory</th>
82 <ti>64 MB</ti>
83 <ti>256 MB</ti>
84 </tr>
85 <tr>
86 <th>Diskspace</th>
87 <ti colspan="2">1.5 GB (excluding swap space)</ti>
88 </tr>
89 <tr>
90 <th>Swap space</th>
91 <ti colspan="2">At least 256 MB</ti>
92 </tr>
93 </table>
94
95 <p>
96 You should check the <uri link="/proj/en/base/amd64/">Gentoo
97 AMD64 Project Page</uri> before proceeding.
98 </p>
99
100 </body>
101 </subsection>
102 </section>
103 <!-- This part can be propagated to the other architectures as well. -->
104 <!-- START -->
105 <section>
106 <title>The Gentoo Installation CDs</title>
107 <subsection>
108 <title>Introduction</title>
109 <body>
110
111 <p>
112 The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
113 self-sustained Gentoo environment. They allow you to boot Linux from the CD.
114 During the boot process your hardware is detected and the appropriate drivers
115 are loaded. They are maintained by Gentoo developers.
116 </p>
117
118 <p>
119 All Installation CDs allow you to boot, set up networking, initialize your
120 partitions and start installing Gentoo from the Internet.
121 </p>
122
123 <!--
124 <impo>
125 If you wish to install Gentoo without a working Internet connection, or would
126 like to use one of the provided installers, please use the installation
127 instructions described in the <uri link="2008.0/">Gentoo 2008.0
128 Handbooks</uri>.
129 </impo>
130 -->
131 <!--
132 <p>
133 The Installation CDs that we currently provide are:
134 </p>
135
136 <ul>
137 <li>
138 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable
139 CD which sole purpose is to boot the system, prepare the networking and
140 continue with the Gentoo installation.
141 </li>
142 <li>
143 The Gentoo <e>Installer LiveCD</e> contains everything you need to install
144 Gentoo. It provides a graphical environment, a graphical as well as console
145 based installer which automatically carries out the installation for you,
146 and of course, the installation instructions for your architecture.
147 </li>
148 </ul>
149
150 <p>
151 To help you decide which Installation CD you need, we have written down the
152 major advantages and disadvantages of each Installation CD.
153 </p>
154 -->
155 </body>
156 </subsection>
157 <subsection>
158 <title>Gentoo Minimal Installation CD</title>
159 <body>
160
161 <p>
162 The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
163 takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this
164 Installation CD to install Gentoo, but <e>only</e> with a working Internet
165 connection.
166 </p>
167 <!--
168 <table>
169 <tr>
170 <th>Minimal Installation CD</th>
171 <th>Pros and Cons</th>
172 </tr>
173 <tr>
174 <th>+</th>
175 <ti>Smallest download</ti>
176 </tr>
177 <tr>
178 <th>-</th>
179 <ti>
180 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and
181 is therefore not suitable for networkless installation
182 </ti>
183 </tr>
184 </table>
185 -->
186 </body>
187 </subsection>
188 <!--
189 <subsection>
190 <title>Gentoo Installer LiveCD</title>
191 <body>
192
193 <p>
194 The Installer LiveCD is called <c><keyval id="live-cd-name"/></c> and takes up
195 <keyval id="live-cd-size"/> MB. You can use this Installation CD to install
196 Gentoo, and you can even use it to install Gentoo without a working internet
197 connection.
198 </p>
199
200 <table>
201 <tr>
202 <th>Installer LiveCD</th>
203 <th>Pros and Cons</th>
204 </tr>
205 <tr>
206 <th>+</th>
207 <ti>
208 Contains everything you need. You can even install without a network
209 connection.
210 </ti>
211 </tr>
212 <tr>
213 <th>-</th>
214 <ti>Huge download</ti>
215 </tr>
216 </table>
217
218 </body>
219 </subsection>
220 -->
221 <subsection>
222 <title>The Stage3 Tarball</title>
223 <body>
224
225 <p>
226 A stage3 tarball is an archive containing a minimal Gentoo environment,
227 suitable to continue the Gentoo installation using the instructions in this
228 manual. Previously, the Gentoo Handbook described the installation using one of
229 three stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
230 official installation method uses the stage3 tarball. If you are interested in
231 performing a Gentoo installation using a stage1 or stage2 tarball, please read
232 the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
233 Using a Stage1 or Stage2 Tarball?</uri>
234 </p>
235
236 <p>
237 Stage3 tarballs can be downloaded from <path><keyval
238 id="release-dir"/>current-stage3/</path> on any of the <uri
239 link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
240 on the LiveCD.
241 </p>
242
243 </body>
244 </subsection>
245 </section>
246 <!-- STOP -->
247 <section>
248 <title>Download, Burn and Boot a Gentoo Installation CD</title>
249 <subsection>
250 <title>Downloading and Burning the Installation CDs</title>
251 <body>
252
253 <p>
254 You have chosen to use a Gentoo Installation CD. We'll first start by
255 downloading and burning the chosen Installation CD. We previously discussed
256 the several available Installation CDs, but where can you find them?
257 </p>
258
259 <p>
260 You can download any of the Installation CDs from one of our <uri
261 link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
262 the <path><keyval id="release-dir"/>current-iso/</path> directory.
263 </p>
264
265 <p>
266 Inside that directory you'll find ISO files. Those are full CD images which you
267 can write on a CD-R.
268 </p>
269
270 <p>
271 In case you wonder if your downloaded file is corrupted or not, you can check
272 its MD5 checksum and compare it with the MD5 checksum we provide (such as
273 <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5
274 checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
275 link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
276 </p>
277
278 <p>
279 Another way to check the validity of the downloaded file is to use GnuPG to
280 verify the cryptographic signature that we provide (the file ending with
281 <path>.asc</path>). Download the signature file and obtain the public key:
282 </p>
283
284 <pre caption="Obtaining the public key">
285 $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
286 </pre>
287
288 <p>
289 Now verify the signature:
290 </p>
291
292 <pre caption="Verify the cryptographic signature">
293 $ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
294 </pre>
295
296 <p>
297 To burn the downloaded ISO(s), you have to select raw-burning. How you
298 do this is highly program-dependent. We will discuss <c>cdrecord</c> and
299 <c>K3B</c> here; more information can be found in our <uri
300 link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
301 </p>
302
303 <ul>
304 <li>
305 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
306 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
307 device path).
308 </li>
309 <li>
310 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
311 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
312 </li>
313 </ul>
314
315 </body>
316 </subsection>
317 <subsection>
318 <title>Booting the Installation CD</title>
319 <body>
320
321 <p>
322 Once you have burnt your installation CD, it is time to boot it.
323 Remove all CDs from your CD drives, reboot your system and enter the BIOS.
324 This is usually done by hitting DEL, F1 or ESC, depending on your BIOS. Inside
325 the BIOS, change the boot order so that the CD-ROM is tried before the hard
326 disk. This is often found under "CMOS Setup". If you don't do this, your system
327 will just reboot from the hard disk, ignoring the CD-ROM.
328 </p>
329
330 <p>
331 Now place the installation CD in the CD-ROM drive and reboot. You should see a
332 boot prompt. At this screen, you can hit Enter to begin the boot process with
333 the default boot options, or boot the Installation CD with custom boot options
334 by specifying a kernel followed by boot options and then hitting Enter.
335 </p>
336
337 <p>
338 Specifying a kernel? Yes, we provide several kernels on our Installation CDs.
339 The default one is <c>gentoo</c>. Other kernels are for specific hardware needs
340 and the <c>-nofb</c> variants which disable framebuffer.
341 </p>
342
343 <p>
344 Below you'll find a short overview on the available kernels:
345 </p>
346
347 <table>
348 <tr>
349 <th>Kernel</th>
350 <th>Description</th>
351 </tr>
352 <tr test="func:keyval('arch')='x86'">
353 <ti>gentoo</ti>
354 <ti>Default 2.6 kernel with support for multiple CPUs</ti>
355 </tr>
356 <tr test="func:keyval('arch')='AMD64'">
357 <ti>gentoo</ti>
358 <ti>
359 Default kernel with support for K8 CPUS (including NUMA support) and EM64T
360 CPUs
361 </ti>
362 </tr>
363 <tr>
364 <ti>gentoo-nofb</ti>
365 <ti>Same as <c>gentoo</c> but without framebuffer support</ti>
366 </tr>
367 <tr>
368 <ti>memtest86</ti>
369 <ti>Test your local RAM for errors</ti>
370 </tr>
371 </table>
372
373 <p>
374 You can also provide kernel options. They represent optional settings you can
375 (de)activate at will.
376 </p>
377
378 </body>
379
380 <body>
381 <include href="hb-install-kernelparams.xml"/>
382 </body>
383
384 <body>
385
386 <note>
387 The CD will check for "no*" options before "do*" options, so that you can
388 override any option in the exact order you specify.
389 </note>
390
391 <p>
392 Now boot your CD, select a kernel (if you are not happy with the default
393 <c>gentoo</c> kernel) and boot options. As an example, we show you how
394 to boot the <c>gentoo</c> kernel, with <c>dopcmcia</c> as kernel
395 parameters:
396 </p>
397
398 <pre caption="Booting an Installation CD">
399 boot: <i>gentoo dopcmcia</i>
400 </pre>
401
402 <p>
403 You will then be greeted with a boot screen and progress bar. If you are
404 installing Gentoo on a system with a non-US keyboard, make sure you immediately
405 press Alt-F1 to switch to verbose mode and follow the prompt. If no selection
406 is made in 10 seconds the default (US keyboard) will be accepted and the boot
407 process will continue. Once the boot process completes, you will be
408 automatically logged in to the "Live" Gentoo Linux as "root", the super user.
409 You should have a root ("#") prompt on the current console and can also switch
410 to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one
411 you started on by pressing Alt-F1.
412 </p>
413
414 <p>
415 Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
416 </p>
417
418 </body>
419 </subsection>
420
421 <subsection>
422 <include href="hb-install-bootconfig.xml"/>
423 </subsection>
424
425 </section>
426 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20