/[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.39 Revision 1.66
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.39 2005/11/29 14:48:46 jkt Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.66 2014/04/12 12:25:48 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.10</version> 11<version>23</version>
12<date>2005-11-29</date> 12<date>2014-04-12</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>Gentoo Minimal Installation CD</title>
63<body> 61<body>
64 62
65<p> 63<p>
66The <e>Gentoo Installation CDs</e> are bootable CDs which contain a 64The <e>Minimal Installation CD</e> is a bootable CD which contains a
67self-sustained Gentoo environment. They allow you to boot Linux from the CD. 65self-sustained Gentoo environment. It allows 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. The CD is maintained by Gentoo developers and allows you to install
70</p> 68Gentoo with an active Internet connection.
71
72<p> 69</p>
73All Installation CDs allow you to boot, set up networking, initialize your 70
74partitions and start installing Gentoo from the Internet. We currently provide
75two Installation CDs which are equaly suitable to install Gentoo from, as long
76as you're planning on performing an Internet-based installation using the
77latest version of the available packages.
78</p> 71<p>
79 72The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
80<p> 73takes up around <keyval id="min-cd-size"/> MB of diskspace.
81If you wish to install Gentoo without a working Internet connection, please use
82the installation instructions described in the <uri
83link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>.
84</p>
85
86<p>
87The two Installation CDs we currently provide are:
88</p>
89
90<ul>
91 <li>
92 The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which
93 sole purpose is to boot the system, prepare the networking and continue
94 with the Gentoo installation.
95 </li>
96 <li>
97 The Gentoo Universal Installation CD, a bootable CD with the same abilities
98 as the Minimal Installation CD. Additionally, it contains several stage3
99 tarballs (optimized for the individual subarchitectures).
100 </li>
101</ul>
102
103<p>
104To help you decide which Installation CD you need, we have written down the
105major advantages and disadvantages of each Installation CD.
106</p>
107
108</body>
109</subsection>
110<subsection>
111<title>Gentoo's Minimal Installation CD</title>
112<body>
113
114<p>
115The Minimal Installation CD is called <c>install-alpha-minimal-2005.1.iso</c>
116and takes up only 54 MB of diskspace. You can use this Installation CD to
117install Gentoo, but always with a working Internet connection only.
118</p>
119
120<table>
121<tr>
122 <th>Minimal Installation CD</th>
123 <th>Pros and Cons</th>
124</tr>
125<tr>
126 <th>+</th>
127 <ti>Smallest download</ti>
128</tr>
129<tr>
130 <th>-</th>
131 <ti>
132 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
133 therefore not suitable for networkless installation
134 </ti>
135</tr>
136</table>
137
138</body>
139</subsection>
140<subsection>
141<title>Gentoo's Universal Installation CD</title>
142<body>
143
144<p>
145The Universal Installation CD is called <c>install-alpha-universal-2005.1.iso</c>
146and consumes the entire surface of a 650 MB CD. You can use this Installation CD
147to install Gentoo, and you can even use it to install Gentoo without a working
148internet connection, just in case you want to bring Gentoo to another PC than
149the one you are currently installing Gentoo on :)
150</p>
151
152<table>
153<tr>
154 <th>Universal Installation CD</th>
155 <th>Pros and Cons</th>
156</tr>
157<tr>
158 <ti>+</ti>
159 <ti>
160 Contains everything you need. You can even install without a network
161 connection.
162 </ti>
163</tr>
164<tr>
165 <ti>-</ti>
166 <ti>
167 Huge download
168 </ti>
169</tr>
170</table>
171
172</body>
173</subsection>
174<subsection>
175<title>Other CDs</title>
176<body>
177
178<p>
179You might find a Package CD on one of our mirrors. This CD is not an
180Installation CD but an additional resource that can be exploited during a
181networkless installation. It contains prebuilt packages (also known as the GRP
182set) that allow you to easily and quickly install additional applications
183(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
184Gentoo installation.
185</p>
186
187<p>
188If you intend to use the Packages CD to quickly install additional software,
189make sure that you use the same subarchitecture as the stage3 tarball you use.
190</p> 74</p>
191 75
192</body> 76</body>
193</subsection> 77</subsection>
194<subsection> 78<subsection>
200to continue the Gentoo installation using the instructions in this manual. 84to continue the Gentoo installation using the instructions in this manual.
201Previously, the Gentoo Handbook described the installation using one of three 85Previously, the Gentoo Handbook described the installation using one of three
202stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the 86stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
203official installation method uses the stage3 tarball. If you are interested in 87official installation method uses the stage3 tarball. If you are interested in
204performing a Gentoo installation using a stage1 or stage2 tarball, please read 88performing a Gentoo installation using a stage1 or stage2 tarball, please read
205the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo 89the Gentoo FAQ on <uri link="https://wiki.gentoo.org/wiki/FAQ/#How_do_I_Install_Gentoo_Using_a_Stage1_or_Stage2_Tarball.3F">How
206Using a Stage1 or Stage2 Tarball?</uri> 90do I Install Gentoo Using a Stage1 or Stage2 Tarball?</uri>
91</p>
92
93<p>
94Stage3 tarballs can be downloaded from <path><keyval
95id="release-dir"/>current-stage3/</path> on any of the <uri
96link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
97on the LiveCD.
207</p> 98</p>
208 99
209</body> 100</body>
210</subsection> 101</subsection>
211</section> 102</section>
212<!-- STOP --> 103<!-- STOP -->
213<section> 104<section>
214<title>Download, Burn and Boot a Gentoo Installation CD</title> 105<title>Download, Burn and Boot a Gentoo Installation CD</title>
215<subsection> 106<subsection>
216<title>Downloading and Burning the Installation CDs</title> 107<title>Downloading and Burning the Installation CD</title>
217<body> 108<body>
218 109
219<p> 110<p>
220You have chosen to use a Gentoo Installation CD. We'll first start by 111You have chosen to use a Gentoo Installation CD. We'll first start by
221downloading and burning the chosen Installation CD. We previously discussed 112downloading and burning the chosen Installation CD. We previously discussed
222the several available Installation CDs, but where can you find them? 113the Installation CD, but where can you find it?
223</p>
224
225<p> 114</p>
226You can download any of the Installation CDs (and, if you want to, a Packages 115
227CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
228Installation CDs are located in the <path>releases/alpha/2005.1/installcd</path>
229directory.
230</p> 116<p>
231 117You can download the Installation CD from one of our <uri
118link="/main/en/mirrors.xml">mirrors</uri>. The Installation CD is located in
119the <path><keyval id="release-dir"/>current-iso/</path> directory.
232<p> 120</p>
121
122<p>
233Inside that directory you'll find ISO-files. Those are full CD images which you 123Inside that directory you'll find the ISO file. This is a full CD image which you
234can write on a CD-R. 124can write on a CD-R.
235</p> 125</p>
236 126
237<p> 127<p>
238In case you wonder if your downloaded file is corrupted or not, you can 128In case you wonder if your downloaded file is corrupted or not, you can check
239check its MD5 checksum and compare it with the MD5 checksum we provide (such as 129its SHA-2 checksum and compare it with the SHA-2 checksum we provide (such as
240<path>install-alpha-minimal-2005.1.iso.md5</path>). You can check the MD5 130<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the SHA-2 checksum
241checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 131with the <c>sha512sum</c> tool under Linux/Unix or <uri
242link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 132link="http://www.sinf.gr/en/hashcalc.html">Checksums calculator</uri> for Windows.
133</p>
134
135<note>
136The tool will attempt to verify the checksums in the list, even if the checksum
137is made with a different algorithm. Therefore, the output of the command might
138give both success (for SHA checksums) and failures (for other checksums). At
139least one OK needs to be provided for each file.
140</note>
141
142<pre caption="Verifying the SHA-2 checksum">
143$ <i>sha512sum -c &lt;downloaded iso.DIGESTS&gt;</i>
243</p> 144</pre>
145
146<note>
147If you get the message that no properly formatted SHA checksum was found, take a
148look at the DIGESTS file yourself to see what the supported checksums are.
149</note>
244 150
245<p> 151<p>
246Another way to check the validity of the downloaded file is to use GnuPG to 152Another way to check the validity of the downloaded file is to use GnuPG to
247verify the cryptographic signature that we provide (the file ending with 153verify the cryptographic signature that we provide (the file ending with
248<path>.asc</path>). Download the signature file and obtain the public key: 154<path>.asc</path>). Download the signature file and obtain the public keys whose
155key ids can be found on the <uri link="/proj/en/releng/index.xml">release
156engineering project site</uri>.
249</p> 157</p>
250 158
251<pre caption="Obtaining the public key"> 159<pre caption="Obtaining the public key">
160<comment>(... Substitute the key ids with those mentioned on the release engineering site ...)</comment>
252$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i> 161$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i>
253</pre> 162</pre>
254 163
255<p> 164<p>
256Now verify the signature: 165Now verify the signature:
257</p> 166</p>
258 167
259<pre caption="Verify the cryptographic signature"> 168<pre caption="Verify the files">
260$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i> 169$ <i>gpg --verify &lt;downloaded iso.DIGESTS.asc&gt;</i>
170$ <i>sha512sum -c &lt;downloaded iso.DIGESTS.asc&gt;</i>
261</pre> 171</pre>
262 172
263<p> 173<p>
264To burn the downloaded ISO(s), you have to select raw-burning. How you 174To burn the downloaded ISO(s), you have to select raw-burning. How you
265do this is highly program-dependent. We will discuss <c>cdrecord</c> and 175do this is highly program-dependent. We will discuss <c>cdrecord</c> and
266<c>K3B</c> here; more information can be found in our <uri 176<c>K3B</c> here; more information can be found in our <uri
267link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. 177link="https://wiki.gentoo.org/wiki/FAQ#How_do_I_burn_an_ISO_file.3F">Gentoo FAQ</uri>.
268</p> 178</p>
269 179
270<ul> 180<ul>
271 <li> 181 <li>
272 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 182 With cdrecord, you simply type <c>cdrecord dev=/dev/sr0 &lt;downloaded iso
273 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 183 file&gt;</c> (replace <path>/dev/sr0</path> with your CD-RW drive's
274 device path). 184 device path).
275 </li> 185 </li>
276 <li> 186 <li>
277 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 187 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
278 you can locate your ISO file within the 'Image to Burn' area. Finally click 188 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
279 <c>Start</c>.
280 </li> 189 </li>
281</ul> 190</ul>
282 191
283</body> 192</body>
284</subsection> 193</subsection>
309are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you 218are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
310will need to choose <c>MILO</c> later on when we are talking about bootloaders. 219will need to choose <c>MILO</c> later on when we are talking about bootloaders.
311</p> 220</p>
312 221
313<p> 222<p>
314Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the 223Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
315system. You can use SRM to boot the Installation CD. If you cannot do that, you 224system. You can use SRM to boot the Installation CD. If you cannot do that, you
316will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already, 225will have to use <c>MILO</c>.
317use one of the precompiled <c>MILO</c> images available on <uri
318link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
319</p> 226</p>
320 227
321<pre caption="Booting a CD-ROM using SRM"> 228<pre caption="Booting a CD-ROM using SRM">
322<comment>(List available hardware drives)</comment> 229<comment>(List available hardware drives)</comment>
323&gt;&gt;&gt; <i>show device</i> 230&gt;&gt;&gt; <i>show device</i>
324dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 231dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
325<comment>(...)</comment> 232<comment>(...)</comment>
326<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 233<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
327&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 234&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
328<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment> 235<comment>(This flag will use serial port ttyS0 as the default console)</comment>
329&gt;&gt;&gt; <i>boot dkb -flags 1</i> 236&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
330</pre> 237</pre>
331 238
332<pre caption="Booting a CD-ROM using MILO"> 239<pre caption="Booting a CD-ROM using MILO">
333<comment>(Substitute hdb with your CD-ROM drive device)</comment> 240<comment>(Substitute sdb with your CD-ROM drive device)</comment>
334MILO&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> 241MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i>
335<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment> 242<comment>(Using serial port ttyS0 as the default console)</comment>
336MILO&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> 243MILO&gt; <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i>
337</pre> 244</pre>
338 245
339<p> 246<p>
340You should have a root ("#") prompt on the current console and can also switch 247You should have a root ("#") prompt on the current console and can also switch
341to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 248to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
346Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 253Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
347</p> 254</p>
348 255
349</body> 256</body>
350</subsection> 257</subsection>
351<subsection id="hardware">
352<title>Extra Hardware Configuration</title>
353<body>
354 258
355<p>
356When the Installation CD boots, it tries to detect all your hardware devices and
357loads the appropriate kernel modules to support your hardware. In the
358vast majority of cases, it does a very good job. However, in some cases it may
359not auto-load the kernel
360modules you need. If the PCI auto-detection missed some of your system's
361hardware, you will have to load the appropriate kernel modules manually.
362</p>
363
364<p>
365In the next example we try to load the <c>8139too</c> module (support for
366certain 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> 259<subsection>
260<include href="hb-install-bootconfig.xml"/>
375<subsection> 261</subsection>
376<title>Optional: Tweaking Hard Disk Performance</title>
377<body>
378 262
379<p>
380If you are an advanced user, you might want to tweak the IDE hard disk
381performance using <c>hdparm</c>. With the <c>-tT</c> options you can
382test the performance of your disk (execute it several times to get a
383more precise impression):
384</p>
385
386<pre caption="Testing disk performance">
387# <i>hdparm -tT /dev/hda</i>
388</pre>
389
390<p>
391To tweak, you can use any of the following examples (or experiment
392yourself) which use <path>/dev/hda</path> as disk (substitute with your
393disk):
394</p>
395
396<pre caption="Tweaking hard disk performance">
397<comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i>
398<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
399</pre>
400
401</body>
402</subsection>
403<subsection id="useraccounts">
404<title>Optional: User Accounts</title>
405<body>
406
407<p>
408If you plan on giving other people access to your installation
409environment or you want to chat using <c>irssi</c> without root privileges (for
410security reasons), you need to create the necessary user accounts and change
411the root password.
412</p>
413
414<p>
415To change the root password, use the <c>passwd</c> utility:
416</p>
417
418<pre caption="Changing the root password">
419# <i>passwd</i>
420New password: <comment>(Enter your new password)</comment>
421Re-enter password: <comment>(Re-enter your password)</comment>
422</pre>
423
424<p>
425To create a user account, we first enter their credentials, followed by
426its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
427In the next example, we create a user called &quot;john&quot;.
428</p>
429
430<pre caption="Creating a user account">
431# <i>useradd -m -G users john</i>
432# <i>passwd john</i>
433New password: <comment>(Enter john's password)</comment>
434Re-enter password: <comment>(Re-enter john's password)</comment>
435</pre>
436
437<p>
438You can change your user id from root to the newly created user by using
439<c>su</c>:
440</p>
441
442<pre caption="Changing user id">
443# <i>su - john</i>
444</pre>
445
446</body>
447</subsection>
448<subsection>
449<title>Optional: Viewing Documentation while Installing</title>
450<body>
451
452<p>
453If you want to view the Gentoo Handbook (either from-CD or online) during the
454installation, make sure you have created a user account (see <uri
455link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
456go to a new terminal and log in.
457</p>
458
459<p>
460If you want to view the documentation on the CD you can immediately run
461<c>lynx</c> to read it:
462</p>
463
464<pre caption="Viewing the on-CD documentation">
465# <i>lynx /mnt/cdrom/docs/html/index.html</i>
466</pre>
467
468<p>
469However, it is preferred that you use the online Gentoo Handbook as it will be
470more recent than the one provided on the CD. You can view it using <c>lynx</c>
471as well, but only after having completed the <e>Configuring your Network</e>
472chapter (otherwise you won't be able to go on the Internet to view the
473document):
474</p>
475
476<pre caption="Viewing the Online Documentation">
477# <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i>
478</pre>
479
480<p>
481You can go back to your original terminal by pressing <c>Alt-F1</c>.
482</p>
483
484</body>
485</subsection>
486<subsection>
487<title>Optional: Starting the SSH Daemon</title>
488<body>
489
490<p>
491If you want to allow other users to access your computer during the
492Gentoo installation (perhaps because those users are going to help you
493install Gentoo, or even do it for you), you need to create a user
494account for them and perhaps even provide them with your root password
495(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
496</p>
497
498<p>
499To fire up the SSH daemon, execute the following command:
500</p>
501
502<pre caption="Starting the SSH daemon">
503# <i>/etc/init.d/sshd start</i>
504</pre>
505
506<p>
507To be able to use sshd, you first need to set up your networking. Continue with
508the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
509</p>
510
511</body>
512</subsection>
513</section> 263</section>
514</sections> 264</sections>

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.66

  ViewVC Help
Powered by ViewVC 1.1.20