/[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.41 Revision 1.48
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.41 2006/08/30 22:52:28 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.48 2008/05/02 08:04:23 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.0</version> 11<version>9.1</version>
12<date>2006-08-30</date> 12<date>2008-05-02</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>
52 52
53</body> 53</body>
54</subsection> 54</subsection>
55</section> 55</section>
56 56
57<!-- Copy/paste from hb-install-x86-medium.xml -->
58<!-- START -->
59<section> 57<section>
60<title>The Gentoo Installation CDs</title> 58<title>The Gentoo Installation CD</title>
61<subsection> 59<subsection>
62<title>Introduction</title> 60<title>Introduction</title>
63<body> 61<body>
64 62
65<p> 63<p>
67self-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.
68During the boot process your hardware is detected and the appropriate drivers 66During the boot process your hardware is detected and the appropriate drivers
69are loaded. They are maintained by Gentoo developers. 67are loaded. They are maintained by Gentoo developers.
70</p> 68</p>
71 69
70<!--
72<p> 71<p>
73All Installation CDs allow you to boot, set up networking, initialize your 72All Installation CDs allow you to boot, set up networking, initialize your
74partitions and start installing Gentoo from the Internet. We currently provide 73partitions and start installing Gentoo from the Internet. We currently provide
75two Installation CDs which are equaly suitable to install Gentoo from, as long 74two Installation CDs which are equally suitable to install Gentoo from, as long
76as you're planning on performing an Internet-based installation using the 75as you're planning on performing an Internet-based installation using the
77latest version of the available packages. 76latest version of the available packages.
78</p> 77</p>
79 78
80<p> 79<p>
81If you wish to install Gentoo without a working Internet connection, please use 80If you wish to install Gentoo without a working Internet connection, please use
82the installation instructions described in the <uri 81the installation instructions described in the <uri
83link="2006.1/index.xml">Gentoo 2006.1 Handbooks</uri>. 82link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
84</p> 83</p>
85 84
86<p> 85<p>
87The two Installation CDs we currently provide are: 86The two Installation CDs we currently provide are:
88</p> 87</p>
102 101
103<p> 102<p>
104To help you decide which Installation CD you need, we have written down the 103To help you decide which Installation CD you need, we have written down the
105major advantages and disadvantages of each Installation CD. 104major advantages and disadvantages of each Installation CD.
106</p> 105</p>
106-->
107 107
108</body> 108</body>
109</subsection> 109</subsection>
110<subsection> 110<subsection>
111<title>Gentoo's Minimal Installation CD</title> 111<title>Gentoo's Minimal Installation CD</title>
112<body> 112<body>
113 113
114<p> 114<p>
115The Minimal Installation CD is called <c>install-alpha-minimal-2006.1.iso</c> 115The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
116and takes up only 65 MB of diskspace. You can use this Installation CD to 116takes up only 47 MB of diskspace. You must use this Installation CD to install
117install Gentoo, but always with a working Internet connection only. 117Gentoo, and you need a working Internet connection.
118</p> 118</p>
119 119<!--
120<table> 120<table>
121<tr> 121<tr>
122 <th>Minimal Installation CD</th> 122 <th>Minimal Installation CD</th>
123 <th>Pros and Cons</th> 123 <th>Pros and Cons</th>
124</tr> 124</tr>
140<subsection> 140<subsection>
141<title>Gentoo's Universal Installation CD</title> 141<title>Gentoo's Universal Installation CD</title>
142<body> 142<body>
143 143
144<p> 144<p>
145The Universal Installation CD is called <c>install-alpha-universal-2006.1.iso</c> 145The 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 146and 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 147Gentoo, 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 148connection, just in case you want to bring Gentoo to another PC than the one
149you are currently installing Gentoo on :) 149you are currently installing Gentoo on :)
150</p> 150</p>
169</tr> 169</tr>
170</table> 170</table>
171 171
172</body> 172</body>
173</subsection> 173</subsection>
174<!-- No package CDs for Alpha - 2006.1 174
175<subsection> 175<subsection>
176<title>Other CDs</title> 176<title>Other CDs</title>
177<body> 177<body>
178 178
179<p> 179<p>
187 187
188<p> 188<p>
189If you intend to use the Packages CD to quickly install additional software, 189If you intend to use the Packages CD to quickly install additional software,
190make sure that you use the same subarchitecture as the stage3 tarball you use. 190make sure that you use the same subarchitecture as the stage3 tarball you use.
191</p> 191</p>
192 192-->
193</body> 193</body>
194</subsection>--> 194</subsection>
195<subsection> 195<subsection>
196<title>The Stage3 Tarball</title> 196<title>The Stage3 Tarball</title>
197<body> 197<body>
198 198
199<p> 199<p>
222downloading and burning the chosen Installation CD. We previously discussed 222downloading and burning the chosen Installation CD. We previously discussed
223the several available Installation CDs, but where can you find them? 223the several available Installation CDs, but where can you find them?
224</p> 224</p>
225 225
226<p> 226<p>
227You can download any of the Installation CDs (and, if you want to, a Packages 227You can download any of the Installation CDs (and, if you want to, a Packages CD
228CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The 228as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
229Installation CDs are located in the <path>releases/alpha/2006.1/installcd</path> 229Installation CDs are located in the <path><keyval
230directory. 230id="release-dir"/>installcd</path> directory.
231</p>
232
233<p> 231</p>
232
233<p>
234Inside that directory you'll find ISO-files. Those are full CD images which you 234Inside that directory you'll find ISO files. Those are full CD images which you
235can write on a CD-R. 235can write on a CD-R.
236</p> 236</p>
237 237
238<p> 238<p>
239In case you wonder if your downloaded file is corrupted or not, you can 239In 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 240its MD5 checksum and compare it with the MD5 checksum we provide (such as
241<path>install-alpha-minimal-2006.1.iso.DIGESTS</path>). You can check the MD5 241<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 242with the <c>md5sum</c> tool under Linux/Unix or <uri
243link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 243link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
244</p> 244</p>
245 245
246<p> 246<p>
247Another way to check the validity of the downloaded file is to use GnuPG to 247Another way to check the validity of the downloaded file is to use GnuPG to
273 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 273 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 274 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
275 device path). 275 device path).
276 </li> 276 </li>
277 <li> 277 <li>
278 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 278 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 279 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
280 <c>Start</c>.
281 </li> 280 </li>
282</ul> 281</ul>
283 282
284</body> 283</body>
285</subsection> 284</subsection>
315Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the 314Now 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 315system. 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, 316will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already,
318use one of the precompiled <c>MILO</c> images available on <uri 317use one of the precompiled <c>MILO</c> images available on <uri
319link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. 318link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
320</p>
321
322<p>
323This release also includes two entries for people who want to use a serial
324console during the installation, possibly boxes with no keyboard and
325screen attached. One allow you to boot 2.6 using the serial console and
326the other will do the same with our 2.4 kernel.
327</p>
328
329<p>
330This release also includes two entries for people who want to use a serial
331console during the installation, possibly boxes with no keyboard and
332screen attached. One allow you to boot 2.6 using the serial console and
333the other will do the same with our 2.4 kernel.
334</p> 319</p>
335 320
336<pre caption="Booting a CD-ROM using SRM"> 321<pre caption="Booting a CD-ROM using SRM">
337<comment>(List available hardware drives)</comment> 322<comment>(List available hardware drives)</comment>
338&gt;&gt;&gt; <i>show device</i> 323&gt;&gt;&gt; <i>show device</i>
339dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 324dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
340<comment>(...)</comment> 325<comment>(...)</comment>
341<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 326<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
342&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 327&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
343<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment>
344&gt;&gt;&gt; <i>boot dkb -flags 1</i>
345<comment>(If you need serial console support)</comment> 328<comment>(If you need serial console support)</comment>
346<comment>To boot the 2.6 kernel with serial console support use:</comment>
347&gt;&gt;&gt; <i>boot dkb0 -flags 2</i> 329&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
348<comment>To boot the 2.4 kernel with serial console support use:</comment>
349&gt;&gt;&gt; <i>boot dkb0 -flags 3</i>
350</pre> 330</pre>
351 331
352<pre caption="Booting a CD-ROM using MILO"> 332<pre caption="Booting a CD-ROM using MILO">
353<comment>(Substitute hdb with your CD-ROM drive device)</comment> 333<comment>(Substitute sdb with your CD-ROM drive device)</comment>
354MILO&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> 334MILO&gt; <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i>
355<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment>
356MILO&gt; <i>boot hdb:/boot/gentoo_2.4 initrd=/boot/gentoo_2_4.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i>
357<comment>(If you need serial console support)</comment> 335<comment>(If you need serial console support)</comment>
358<comment>To boot the 2.6 kernel with serial console support use:</comment>
359MILO&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> 336MILO&gt; <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i>
360<comment>To boot the 2.4 kernel with serial console support use:</comment>
361MILO&gt; <i>boot hdb:/boot/gentoo_2.4 initrd=/boot/gentoo_2_4.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs console=ttyS0 cdroot</i>
362</pre> 337</pre>
363 338
364<p> 339<p>
365You should have a root ("#") prompt on the current console and can also switch 340You should have a root ("#") prompt on the current console and can also switch
366to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 341to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
371Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 346Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
372</p> 347</p>
373 348
374</body> 349</body>
375</subsection> 350</subsection>
376<subsection id="hardware">
377<title>Extra Hardware Configuration</title>
378<body>
379 351
380<p>
381When the Installation CD boots, it tries to detect all your hardware devices and
382loads the appropriate kernel modules to support your hardware. In the
383vast majority of cases, it does a very good job. However, in some cases it may
384not auto-load the kernel
385modules you need. If the PCI auto-detection missed some of your system's
386hardware, you will have to load the appropriate kernel modules manually.
387</p>
388
389<p>
390In the next example we try to load the <c>8139too</c> module (support for
391certain kinds of network interfaces):
392</p>
393
394<pre caption="Loading kernel modules">
395# <i>modprobe 8139too</i>
396</pre>
397
398</body>
399</subsection> 352<subsection>
353<include href="hb-install-bootconfig.xml"/>
400<subsection> 354</subsection>
401<title>Optional: Tweaking Hard Disk Performance</title>
402<body>
403 355
404<p>
405If you are an advanced user, you might want to tweak the IDE hard disk
406performance using <c>hdparm</c>. With the <c>-tT</c> options you can
407test the performance of your disk (execute it several times to get a
408more precise impression):
409</p>
410
411<pre caption="Testing disk performance">
412# <i>hdparm -tT /dev/hda</i>
413</pre>
414
415<p>
416To tweak, you can use any of the following examples (or experiment
417yourself) which use <path>/dev/hda</path> as disk (substitute with your
418disk):
419</p>
420
421<pre caption="Tweaking hard disk performance">
422<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
423<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
424</pre>
425
426</body>
427</subsection>
428<subsection id="useraccounts">
429<title>Optional: User Accounts</title>
430<body>
431
432<p>
433If you plan on giving other people access to your installation
434environment or you want to chat using <c>irssi</c> without root privileges (for
435security reasons), you need to create the necessary user accounts and change
436the root password.
437</p>
438
439<p>
440To change the root password, use the <c>passwd</c> utility:
441</p>
442
443<pre caption="Changing the root password">
444# <i>passwd</i>
445New password: <comment>(Enter your new password)</comment>
446Re-enter password: <comment>(Re-enter your password)</comment>
447</pre>
448
449<p>
450To create a user account, we first enter their credentials, followed by
451its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
452In the next example, we create a user called &quot;john&quot;.
453</p>
454
455<pre caption="Creating a user account">
456# <i>useradd -m -G users john</i>
457# <i>passwd john</i>
458New password: <comment>(Enter john's password)</comment>
459Re-enter password: <comment>(Re-enter john's password)</comment>
460</pre>
461
462<p>
463You can change your user id from root to the newly created user by using
464<c>su</c>:
465</p>
466
467<pre caption="Changing user id">
468# <i>su - john</i>
469</pre>
470
471</body>
472</subsection>
473<subsection>
474<title>Optional: Viewing Documentation while Installing</title>
475<body>
476
477<p>
478If you want to view the Gentoo Handbook (either from-CD or online) during the
479installation, make sure you have created a user account (see <uri
480link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
481go to a new terminal and log in.
482</p>
483
484<p>
485If you want to view the documentation on the CD you can immediately run
486<c>lynx</c> to read it:
487</p>
488
489<pre caption="Viewing the on-CD documentation">
490# <i>lynx /mnt/cdrom/docs/html/index.html</i>
491</pre>
492
493<p>
494However, it is preferred that you use the online Gentoo Handbook as it will be
495more recent than the one provided on the CD. You can view it using <c>lynx</c>
496as well, but only after having completed the <e>Configuring your Network</e>
497chapter (otherwise you won't be able to go on the Internet to view the
498document):
499</p>
500
501<pre caption="Viewing the Online Documentation">
502# <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i>
503</pre>
504
505<p>
506You can go back to your original terminal by pressing <c>Alt-F1</c>.
507</p>
508
509</body>
510</subsection>
511<subsection>
512<title>Optional: Starting the SSH Daemon</title>
513<body>
514
515<p>
516If you want to allow other users to access your computer during the
517Gentoo installation (perhaps because those users are going to help you
518install Gentoo, or even do it for you), you need to create a user
519account for them and perhaps even provide them with your root password
520(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
521</p>
522
523<p>
524To fire up the SSH daemon, execute the following command:
525</p>
526
527<pre caption="Starting the SSH daemon">
528# <i>/etc/init.d/sshd start</i>
529</pre>
530
531<p>
532To be able to use sshd, you first need to set up your networking. Continue with
533the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
534</p>
535
536</body>
537</subsection>
538</section> 356</section>
539</sections> 357</sections>

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20