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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.45 Revision 1.54
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.45 2007/05/17 13:37:21 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.54 2011/02/27 07:05:54 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.1</version> 11<version>12</version>
12<date>2007-05-17</date> 12<date>2011-02-26</date>
13 13
14<section> 14<section>
15<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
65self-sustained Gentoo environment. They allow you to boot Linux from the CD. 65self-sustained Gentoo environment. They allow you to boot Linux from the CD.
66During the boot process your hardware is detected and the appropriate drivers 66During the boot process your hardware is detected and the appropriate drivers
67are loaded. They are maintained by Gentoo developers. 67are loaded. They are maintained by Gentoo developers.
68</p> 68</p>
69 69
70<p>
71All Installation CDs allow you to boot, set up networking, initialize your
72partitions and start installing Gentoo from the Internet.
73</p>
74
70<!-- 75<!--
71<p> 76<impo>
72All Installation CDs allow you to boot, set up networking, initialize your
73partitions and start installing Gentoo from the Internet. We currently provide
74two Installation CDs which are equally suitable to install Gentoo from, as long
75as you're planning on performing an Internet-based installation using the
76latest version of the available packages.
77</p>
78
79<p>
80If you wish to install Gentoo without a working Internet connection, please use 77If you wish to install Gentoo without a working Internet connection, please use
81the installation instructions described in the <uri 78the installation instructions described in the <uri
82link="2007.0/index.xml">Gentoo 2007.0 Handbooks</uri>. 79link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
83</p> 80</impo>
84 81
85<p> 82<p>
86The two Installation CDs we currently provide are: 83The two Installation CDs we currently provide are:
87</p> 84</p>
88 85
106--> 103-->
107 104
108</body> 105</body>
109</subsection> 106</subsection>
110<subsection> 107<subsection>
111<title>Gentoo's Minimal Installation CD</title> 108<title>Gentoo Minimal Installation CD</title>
112<body> 109<body>
113 110
114<p> 111<p>
115The Minimal Installation CD is called <c>install-alpha-minimal-2007.0.iso</c> 112The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
116and takes up only 65 MB of diskspace. You must use this Installation CD to 113takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this
117install Gentoo, and you need a working Internet connection. 114Installation CD to install Gentoo, but <e>only</e> with a working Internet
115connection.
118</p> 116</p>
119<!-- 117<!--
120<table> 118<table>
121<tr> 119<tr>
122 <th>Minimal Installation CD</th> 120 <th>Minimal Installation CD</th>
140<subsection> 138<subsection>
141<title>Gentoo's Universal Installation CD</title> 139<title>Gentoo's Universal Installation CD</title>
142<body> 140<body>
143 141
144<p> 142<p>
145The Universal Installation CD is called <c>install-alpha-universal-2007.0.iso</c> 143The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c>
146and consumes about 316 MB on a CD. You can use this Installation CD to install 144and consumes about 316 MB on a CD. You can use this Installation CD to install
147Gentoo, and you can even use it to install Gentoo without a working internet 145Gentoo, and you can even use it to install Gentoo without a working internet
148connection, just in case you want to bring Gentoo to another PC than the one 146connection.
149you are currently installing Gentoo on :)
150</p> 147</p>
151 148
152<table> 149<table>
153<tr> 150<tr>
154 <th>Universal Installation CD</th> 151 <th>Universal Installation CD</th>
205performing a Gentoo installation using a stage1 or stage2 tarball, please read 202performing a Gentoo installation using a stage1 or stage2 tarball, please read
206the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo 203the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
207Using a Stage1 or Stage2 Tarball?</uri> 204Using a Stage1 or Stage2 Tarball?</uri>
208</p> 205</p>
209 206
207<p>
208Stage3 tarballs can be downloaded from <path><keyval
209id="release-dir"/>current-stage3/</path> on any of the <uri
210link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
211on the LiveCD.
212</p>
213
210</body> 214</body>
211</subsection> 215</subsection>
212</section> 216</section>
213<!-- STOP --> 217<!-- STOP -->
214<section> 218<section>
222downloading and burning the chosen Installation CD. We previously discussed 226downloading and burning the chosen Installation CD. We previously discussed
223the several available Installation CDs, but where can you find them? 227the several available Installation CDs, but where can you find them?
224</p> 228</p>
225 229
226<p> 230<p>
227You can download any of the Installation CDs (and, if you want to, a Packages CD 231You can download any of the Installation CDs from one of our <uri
228as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The 232link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
229Installation CDs are located in the <path><keyval 233the <path><keyval id="release-dir"/>current-iso/</path> directory.
230id="release-dir"/>installcd</path> directory.
231</p>
232
233<p> 234</p>
235
236<p>
234Inside that directory you'll find ISO-files. Those are full CD images which you 237Inside that directory you'll find ISO files. Those are full CD images which you
235can write on a CD-R. 238can write on a CD-R.
236</p> 239</p>
237 240
238<p> 241<p>
239In case you wonder if your downloaded file is corrupted or not, you can 242In case you wonder if your downloaded file is corrupted or not, you can check
240check its MD5 checksum and compare it with the MD5 checksum we provide (such as 243its MD5 checksum and compare it with the MD5 checksum we provide (such as
241<path>install-alpha-minimal-2007.0.iso.DIGESTS</path>). You can check the MD5 244<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum
242checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 245with the <c>md5sum</c> tool under Linux/Unix or <uri
243link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 246link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
244</p> 247</p>
245 248
246<p> 249<p>
247Another way to check the validity of the downloaded file is to use GnuPG to 250Another way to check the validity of the downloaded file is to use GnuPG to
248verify the cryptographic signature that we provide (the file ending with 251verify the cryptographic signature that we provide (the file ending with
249<path>.asc</path>). Download the signature file and obtain the public key: 252<path>.asc</path>). Download the signature file and obtain the public key:
250</p> 253</p>
251 254
252<pre caption="Obtaining the public key"> 255<pre caption="Obtaining the public key">
253$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i> 256$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 2D182910</i>
254</pre> 257</pre>
255 258
256<p> 259<p>
257Now verify the signature: 260Now verify the signature:
258</p> 261</p>
259 262
260<pre caption="Verify the cryptographic signature"> 263<pre caption="Verify the files">
261$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 264<comment>(Verify the cryptographic signature)</comment>
265$ <i>gpg --verify &lt;downloaded iso.DIGESTS.asc&gt;</i>
266<comment>(Verify the checksum)</comment>
267$ <i>sha1sum -c &lt;downloaded iso.DIGESTS.asc&gt;</i>
262</pre> 268</pre>
263 269
264<p> 270<p>
265To burn the downloaded ISO(s), you have to select raw-burning. How you 271To burn the downloaded ISO(s), you have to select raw-burning. How you
266do this is highly program-dependent. We will discuss <c>cdrecord</c> and 272do this is highly program-dependent. We will discuss <c>cdrecord</c> and
273 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 279 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
274 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 280 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
275 device path). 281 device path).
276 </li> 282 </li>
277 <li> 283 <li>
278 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 284 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
279 you can locate your ISO file within the 'Image to Burn' area. Finally click 285 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
280 <c>Start</c>.
281 </li> 286 </li>
282</ul> 287</ul>
283 288
284</body> 289</body>
285</subsection> 290</subsection>
310are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you 315are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
311will need to choose <c>MILO</c> later on when we are talking about bootloaders. 316will need to choose <c>MILO</c> later on when we are talking about bootloaders.
312</p> 317</p>
313 318
314<p> 319<p>
315Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the 320Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
316system. You can use SRM to boot the Installation CD. If you cannot do that, you 321system. You can use SRM to boot the Installation CD. If you cannot do that, you
317will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already, 322will have to use <c>MILO</c>.
318use one of the precompiled <c>MILO</c> images available on <uri
319link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
320</p> 323</p>
321 324
322<pre caption="Booting a CD-ROM using SRM"> 325<pre caption="Booting a CD-ROM using SRM">
323<comment>(List available hardware drives)</comment> 326<comment>(List available hardware drives)</comment>
324&gt;&gt;&gt; <i>show device</i> 327&gt;&gt;&gt; <i>show device</i>
325dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 328dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
326<comment>(...)</comment> 329<comment>(...)</comment>
327<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 330<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
328&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 331&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
329<comment>(If you need serial console support)</comment> 332<comment>(This flag will use serial port ttyS0 as the default console)</comment>
330&gt;&gt;&gt; <i>boot dkb0 -flags 2</i> 333&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
331</pre> 334</pre>
332 335
333<pre caption="Booting a CD-ROM using MILO"> 336<pre caption="Booting a CD-ROM using MILO">
334<comment>(Substitute hdb with your CD-ROM drive device)</comment> 337<comment>(Substitute sdb with your CD-ROM drive device)</comment>
335MILO&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> 338MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i>
336<comment>(If you need serial console support)</comment> 339<comment>(Using serial port ttyS0 as the default console)</comment>
337MILO&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 cdroot</i> 340MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i>
338</pre> 341</pre>
339 342
340<p> 343<p>
341You should have a root ("#") prompt on the current console and can also switch 344You should have a root ("#") prompt on the current console and can also switch
342to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 345to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
347Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 350Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
348</p> 351</p>
349 352
350</body> 353</body>
351</subsection> 354</subsection>
352<subsection id="hardware">
353<title>Extra Hardware Configuration</title>
354<body>
355 355
356<p>
357When the Installation CD boots, it tries to detect all your hardware devices and
358loads the appropriate kernel modules to support your hardware. In the
359vast majority of cases, it does a very good job. However, in some cases it may
360not auto-load the kernel
361modules you need. If the PCI auto-detection missed some of your system's
362hardware, you will have to load the appropriate kernel modules manually.
363</p>
364
365<p>
366In the next example we try to load the <c>8139too</c> module (support for
367certain kinds of network interfaces):
368</p>
369
370<pre caption="Loading kernel modules">
371# <i>modprobe 8139too</i>
372</pre>
373
374</body>
375</subsection> 356<subsection>
357<include href="hb-install-bootconfig.xml"/>
376<subsection> 358</subsection>
377<title>Optional: Tweaking Hard Disk Performance</title>
378<body>
379 359
380<p>
381If you are an advanced user, you might want to tweak the IDE hard disk
382performance using <c>hdparm</c>. With the <c>-tT</c> options you can
383test the performance of your disk (execute it several times to get a
384more precise impression):
385</p>
386
387<pre caption="Testing disk performance">
388# <i>hdparm -tT /dev/hda</i>
389</pre>
390
391<p>
392To tweak, you can use any of the following examples (or experiment
393yourself) which use <path>/dev/hda</path> as disk (substitute with your
394disk):
395</p>
396
397<pre caption="Tweaking hard disk performance">
398<comment>Activate DMA:</comment>
399# <i>hdparm -d 1 /dev/hda</i>
400<comment>Activate DMA + Safe Performance-enhancing Options:</comment>
401# <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
402</pre>
403
404</body>
405</subsection>
406<subsection id="useraccounts">
407<title>Optional: User Accounts</title>
408<body>
409
410<p>
411If you plan on giving other people access to your installation
412environment or you want to chat using <c>irssi</c> without root privileges (for
413security reasons), you need to create the necessary user accounts and change
414the root password.
415</p>
416
417<p>
418To change the root password, use the <c>passwd</c> utility:
419</p>
420
421<pre caption="Changing the root password">
422# <i>passwd</i>
423New password: <comment>(Enter your new password)</comment>
424Re-enter password: <comment>(Re-enter your password)</comment>
425</pre>
426
427<p>
428To create a user account, we first enter their credentials, followed by
429its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
430In the next example, we create a user called &quot;john&quot;.
431</p>
432
433<pre caption="Creating a user account">
434# <i>useradd -m -G users john</i>
435# <i>passwd john</i>
436New password: <comment>(Enter john's password)</comment>
437Re-enter password: <comment>(Re-enter john's password)</comment>
438</pre>
439
440<p>
441You can change your user id from root to the newly created user by using
442<c>su</c>:
443</p>
444
445<pre caption="Changing user id">
446# <i>su - john</i>
447</pre>
448
449</body>
450</subsection>
451<subsection>
452<title>Optional: Viewing Documentation while Installing</title>
453<body>
454
455<p>
456If you want to view the Gentoo Handbook (either from-CD or online) during the
457installation, make sure you have created a user account (see <uri
458link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
459go to a new terminal and log in.
460</p>
461
462<p>
463If you want to view the documentation on the CD you can immediately run
464<c>lynx</c> to read it:
465</p>
466
467<pre caption="Viewing the on-CD documentation">
468# <i>lynx /mnt/cdrom/docs/html/index.html</i>
469</pre>
470
471<p>
472However, it is preferred that you use the online Gentoo Handbook as it will be
473more recent than the one provided on the CD. You can view it using <c>lynx</c>
474as well, but only after having completed the <e>Configuring your Network</e>
475chapter (otherwise you won't be able to go on the Internet to view the
476document):
477</p>
478
479<pre caption="Viewing the Online Documentation">
480# <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
481</pre>
482
483<p>
484You can go back to your original terminal by pressing <c>Alt-F1</c>.
485</p>
486
487</body>
488</subsection>
489<subsection>
490<title>Optional: Starting the SSH Daemon</title>
491<body>
492
493<p>
494If you want to allow other users to access your computer during the
495Gentoo installation (perhaps because those users are going to help you
496install Gentoo, or even do it for you), you need to create a user
497account for them and perhaps even provide them with your root password
498(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
499</p>
500
501<p>
502To fire up the SSH daemon, execute the following command:
503</p>
504
505<pre caption="Starting the SSH daemon">
506# <i>/etc/init.d/sshd start</i>
507</pre>
508
509<p>
510To be able to use sshd, you first need to set up your networking. Continue with
511the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
512</p>
513
514</body>
515</subsection>
516</section> 360</section>
517</sections> 361</sections>

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20