/[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.11 - (hide annotations) (download) (as text)
Tue Apr 1 17:21:03 2008 UTC (6 years, 8 months ago) by neysx
Branch: MAIN
Changes since 1.10: +230 -154 lines
File MIME type: application/xml
Use <dl> for all kernel options and various formatting edits.

The only actual content change is the tiny extra bit about EM64T in the table

1 neysx 1.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 neysx 1.11 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-medium.xml,v 1.10 2008/04/01 08:53:46 nightmorph Exp $ -->
8 neysx 1.1
9     <sections>
10    
11 neysx 1.5 <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 neysx 1.11 <version>6.1</version>
18 nightmorph 1.10 <date>2008-04-01</date>
19 neysx 1.1
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 neysx 1.11 successfully install Gentoo on your box.
29 neysx 1.1 </p>
30    
31     </body>
32     </subsection>
33     <subsection>
34     <title>Hardware Requirements</title>
35 neysx 1.2 <body test="func:keyval('arch')='x86'">
36 neysx 1.1
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 neysx 1.8 <ti>256 MB</ti>
52 neysx 1.1 </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 neysx 1.2 <body test="func:keyval('arch')='AMD64'">
65    
66     <table>
67     <tr>
68 neysx 1.8 <ti/>
69     <th>Minimal CD</th>
70     <th>LiveCD</th>
71     </tr>
72     <tr>
73 neysx 1.2 <th>CPU</th>
74 neysx 1.11 <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 neysx 1.2 </tr>
80     <tr>
81     <th>Memory</th>
82     <ti>64 MB</ti>
83 neysx 1.8 <ti>256 MB</ti>
84 neysx 1.2 </tr>
85     <tr>
86     <th>Diskspace</th>
87 neysx 1.8 <ti colspan="2">1.5 GB (excluding swap space)</ti>
88 neysx 1.2 </tr>
89     <tr>
90     <th>Swap space</th>
91 neysx 1.8 <ti colspan="2">At least 256 MB</ti>
92 neysx 1.2 </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 neysx 1.1 </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 neysx 1.7 two Installation CDs which are equally suitable to install Gentoo from, as long
122 neysx 1.11 as you're planning on performing an Internet-based installation using the
123 neysx 1.1 latest version of the available packages.
124     </p>
125    
126 nightmorph 1.3 <impo>
127     If you wish to install Gentoo without a working Internet connection, or would
128 neysx 1.1 like to use one of the provided installers, please use the installation
129 nightmorph 1.10 instructions described in the <uri link="2008.0/">Gentoo 2008.0
130 neysx 1.1 Handbooks</uri>.
131     </impo>
132    
133     <p>
134 neysx 1.2 The Installation CDs that we currently provide are:
135 neysx 1.1 </p>
136    
137     <ul>
138     <li>
139 neysx 1.11 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 neysx 1.1 continue with the Gentoo installation.
142     </li>
143 nightmorph 1.3 <li>
144 neysx 1.1 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 neysx 1.2 <title>Gentoo Minimal Installation CD</title>
160 neysx 1.1 <body>
161    
162     <p>
163 neysx 1.2 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 neysx 1.1 </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 neysx 1.2 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and
182     is therefore not suitable for networkless installation
183 neysx 1.1 </ti>
184     </tr>
185     </table>
186    
187     </body>
188     </subsection>
189 nightmorph 1.3 <subsection>
190 neysx 1.2 <title>Gentoo Installer LiveCD</title>
191 neysx 1.1 <body>
192    
193     <p>
194 neysx 1.2 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, just in case you want to bring Gentoo to another PC than the one
198     you are currently installing Gentoo on.
199 neysx 1.1 </p>
200    
201     <table>
202     <tr>
203     <th>Installer LiveCD</th>
204     <th>Pros and Cons</th>
205     </tr>
206     <tr>
207     <th>+</th>
208     <ti>
209     Contains everything you need. You can even install without a network
210     connection.
211     </ti>
212     </tr>
213     <tr>
214     <th>-</th>
215     <ti>Huge download</ti>
216     </tr>
217     </table>
218    
219     </body>
220     </subsection>
221     <subsection>
222     <title>The Stage3 Tarball</title>
223     <body>
224    
225     <p>
226 neysx 1.2 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 neysx 1.1 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 neysx 1.2 Stage3 tarballs can be downloaded from <path><keyval
238     id="release-dir"/>stages/</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 neysx 1.1 </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 neysx 1.11 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 neysx 1.1 </p>
258    
259 nightmorph 1.3 <p>
260 neysx 1.2 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"/>installcd/</path> directory.
263     </p>
264    
265 neysx 1.1 <p>
266 nightmorph 1.10 Inside that directory you'll find ISO files. Those are full CD images which you
267 neysx 1.1 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 neysx 1.2 <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5
274 neysx 1.1 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 neysx 1.11 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 neysx 1.1 device path).
308     </li>
309     <li>
310 nightmorph 1.9 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 neysx 1.1 </li>
313     </ul>
314    
315     </body>
316     </subsection>
317     <subsection>
318     <title>Booting the Installation CD</title>
319     <body>
320    
321     <p>
322 neysx 1.2 Once you have burnt your installation CD, it is time to boot it.
323 neysx 1.11 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 neysx 1.1 will just reboot from the hard disk, ignoring the CD-ROM.
328     </p>
329    
330     <p>
331 neysx 1.2 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 neysx 1.1 </p>
336    
337     <p>
338 neysx 1.11 Specifying a kernel? Yes, we provide several kernels on our Installation CDs.
339 neysx 1.1 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 neysx 1.2 </body>
348     <body test="func:keyval('arch')='x86'">
349    
350 neysx 1.1 <table>
351     <tr>
352     <th>Kernel</th>
353     <th>Description</th>
354     </tr>
355     <tr>
356     <ti>gentoo</ti>
357     <ti>Default 2.6 kernel with support for multiple CPUs</ti>
358     </tr>
359     <tr>
360     <ti>gentoo-nofb</ti>
361     <ti>Same as <c>gentoo</c> but without framebuffer support</ti>
362     </tr>
363     <tr>
364     <ti>memtest86</ti>
365     <ti>Test your local RAM for errors</ti>
366     </tr>
367     </table>
368    
369 neysx 1.2 </body>
370     <body test="func:keyval('arch')='AMD64'">
371     <table>
372     <tr>
373     <th>Kernel</th>
374     <th>Description</th>
375     </tr>
376     <tr>
377     <ti>gentoo</ti>
378 nightmorph 1.3 <ti>
379 neysx 1.4 Default kernel with support for K8 CPUs (including NUMA support) and EM64T
380 nightmorph 1.3 CPUs
381     </ti>
382 neysx 1.2 </tr>
383     <tr>
384 nightmorph 1.3 <ti>memtest86</ti>
385     <ti>Test your local RAM for errors</ti>
386 neysx 1.2 </tr>
387     </table>
388    
389     </body>
390     <body>
391    
392 neysx 1.1 <p>
393     You can also provide kernel options. They represent optional settings you can
394 neysx 1.11 (de)activate at will. The following options are available when you press F2 at
395     the bootscreen.
396 neysx 1.1 </p>
397    
398 neysx 1.11 <p>
399     <brite>Hardware options:</brite>
400     </p>
401 nightmorph 1.10
402 neysx 1.11 <dl>
403     <dt>acpi=on</dt>
404     <dd>
405     This loads support for ACPI and also causes the acpid daemon to be started by
406     the CD on boot. This is only needed if your system requires ACPI to function
407     properly. This is not required for Hyperthreading support.
408     </dd>
409     <dt>acpi=off</dt>
410     <dd>
411     Completely disables ACPI. This is useful on some older systems and is also a
412     requirement for using APM. This will disable any Hyperthreading support of
413     your processor.
414     </dd>
415     <dt>console=X</dt>
416     <dd>
417     This sets up serial console access for the CD. The first option is the
418     device, usually ttyS0 on x86, followed by any connection options, which are
419     comma separated. The default options are 9600,8,n,1.
420     </dd>
421     <dt>dmraid=X</dt>
422     <dd>
423     This allows for passing options to the device-mapper RAID subsystem. Options
424     should be encapsulated in quotes.
425     </dd>
426     <dt>doapm</dt>
427     <dd>
428     This loads APM driver support. This requires you to also use acpi=off.
429     </dd>
430     <dt>dopcmcia</dt>
431     <dd>
432     This loads support for PCMCIA and Cardbus hardware and also causes the pcmcia
433     cardmgr to be started by the CD on boot. This is only required when booting
434     from PCMCIA/Cardbus devices.
435     </dd>
436     <dt>doscsi</dt>
437     <dd>
438     This loads support for most SCSI controllers. This is also a requirement for
439     booting most USB devices, as they use the SCSI subsystem of the kernel.
440     </dd>
441     <dt>hda=stroke</dt>
442     <dd>
443     This allows you to partition the whole hard disk even when your BIOS is unable
444     to handle large disks. This option is only used on machines with an older BIOS.
445     Replace hda with the device that is requiring this option.
446     </dd>
447     <dt>ide=nodma</dt>
448     <dd>
449     This forces the disabling of DMA in the kernel and is required by some IDE
450     chipsets and also by some CDROM drives. If your system is having trouble
451     reading from your IDE CDROM, try this option. This also disables the default
452     hdparm settings from being executed.
453     </dd>
454     <dt>noapic</dt>
455     <dd>
456     This disables the Advanced Programmable Interrupt Controller that is present
457     on newer motherboards. It has been known to cause some problems on older
458     hardware.
459     </dd>
460     <dt>nodetect</dt>
461     <dd>
462     This disables all of the autodetection done by the CD, including device
463     autodetection and DHCP probing. This is useful for doing debugging of a
464     failing CD or driver.
465     </dd>
466     <dt>nodhcp</dt>
467     <dd>
468     This disables DHCP probing on detected network cards. This is useful on
469     networks with only static addresses.
470     </dd>
471     <dt>nodmraid</dt>
472     <dd>
473     Disables support for device-mapper RAID, such as that used for on-board
474     IDE/SATA RAID controllers.
475     </dd>
476     <dt>nofirewire</dt>
477     <dd>
478     This disables the loading of Firewire modules. This should only be necessary
479     if your Firewire hardware is causing a problem with booting the CD.
480     </dd>
481     <dt>nogpm</dt>
482     <dd>
483     This diables gpm console mouse support.
484     </dd>
485     <dt>nohotplug</dt>
486     <dd>
487     This disables the loading of the hotplug and coldplug init scripts at boot.
488     This is useful for doing debugging of a failing CD or driver.
489     </dd>
490     <dt>nokeymap</dt>
491     <dd>
492     This disables the keymap selection used to select non-US keyboard layouts.
493     </dd>
494     <dt>nolapic</dt>
495     <dd>
496     This disables the local APIC on Uniprocessor kernels.
497     </dd>
498     <dt>nosata</dt>
499     <dd>
500     This disables the loading of Serial ATA modules. This is used if your system
501     is having problems with the SATA subsystem.
502     </dd>
503     <dt>nosmp</dt>
504     <dd>
505     This disables SMP, or Symmetric Multiprocessing, on SMP-enabled kernels. This
506     is useful for debugging SMP-related issues with certain drivers and
507     motherboards.
508     </dd>
509     <dt>nosound</dt>
510     <dd>
511     This disables sound support and volume setting. This is useful for systems
512     where sound support causes problems.
513     </dd>
514     <dt>nousb</dt>
515     <dd>
516     This disables the autoloading of USB modules. This is useful for debugging
517     USB issues.
518     </dd>
519     <dt>slowusb</dt>
520     <dd>
521     This adds some extra pauses into the boot process for slow USB CDROMs, like
522     in the IBM BladeCenter.
523     </dd>
524     </dl>
525    
526     <p>
527     <brite>Volume/Device Management:</brite>
528     </p>
529    
530     <dl>
531     <dt>doevms</dt>
532     <dd>
533     This enables support for IBM's pluggable EVMS, or Enterprise Volume
534     Management System. This is not safe to use with lvm.
535     </dd>
536     <dt>dolvm</dt>
537     <dd>
538     This enables support for Linux's Logical Volume Management. This is not safe
539     to use with evms.
540     </dd>
541     </dl>
542    
543     <p>
544     <brite>Other options:</brite>
545     </p>
546    
547     <dl>
548     <dt>debug</dt>
549     <dd>
550     Enables debugging code. This might get messy, as it displays a lot of data to
551     the screen.
552     </dd>
553     <dt>docache</dt>
554     <dd>
555     This caches the entire runtime portion of the CD into RAM, which allows you
556     to umount /mnt/cdrom and mount another CDROM. This option requires that you
557     have
558     at least twice as much available RAM as the size of the CD.
559     </dd>
560     <dt>doload=X</dt>
561     <dd>
562     This causes the initial ramdisk to load any module listed, as well as
563     dependencies. Replace X with the module name.
564     <br/>
565     Multiple modules can be specified by a comma-separated list.
566     </dd>
567     <dt>dosshd</dt>
568     <dd>
569     Starts sshd on boot, which is useful for unattended installs.
570     </dd>
571     <dt>passwd=foo</dt>
572     <dd>
573     Sets whatever follows the equals as the root password, which is required for
574     dosshd since we scramble the root password.
575     </dd>
576     <dt>noload=X</dt>
577     <dd>
578     This causes the initial ramdisk to skip the loading of a specific module that
579     may be causing a problem. Syntax matches that of doload.
580     </dd>
581     <dt>nonfs</dt>
582     <dd>
583     Disables the starting of portmap/nfsmount on boot.
584     </dd>
585     <dt>nox</dt>
586     <dd>
587     This causes an X-enabled LiveCD to not automatically start X, but rather, to
588     drop to the command line instead.
589     </dd>
590     <dt>scandelay</dt>
591     <dd>
592     This causes the CD to pause for 10 seconds during certain portions the boot
593     process to allow for devices that are slow to initialize to be ready for use.
594     </dd>
595     <dt>scandelay=X</dt>
596     <dd>
597     This allows you to specify a given delay, in seconds, to be added to certain
598     portions of the boot process to allow for devices that are slow to initialize
599     to be ready for use. Replace X with the number of seconds to pause.
600     </dd>
601     </dl>
602 neysx 1.1
603 nightmorph 1.10 <note>
604     The CD will check for "no*" options before "do*" options, so that you can
605     override any option in the exact order you specify.
606     </note>
607    
608 neysx 1.1 <p>
609     Now boot your CD, select a kernel (if you are not happy with the default
610     <c>gentoo</c> kernel) and boot options. As an example, we show you how
611     to boot the <c>gentoo</c> kernel, with <c>dopcmcia</c> as kernel
612     parameters:
613     </p>
614    
615     <pre caption="Booting an Installation CD">
616     boot: <i>gentoo dopcmcia</i>
617     </pre>
618    
619     <p>
620 neysx 1.2 You will then be greeted with a boot screen and progress bar. If you are
621 neysx 1.1 installing Gentoo on a system with a non-US keyboard, make sure you immediately
622 neysx 1.2 press Alt-F1 to switch to verbose mode and follow the prompt. If no selection
623     is made in 10 seconds the default (US keyboard) will be accepted and the boot
624 neysx 1.1 process will continue. Once the boot process completes, you will be
625 neysx 1.2 automatically logged in to the "Live" Gentoo Linux as "root", the super user.
626     You should have a root ("#") prompt on the current console and can also switch
627     to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one
628     you started on by pressing Alt-F1.
629 neysx 1.1 </p>
630    
631     <p>
632     Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
633     </p>
634    
635     </body>
636     </subsection>
637     <subsection id="hardware">
638     <title>Extra Hardware Configuration</title>
639     <body>
640    
641     <p>
642 neysx 1.2 When the Installation CD boots, it tries to detect all your hardware devices
643     and loads the appropriate kernel modules to support your hardware. In the vast
644     majority of cases, it does a very good job. However, in some cases it may not
645     auto-load the kernel modules you need. If the PCI auto-detection missed some of
646     your system's hardware, you will have to load the appropriate kernel modules
647 neysx 1.11 manually.
648 neysx 1.1 </p>
649    
650     <p>
651 neysx 1.11 In the next example we try to load the <c>8139too</c> module (support for
652 neysx 1.1 certain kinds of network interfaces):
653     </p>
654    
655     <pre caption="Loading kernel modules">
656     # <i>modprobe 8139too</i>
657     </pre>
658    
659     </body>
660     </subsection>
661     <subsection>
662     <title>Optional: Tweaking Hard Disk Performance</title>
663     <body>
664    
665     <p>
666     If you are an advanced user, you might want to tweak the IDE hard disk
667     performance using <c>hdparm</c>. With the <c>-tT</c> options you can
668     test the performance of your disk (execute it several times to get a
669     more precise impression):
670     </p>
671    
672     <pre caption="Testing disk performance">
673     # <i>hdparm -tT /dev/hda</i>
674     </pre>
675    
676     <p>
677     To tweak, you can use any of the following examples (or experiment
678     yourself) which use <path>/dev/hda</path> as disk (substitute with your
679     disk):
680     </p>
681    
682     <pre caption="Tweaking hard disk performance">
683 neysx 1.2 <comment>(Activate DMA:)</comment>
684     # <i>hdparm -d 1 /dev/hda</i>
685    
686     <comment>(Activate Safe Performance Options:)</comment>
687     # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
688 neysx 1.1 </pre>
689    
690     </body>
691     </subsection>
692     <subsection id="useraccounts">
693     <title>Optional: User Accounts</title>
694     <body>
695    
696     <p>
697     If you plan on giving other people access to your installation
698     environment or you want to chat using <c>irssi</c> without root privileges (for
699 neysx 1.11 security reasons), you need to create the necessary user accounts and change
700 neysx 1.1 the root password.
701     </p>
702    
703     <p>
704     To change the root password, use the <c>passwd</c> utility:
705     </p>
706    
707     <pre caption="Changing the root password">
708     # <i>passwd</i>
709     New password: <comment>(Enter your new password)</comment>
710     Re-enter password: <comment>(Re-enter your password)</comment>
711     </pre>
712    
713     <p>
714     To create a user account, we first enter their credentials, followed by
715     its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
716 neysx 1.2 In the next example, we create a user called "john".
717 neysx 1.1 </p>
718    
719     <pre caption="Creating a user account">
720     # <i>useradd -m -G users john</i>
721     # <i>passwd john</i>
722     New password: <comment>(Enter john's password)</comment>
723     Re-enter password: <comment>(Re-enter john's password)</comment>
724     </pre>
725    
726     <p>
727     You can change your user id from root to the newly created user by using
728     <c>su</c>:
729     </p>
730    
731     <pre caption="Changing user id">
732     # <i>su - john</i>
733     </pre>
734    
735     </body>
736     </subsection>
737     <subsection>
738     <title>Optional: Viewing Documentation while Installing</title>
739     <body>
740    
741     <p>
742     If you want to view the Gentoo Handbook (either from-CD or online) during the
743     installation, make sure you have created a user account (see <uri
744     link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
745     go to a new terminal and log in.
746     </p>
747    
748     <p>
749     If you want to view the documentation on the CD you can immediately run
750     <c>links</c> to read it:
751     </p>
752    
753     <pre caption="Viewing the on-CD documentation">
754     # <i>links /mnt/cdrom/docs/html/index.html</i>
755     </pre>
756    
757     <p>
758     However, it is preferred that you use the online Gentoo Handbook as it will be
759     more recent than the one provided on the CD. You can view it using <c>links</c>
760     as well, but only after having completed the <e>Configuring your Network</e>
761     chapter (otherwise you won't be able to go on the Internet to view the
762     document):
763     </p>
764    
765     <pre caption="Viewing the Online Documentation">
766 neysx 1.2 # <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
767 neysx 1.1 </pre>
768    
769     <p>
770     You can go back to your original terminal by pressing <c>Alt-F1</c>.
771     </p>
772    
773     </body>
774     </subsection>
775     <subsection>
776     <title>Optional: Starting the SSH Daemon</title>
777     <body>
778    
779     <p>
780     If you want to allow other users to access your computer during the
781     Gentoo installation (perhaps because those users are going to help you
782     install Gentoo, or even do it for you), you need to create a user
783 neysx 1.11 account for them and perhaps even provide them with your root password
784 neysx 1.1 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
785     </p>
786    
787     <p>
788     To fire up the SSH daemon, execute the following command:
789     </p>
790    
791     <pre caption="Starting the SSH daemon">
792     # <i>/etc/init.d/sshd start</i>
793     </pre>
794    
795     <p>
796     To be able to use sshd, you first need to set up your networking. Continue with
797     the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
798     </p>
799    
800     </body>
801     </subsection>
802     </section>
803     </sections>

  ViewVC Help
Powered by ViewVC 1.1.20