| … | |
… | |
| 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.46 2007/06/30 00:50:26 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.51 2009/11/30 10:05:58 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>8.2</version> |
11 | <version>9.4</version> |
| 12 | <date>2007-06-29</date> |
12 | <date>2009-11-30</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> |
| … | |
… | |
| 77 | </p> |
77 | </p> |
| 78 | |
78 | |
| 79 | <p> |
79 | <p> |
| 80 | If you wish to install Gentoo without a working Internet connection, please use |
80 | If you wish to install Gentoo without a working Internet connection, please use |
| 81 | the installation instructions described in the <uri |
81 | the installation instructions described in the <uri |
| 82 | link="2007.0/index.xml">Gentoo 2007.0 Handbooks</uri>. |
82 | link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. |
| 83 | </p> |
83 | </p> |
| 84 | |
84 | |
| 85 | <p> |
85 | <p> |
| 86 | The two Installation CDs we currently provide are: |
86 | The two Installation CDs we currently provide are: |
| 87 | </p> |
87 | </p> |
| … | |
… | |
| 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> |
| 115 | The Minimal Installation CD is called <c>install-alpha-minimal-2007.0.iso</c> |
115 | The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and |
| 116 | and takes up only 65 MB of diskspace. You must use this Installation CD to |
116 | takes up only 47 MB of diskspace. You must use this Installation CD to install |
| 117 | install Gentoo, and you need a working Internet connection. |
117 | Gentoo, 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> |
| … | |
… | |
| 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> |
| 145 | The Universal Installation CD is called <c>install-alpha-universal-2007.0.iso</c> |
145 | The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c> |
| 146 | and consumes about 316 MB on a CD. You can use this Installation CD to install |
146 | and consumes about 316 MB on a CD. You can use this Installation CD to install |
| 147 | Gentoo, and you can even use it to install Gentoo without a working internet |
147 | Gentoo, and you can even use it to install Gentoo without a working internet |
| 148 | connection, just in case you want to bring Gentoo to another PC than the one |
148 | connection. |
| 149 | you are currently installing Gentoo on :) |
|
|
| 150 | </p> |
149 | </p> |
| 151 | |
150 | |
| 152 | <table> |
151 | <table> |
| 153 | <tr> |
152 | <tr> |
| 154 | <th>Universal Installation CD</th> |
153 | <th>Universal Installation CD</th> |
| … | |
… | |
| 229 | Installation CDs are located in the <path><keyval |
228 | Installation CDs are located in the <path><keyval |
| 230 | id="release-dir"/>installcd</path> directory. |
229 | id="release-dir"/>installcd</path> directory. |
| 231 | </p> |
230 | </p> |
| 232 | |
231 | |
| 233 | <p> |
232 | <p> |
| 234 | Inside that directory you'll find ISO-files. Those are full CD images which you |
233 | Inside that directory you'll find ISO files. Those are full CD images which you |
| 235 | can write on a CD-R. |
234 | can write on a CD-R. |
| 236 | </p> |
235 | </p> |
| 237 | |
236 | |
| 238 | <p> |
237 | <p> |
| 239 | In case you wonder if your downloaded file is corrupted or not, you can |
238 | In case you wonder if your downloaded file is corrupted or not, you can check |
| 240 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
239 | its 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 |
240 | <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum |
| 242 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
241 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 243 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
242 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
| 244 | </p> |
243 | </p> |
| 245 | |
244 | |
| 246 | <p> |
245 | <p> |
| 247 | Another way to check the validity of the downloaded file is to use GnuPG to |
246 | Another way to check the validity of the downloaded file is to use GnuPG to |
| … | |
… | |
| 309 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
308 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
| 310 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
309 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
| 311 | </p> |
310 | </p> |
| 312 | |
311 | |
| 313 | <p> |
312 | <p> |
| 314 | Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
313 | Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
| 315 | system. You can use SRM to boot the Installation CD. If you cannot do that, you |
314 | system. You can use SRM to boot the Installation CD. If you cannot do that, you |
| 316 | will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already, |
315 | will have to use <c>MILO</c>. |
| 317 | use one of the precompiled <c>MILO</c> images available on <uri |
|
|
| 318 | link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. |
|
|
| 319 | </p> |
316 | </p> |
| 320 | |
317 | |
| 321 | <pre caption="Booting a CD-ROM using SRM"> |
318 | <pre caption="Booting a CD-ROM using SRM"> |
| 322 | <comment>(List available hardware drives)</comment> |
319 | <comment>(List available hardware drives)</comment> |
| 323 | >>> <i>show device</i> |
320 | >>> <i>show device</i> |
| 324 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
321 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
| 325 | <comment>(...)</comment> |
322 | <comment>(...)</comment> |
| 326 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
323 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
| 327 | >>> <i>boot dkb0 -flags 0</i> |
324 | >>> <i>boot dkb0 -flags 0</i> |
| 328 | <comment>(If you need serial console support)</comment> |
325 | <comment>(If you need serial console support)</comment> |
| 329 | >>> <i>boot dkb0 -flags 2</i> |
326 | >>> <i>boot dkb0 -flags 1</i> |
| 330 | </pre> |
327 | </pre> |
| 331 | |
328 | |
| 332 | <pre caption="Booting a CD-ROM using MILO"> |
329 | <pre caption="Booting a CD-ROM using MILO"> |
| 333 | <comment>(Substitute hdb with your CD-ROM drive device)</comment> |
330 | <comment>(Substitute sdb with your CD-ROM drive device)</comment> |
| 334 | MILO> <i>boot hdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
331 | MILO> <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
| 335 | <comment>(If you need serial console support)</comment> |
332 | <comment>(If you need serial console support)</comment> |
| 336 | MILO> <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> |
333 | MILO> <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> |
| 337 | </pre> |
334 | </pre> |
| 338 | |
335 | |
| 339 | <p> |
336 | <p> |
| 340 | You should have a root ("#") prompt on the current console and can also switch |
337 | You should have a root ("#") prompt on the current console and can also switch |
| 341 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
338 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
| … | |
… | |
| 346 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
343 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 347 | </p> |
344 | </p> |
| 348 | |
345 | |
| 349 | </body> |
346 | </body> |
| 350 | </subsection> |
347 | </subsection> |
| 351 | <subsection id="hardware"> |
|
|
| 352 | <title>Extra Hardware Configuration</title> |
|
|
| 353 | <body> |
|
|
| 354 | |
348 | |
| 355 | <p> |
|
|
| 356 | When the Installation CD boots, it tries to detect all your hardware devices and |
|
|
| 357 | loads the appropriate kernel modules to support your hardware. In the |
|
|
| 358 | vast majority of cases, it does a very good job. However, in some cases it may |
|
|
| 359 | not auto-load the kernel |
|
|
| 360 | modules you need. If the PCI auto-detection missed some of your system's |
|
|
| 361 | hardware, you will have to load the appropriate kernel modules manually. |
|
|
| 362 | </p> |
|
|
| 363 | |
|
|
| 364 | <p> |
|
|
| 365 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 366 | certain kinds of network interfaces): |
|
|
| 367 | </p> |
|
|
| 368 | |
|
|
| 369 | <pre caption="Loading kernel modules"> |
|
|
| 370 | # <i>modprobe 8139too</i> |
|
|
| 371 | </pre> |
|
|
| 372 | |
|
|
| 373 | </body> |
|
|
| 374 | </subsection> |
349 | <subsection> |
|
|
350 | <include href="hb-install-bootconfig.xml"/> |
| 375 | <subsection> |
351 | </subsection> |
| 376 | <title>Optional: Tweaking Hard Disk Performance</title> |
|
|
| 377 | <body> |
|
|
| 378 | |
352 | |
| 379 | <p> |
|
|
| 380 | If you are an advanced user, you might want to tweak the IDE hard disk |
|
|
| 381 | performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
|
|
| 382 | test the performance of your disk (execute it several times to get a |
|
|
| 383 | more precise impression): |
|
|
| 384 | </p> |
|
|
| 385 | |
|
|
| 386 | <pre caption="Testing disk performance"> |
|
|
| 387 | # <i>hdparm -tT /dev/hda</i> |
|
|
| 388 | </pre> |
|
|
| 389 | |
|
|
| 390 | <p> |
|
|
| 391 | To tweak, you can use any of the following examples (or experiment |
|
|
| 392 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
|
|
| 393 | disk): |
|
|
| 394 | </p> |
|
|
| 395 | |
|
|
| 396 | <pre caption="Tweaking hard disk performance"> |
|
|
| 397 | <comment>Activate DMA:</comment> |
|
|
| 398 | # <i>hdparm -d 1 /dev/hda</i> |
|
|
| 399 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> |
|
|
| 400 | # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
|
|
| 401 | </pre> |
|
|
| 402 | |
|
|
| 403 | </body> |
|
|
| 404 | </subsection> |
|
|
| 405 | <subsection id="useraccounts"> |
|
|
| 406 | <title>Optional: User Accounts</title> |
|
|
| 407 | <body> |
|
|
| 408 | |
|
|
| 409 | <p> |
|
|
| 410 | If you plan on giving other people access to your installation |
|
|
| 411 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 412 | security reasons), you need to create the necessary user accounts and change |
|
|
| 413 | the root password. |
|
|
| 414 | </p> |
|
|
| 415 | |
|
|
| 416 | <p> |
|
|
| 417 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 418 | </p> |
|
|
| 419 | |
|
|
| 420 | <pre caption="Changing the root password"> |
|
|
| 421 | # <i>passwd</i> |
|
|
| 422 | New password: <comment>(Enter your new password)</comment> |
|
|
| 423 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 424 | </pre> |
|
|
| 425 | |
|
|
| 426 | <p> |
|
|
| 427 | To create a user account, we first enter their credentials, followed by |
|
|
| 428 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 429 | In the next example, we create a user called "john". |
|
|
| 430 | </p> |
|
|
| 431 | |
|
|
| 432 | <pre caption="Creating a user account"> |
|
|
| 433 | # <i>useradd -m -G users john</i> |
|
|
| 434 | # <i>passwd john</i> |
|
|
| 435 | New password: <comment>(Enter john's password)</comment> |
|
|
| 436 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 437 | </pre> |
|
|
| 438 | |
|
|
| 439 | <p> |
|
|
| 440 | You can change your user id from root to the newly created user by using |
|
|
| 441 | <c>su</c>: |
|
|
| 442 | </p> |
|
|
| 443 | |
|
|
| 444 | <pre caption="Changing user id"> |
|
|
| 445 | # <i>su - john</i> |
|
|
| 446 | </pre> |
|
|
| 447 | |
|
|
| 448 | </body> |
|
|
| 449 | </subsection> |
|
|
| 450 | <subsection> |
|
|
| 451 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
| 452 | <body> |
|
|
| 453 | |
|
|
| 454 | <p> |
|
|
| 455 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
| 456 | installation, make sure you have created a user account (see <uri |
|
|
| 457 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
| 458 | go to a new terminal and log in. |
|
|
| 459 | </p> |
|
|
| 460 | |
|
|
| 461 | <p> |
|
|
| 462 | If you want to view the documentation on the CD you can immediately run |
|
|
| 463 | <c>lynx</c> to read it: |
|
|
| 464 | </p> |
|
|
| 465 | |
|
|
| 466 | <pre caption="Viewing the on-CD documentation"> |
|
|
| 467 | # <i>lynx /mnt/cdrom/docs/html/index.html</i> |
|
|
| 468 | </pre> |
|
|
| 469 | |
|
|
| 470 | <p> |
|
|
| 471 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
| 472 | more recent than the one provided on the CD. You can view it using <c>lynx</c> |
|
|
| 473 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
| 474 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
| 475 | document): |
|
|
| 476 | </p> |
|
|
| 477 | |
|
|
| 478 | <pre caption="Viewing the Online Documentation"> |
|
|
| 479 | # <i>lynx http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i> |
|
|
| 480 | </pre> |
|
|
| 481 | |
|
|
| 482 | <p> |
|
|
| 483 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
| 484 | </p> |
|
|
| 485 | |
|
|
| 486 | </body> |
|
|
| 487 | </subsection> |
|
|
| 488 | <subsection> |
|
|
| 489 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 490 | <body> |
|
|
| 491 | |
|
|
| 492 | <p> |
|
|
| 493 | If you want to allow other users to access your computer during the |
|
|
| 494 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 495 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 496 | account for them and perhaps even provide them with your root password |
|
|
| 497 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 498 | </p> |
|
|
| 499 | |
|
|
| 500 | <p> |
|
|
| 501 | To fire up the SSH daemon, execute the following command: |
|
|
| 502 | </p> |
|
|
| 503 | |
|
|
| 504 | <pre caption="Starting the SSH daemon"> |
|
|
| 505 | # <i>/etc/init.d/sshd start</i> |
|
|
| 506 | </pre> |
|
|
| 507 | |
|
|
| 508 | <p> |
|
|
| 509 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
| 510 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 511 | </p> |
|
|
| 512 | |
|
|
| 513 | </body> |
|
|
| 514 | </subsection> |
|
|
| 515 | </section> |
353 | </section> |
| 516 | </sections> |
354 | </sections> |