/[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.16 - (show annotations) (download) (as text)
Mon Jan 26 07:51:05 2009 UTC (6 years, 6 months ago) by nightmorph
Branch: MAIN
Changes since 1.15: +4 -5 lines
File MIME type: application/xml
various readability fixes, bug 253058

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.15 2008/05/02 08:04:23 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>6.5</version>
18 <date>2009-01-25</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. We currently provide
121 two Installation CDs which are equally suitable to install Gentoo from, as long
122 as you're planning on performing an Internet-based installation using the
123 latest version of the available packages.
124 </p>
125
126 <impo>
127 If you wish to install Gentoo without a working Internet connection, or would
128 like to use one of the provided installers, please use the installation
129 instructions described in the <uri link="2008.0/">Gentoo 2008.0
130 Handbooks</uri>.
131 </impo>
132
133 <p>
134 The Installation CDs that we currently provide are:
135 </p>
136
137 <ul>
138 <li>
139 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable
140 CD which sole purpose is to boot the system, prepare the networking and
141 continue with the Gentoo installation.
142 </li>
143 <li>
144 The Gentoo <e>Installer LiveCD</e> contains everything you need to install
145 Gentoo. It provides a graphical environment, a graphical as well as console
146 based installer which automatically carries out the installation for you,
147 and of course, the installation instructions for your architecture.
148 </li>
149 </ul>
150
151 <p>
152 To help you decide which Installation CD you need, we have written down the
153 major advantages and disadvantages of each Installation CD.
154 </p>
155
156 </body>
157 </subsection>
158 <subsection>
159 <title>Gentoo Minimal Installation CD</title>
160 <body>
161
162 <p>
163 The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
164 takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this
165 Installation CD to install Gentoo, but <e>only</e> with a working Internet
166 connection.
167 </p>
168
169 <table>
170 <tr>
171 <th>Minimal Installation CD</th>
172 <th>Pros and Cons</th>
173 </tr>
174 <tr>
175 <th>+</th>
176 <ti>Smallest download</ti>
177 </tr>
178 <tr>
179 <th>-</th>
180 <ti>
181 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and
182 is therefore not suitable for networkless installation
183 </ti>
184 </tr>
185 </table>
186
187 </body>
188 </subsection>
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 <subsection>
221 <title>The Stage3 Tarball</title>
222 <body>
223
224 <p>
225 A stage3 tarball is an archive containing a minimal Gentoo environment,
226 suitable to continue the Gentoo installation using the instructions in this
227 manual. Previously, the Gentoo Handbook described the installation using one of
228 three stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
229 official installation method uses the stage3 tarball. If you are interested in
230 performing a Gentoo installation using a stage1 or stage2 tarball, please read
231 the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
232 Using a Stage1 or Stage2 Tarball?</uri>
233 </p>
234
235 <p>
236 Stage3 tarballs can be downloaded from <path><keyval
237 id="release-dir"/>stages/</path> on any of the <uri
238 link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
239 on the LiveCD.
240 </p>
241
242 </body>
243 </subsection>
244 </section>
245 <!-- STOP -->
246 <section>
247 <title>Download, Burn and Boot a Gentoo Installation CD</title>
248 <subsection>
249 <title>Downloading and Burning the Installation CDs</title>
250 <body>
251
252 <p>
253 You have chosen to use a Gentoo Installation CD. We'll first start by
254 downloading and burning the chosen Installation CD. We previously discussed
255 the several available Installation CDs, but where can you find them?
256 </p>
257
258 <p>
259 You can download any of the Installation CDs from one of our <uri
260 link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
261 the <path><keyval id="release-dir"/>installcd/</path> directory.
262 </p>
263
264 <p>
265 Inside that directory you'll find ISO files. Those are full CD images which you
266 can write on a CD-R.
267 </p>
268
269 <p>
270 In case you wonder if your downloaded file is corrupted or not, you can check
271 its MD5 checksum and compare it with the MD5 checksum we provide (such as
272 <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5
273 checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
274 link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
275 </p>
276
277 <p>
278 Another way to check the validity of the downloaded file is to use GnuPG to
279 verify the cryptographic signature that we provide (the file ending with
280 <path>.asc</path>). Download the signature file and obtain the public key:
281 </p>
282
283 <pre caption="Obtaining the public key">
284 $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
285 </pre>
286
287 <p>
288 Now verify the signature:
289 </p>
290
291 <pre caption="Verify the cryptographic signature">
292 $ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
293 </pre>
294
295 <p>
296 To burn the downloaded ISO(s), you have to select raw-burning. How you
297 do this is highly program-dependent. We will discuss <c>cdrecord</c> and
298 <c>K3B</c> here; more information can be found in our <uri
299 link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
300 </p>
301
302 <ul>
303 <li>
304 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
305 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
306 device path).
307 </li>
308 <li>
309 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
310 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
311 </li>
312 </ul>
313
314 </body>
315 </subsection>
316 <subsection>
317 <title>Booting the Installation CD</title>
318 <body>
319
320 <p>
321 Once you have burnt your installation CD, it is time to boot it.
322 Remove all CDs from your CD drives, reboot your system and enter the BIOS.
323 This is usually done by hitting DEL, F1 or ESC, depending on your BIOS. Inside
324 the BIOS, change the boot order so that the CD-ROM is tried before the hard
325 disk. This is often found under "CMOS Setup". If you don't do this, your system
326 will just reboot from the hard disk, ignoring the CD-ROM.
327 </p>
328
329 <p>
330 Now place the installation CD in the CD-ROM drive and reboot. You should see a
331 boot prompt. At this screen, you can hit Enter to begin the boot process with
332 the default boot options, or boot the Installation CD with custom boot options
333 by specifying a kernel followed by boot options and then hitting Enter.
334 </p>
335
336 <p>
337 Specifying a kernel? Yes, we provide several kernels on our Installation CDs.
338 The default one is <c>gentoo</c>. Other kernels are for specific hardware needs
339 and the <c>-nofb</c> variants which disable framebuffer.
340 </p>
341
342 <p>
343 Below you'll find a short overview on the available kernels:
344 </p>
345
346 <table>
347 <tr>
348 <th>Kernel</th>
349 <th>Description</th>
350 </tr>
351 <tr test="func:keyval('arch')='x86'">
352 <ti>gentoo</ti>
353 <ti>Default 2.6 kernel with support for multiple CPUs</ti>
354 </tr>
355 <tr test="func:keyval('arch')='AMD64'">
356 <ti>gentoo</ti>
357 <ti>
358 Default kernel with support for K8 CPUS (including NUMA support) and EM64T
359 CPUs
360 </ti>
361 </tr>
362 <tr>
363 <ti>gentoo-nofb</ti>
364 <ti>Same as <c>gentoo</c> but without framebuffer support</ti>
365 </tr>
366 <tr>
367 <ti>memtest86</ti>
368 <ti>Test your local RAM for errors</ti>
369 </tr>
370 </table>
371
372 <p>
373 You can also provide kernel options. They represent optional settings you can
374 (de)activate at will.
375 </p>
376
377 </body>
378
379 <body>
380 <include href="hb-install-kernelparams.xml"/>
381 </body>
382
383 <body>
384
385 <note>
386 The CD will check for "no*" options before "do*" options, so that you can
387 override any option in the exact order you specify.
388 </note>
389
390 <p>
391 Now boot your CD, select a kernel (if you are not happy with the default
392 <c>gentoo</c> kernel) and boot options. As an example, we show you how
393 to boot the <c>gentoo</c> kernel, with <c>dopcmcia</c> as kernel
394 parameters:
395 </p>
396
397 <pre caption="Booting an Installation CD">
398 boot: <i>gentoo dopcmcia</i>
399 </pre>
400
401 <p>
402 You will then be greeted with a boot screen and progress bar. If you are
403 installing Gentoo on a system with a non-US keyboard, make sure you immediately
404 press Alt-F1 to switch to verbose mode and follow the prompt. If no selection
405 is made in 10 seconds the default (US keyboard) will be accepted and the boot
406 process will continue. Once the boot process completes, you will be
407 automatically logged in to the "Live" Gentoo Linux as "root", the super user.
408 You should have a root ("#") prompt on the current console and can also switch
409 to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one
410 you started on by pressing Alt-F1.
411 </p>
412
413 <p>
414 Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
415 </p>
416
417 </body>
418 </subsection>
419
420 <subsection>
421 <include href="hb-install-bootconfig.xml"/>
422 </subsection>
423
424 </section>
425 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20