/[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.4 Revision 1.36
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/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.4 2004/04/15 11:59:45 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.36 2005/10/09 16:33:54 swift Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>2.8</version>
12<date>2005-10-09</date>
13
10<section> 14<section>
11<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
12<subsection> 16<subsection>
13<title>Introduction</title> 17<title>Introduction</title>
14<body> 18<body>
15 19
16<p> 20<p>
17Before we start, we first list what hardware requirements you need to 21Before we start, we first list what hardware requirements you need to
18successfully install Gentoo on your box. This of course depends on your 22successfully install Gentoo on your box.
19architecture.
20</p> 23</p>
21 24
22</body> 25</body>
23</subsection>
24<subsection> 26</subsection>
25<title>The Alpha Architecture</title> 27<subsection>
28<title>Hardware Requirements</title>
29<body>
30
31<table>
32<tr>
33 <th>CPU</th>
34 <ti>
35 Please check with the <uri
36 link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri>
37 </ti>
38</tr>
39<tr>
40 <th>Memory</th>
41 <ti>64 MB</ti>
42</tr>
43<tr>
44 <th>Diskspace</th>
45 <ti>1.5 GB (excluding swap space)</ti>
46</tr>
47<tr>
48 <th>Swap space</th>
49 <ti>At least 256 MB</ti>
50</tr>
51</table>
52
26<body> 53</body>
54</subsection>
55</section>
56<!-- Copy/paste from the hb-install-x86-medium.xml file. -->
57<!-- START -->
58<section>
59<title>The Gentoo Installation Approaches</title>
60<subsection>
61<title>Introduction</title>
62<body>
27 63
28<p> 64<p>
29Check the following requirements before you 65Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
30continue with the Gentoo installation: 66A stage file is a tarball (compressed archive) that contains a minimal
67environment.
31</p> 68</p>
32 69
33<ul> 70<ul>
34<li> 71 <li>
35 You need at least 1 Gb of free disk space 72 A stage1 file contains nothing more than a compiler, Portage (Gentoo's
73 software management system) and a couple of packages on which the compiler
74 or Portage depends.
36</li> 75 </li>
37<li> 76 <li>
38 For the <e>Alpha architecture</e>, you should check with the <uri 77 A stage2 file contains a so-called bootstrapped system, a minimal
39 link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> 78 environment from which one can start building all other necessary
79 applications that make a Gentoo environment complete.
40</li> 80 </li>
81 <li>
82 A stage3 file contains a prebuilt minimal system which is almost fully
83 deployable. It only lacks a few applications where you, the Gentoo user,
84 needs to choose which one you want to install.
85 </li>
41</ul> 86</ul>
42 87
88<p>
89To help you decide what stage file you want to use, we have written down the
90major advantages and disadvantages of each stage file.
91</p>
92
43</body> 93</body>
44</subsection>
45</section>
46<section>
47<title>Make your Choice</title>
48<subsection> 94</subsection>
49<title>Introduction</title>
50<body>
51
52<p>
53Still interested in trying out Gentoo? Well, then it is now time to
54choose the installation medium you want to use. Yes, you have the
55choice, no, they are not all equal, and yes, the result is always the same: a
56Gentoo base system.
57</p>
58
59<p>
60The installation media we will describe are:
61</p>
62
63<ul>
64<li>The Gentoo Alpha LiveCD</li>
65</ul>
66
67<p>
68Before we continue, let's explain our three-stage installation.
69</p>
70
71</body>
72</subsection> 95<subsection>
73<subsection> 96<title>A Stage1 Approach</title>
74<title>The Three Stages</title>
75<body> 97<body>
76 98
77<p>
78Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
79The one you choose depends on how much of the system you want to compile
80yourself. The <e>stage1</e> tarball is used when you want to bootstrap and
81build the entire system from scratch. The <e>stage2</e> tarball is used for
82building the entire system from a bootstrapped &quot;semi-compiled&quot; state.
83The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has
84been built for you.
85</p> 99<p>
86 100A <e>stage1</e> is used when you want to bootstrap and build the entire system
101from scratch.
87<p> 102</p>
88Now what stage do you have to choose? 103
89</p> 104<p>
90 105This approach builds core system packages that are vital to your system and is
91<p> 106used by Gentoo developers to prepare the Gentoo release media. It is a great
92Starting from a <e>stage1</e> allows you to have total control over the
93optimization settings and optional build-time functionality that is
94initially enabled on your system. This makes <e>stage1</e> installs good for
95power users who know what they are doing. It is also a great
96installation method for those who would like to know more about the 107installation method for those who would like to learn more about the inner
97inner workings of Gentoo Linux. 108workings of bootstrapping, toolchains and the like.
109</p>
110
111<p>
112However, if you do not plan to tweak the bootstrapping instructions in the
113<path>bootstrap.sh</path> script written by the Gentoo developers, then a
114stage1 approach has no benefits for you.
98</p> 115</p>
99 116
100<table> 117<table>
101<tr> 118<tr>
102 <th>Stage1</th> 119 <th>Stage1</th>
103 <th>Pros and Cons</th> 120 <th>Pros and Cons</th>
104</tr> 121</tr>
105<tr> 122<tr>
106 <th>+</th> 123 <th>+</th>
107 <ti> 124 <ti>
108 Allows you to have total control over the optimization settings and optional 125 Allows you to have total control over the installation routine, bootstrap
109 build-time functionality that is initially enabled on your system 126 sequence, etc.
110 </ti> 127 </ti>
111</tr>
112<tr> 128</tr>
113 <th>+</th>
114 <ti>Suitable for powerusers that know what they are doing</ti>
115</tr> 129<tr>
116<tr>
117 <th>+</th> 130 <th>+</th>
118 <ti>Allows you to learn more about the inner workings of Gentoo</ti> 131 <ti>Suitable for powerusers and developers who know what they are doing</ti>
119</tr> 132</tr>
120<tr> 133<tr>
121 <th>-</th> 134 <th>-</th>
122 <ti>Takes a long time to finish the installation</ti> 135 <ti>
136 Takes a long time to finish the installation (it is the lengthiest approach)
137 </ti>
123</tr> 138</tr>
124<tr> 139<tr>
125 <th>-</th> 140 <th>-</th>
126 <ti> 141 <ti>
127 If you don't intend to tweak the settings, it is probably a waste of time 142 If you don't intend to tweak the settings, it is a waste of time
143 </ti>
144</tr>
145<tr>
146 <th>-</th>
147 <ti>
148 Requires a working Internet connection during the installation
128 </ti> 149 </ti>
129</tr> 150</tr>
130</table> 151</table>
131 152
153</body>
154</subsection>
155<subsection>
156<title>A Stage2 Approach</title>
157<body>
158
159<p>
160A <e>stage2</e> is used for building the entire system from a bootstrapped
161"semi-compiled" state.
132<p> 162</p>
133<e>Stage2</e> installs allow you to skip the bootstrap process and doing this 163
134is fine if you are happy with the optimization settings that we chose 164<p>
135for your particular <e>stage2</e> tarball. 165When you perform a stage2 installation approach, you will build all system
166packages (core packages, including toolchain) using your specific <c>USE</c>,
167<c>CFLAGS</c> and <c>CXXFLAGS</c> settings. Any package build will therefore be
168optimized to your preference.
169</p>
170
171<p>
172However, this installation takes some time and if you do not intend to change
173the <c>CFLAGS</c> and <c>CXXFLAGS</c> settings that we have defined as a "good
174default", using this approach only makes sense if your <c>USE</c> variable is
175sufficiently different from the default <c>USE</c> we provide.
136</p> 176</p>
137 177
138<table> 178<table>
139<tr> 179<tr>
140 <th>Stage2</th> 180 <th>Stage2</th>
152 <th>+</th> 192 <th>+</th>
153 <ti>You can still tweak your settings</ti> 193 <ti>You can still tweak your settings</ti>
154</tr> 194</tr>
155<tr> 195<tr>
156 <th>-</th> 196 <th>-</th>
157 <ti>You cannot tweak as much as with a stage1</ti> 197 <ti>It's still not the fastest way to install Gentoo</ti>
158</tr> 198</tr>
159<tr> 199<tr>
160 <th>-</th> 200 <th>-</th>
161 <ti>It's not the fastest way to install Gentoo</ti> 201 <ti>
162</tr> 202 Requires a working Internet connection during the installation
163<tr> 203 </ti>
164 <th>-</th>
165 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
166</tr> 204</tr>
167</table> 205</table>
168 206
207</body>
208</subsection>
209<subsection>
210<title>A Stage3 Approach</title>
211<body>
212
213<p>
214A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
215built for you. You will only need to build a few packages (such as system
216logger, networking tools, ...) before you can boot into a base Gentoo
217installation.
169<p> 218</p>
219
220<p>
170Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo 221Choosing to go with a stage3 allows for the fastest install of Gentoo
171Linux, but also means that your base system will have the optimization 222Linux, but also means that your base system will have the optimization
172settings that we chose for you (which to be honest, are good settings 223settings that we chose for you (which to be honest, are good settings
173and were carefully chosen to enhance performance while maintaining 224and were carefully chosen to enhance performance while maintaining
174stability). <e>stage3</e> is also required if you want to install Gentoo using 225stability). Stage3 is also required if you want to install Gentoo using
175prebuilt packages. 226prebuilt packages or without a network connection.
176</p> 227</p>
177 228
178<table> 229<table>
179<tr> 230<tr>
180 <th>Stage3</th> 231 <th>Stage3</th>
183<tr> 234<tr>
184 <th>+</th> 235 <th>+</th>
185 <ti>Fastest way to get a Gentoo base system</ti> 236 <ti>Fastest way to get a Gentoo base system</ti>
186</tr> 237</tr>
187<tr> 238<tr>
239 <th>+</th>
240 <ti>
241 You can still tweak your system
242 </ti>
243</tr>
244</table>
245
246<p>
247You might be interested to know that, if you decide to use different
248optimization settings after having installed Gentoo, you will be able to
249recompile your entire system with the new optimization settings. The same goes
250for any <c>USE</c> flag changes: Portage is intelligent enough to know what
251packages need to be rebuild.
252</p>
253
254</body>
255</subsection>
256</section>
257
258<section>
259<title>The Gentoo Installation CDs</title>
260<subsection>
261<title>Introduction</title>
262<body>
263
264<p>
265The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
266self-sustained Gentoo environment. They allow you to boot Linux from the CD.
267During the boot process your hardware is detected and the appropriate drivers
268are loaded. They are maintained by Gentoo developers.
269</p>
270
271<p>
272All Installation CDs allow you to boot, set up networking, initialize your
273partitions and start installing Gentoo from the Internet. We currently provide
274two Installation CDs which are equaly suitable to install Gentoo from, as long
275as you're planning on performing an Internet-based installation using the
276latest version of the available packages.
277</p>
278
279<p>
280If you wish to install Gentoo without a working Internet connection, please use
281the installation instructions described in the <uri
282link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>.
283</p>
284
285<p>
286The two Installation CDs we currently provide are:
287</p>
288
289<ul>
290 <li>
291 The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which
292 sole purpose is to boot the system, prepare the networking and continue
293 with the Gentoo installation.
294 </li>
295 <li>
296 The Gentoo Universal Installation CD, a bootable CD with the same abilities
297 as the Minimal Installation CD. Additionally, it contains a stage1 and
298 several stage3 tarballs (optimized for the individual subarchitectures).
299 </li>
300</ul>
301
302<p>
303To help you decide which Installation CD you need, we have written down the
304major advantages and disadvantages of each Installation CD.
305</p>
306
307</body>
308</subsection>
309<subsection>
310<title>Gentoo's Minimal Installation CD</title>
311<body>
312
313<p>
314The Minimal Installation CD is called <c>install-alpha-minimal-2005.1.iso</c>
315and takes up only 54 MB of diskspace. You can use this Installation CD to
316install Gentoo, but always with a working Internet connection only.
317</p>
318
319<table>
320<tr>
321 <th>Minimal Installation CD</th>
322 <th>Pros and Cons</th>
323</tr>
324<tr>
325 <th>+</th>
326 <ti>Smallest download</ti>
327</tr>
328<tr>
329 <th>+</th>
330 <ti>
331 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
332 net
333 </ti>
334</tr>
335<tr>
188 <th>-</th> 336 <th>-</th>
189 <ti>You cannot tweak the base system - it's built already</ti> 337 <ti>
190</tr> 338 Contains no stages, no Portage snapshot, no prebuilt packages and is
191<tr> 339 therefore not suitable for networkless installation
192 <th>-</th> 340 </ti>
193 <ti>You cannot brag about having used stage1 or stage2</ti>
194</tr> 341</tr>
195</table> 342</table>
196 343
197<p>
198Write down (or remember) what stage you want to use. You need this later when
199you decide what LiveCD (or other installation medium) you want to use. You might
200be interested to know that, if you decide to use different optimization settings
201after having installed Gentoo, you will be able to recompile your entire system
202with the new optimization settings.
203</p>
204
205<p>
206Now take a look at the available installation media.
207</p>
208
209</body> 344</body>
210</subsection>
211<subsection> 345</subsection>
212<title>The Gentoo Alpha LiveCD</title> 346<subsection>
347<title>Gentoo's Universal Installation CD</title>
348<body>
349
350<p>
351The Universal Installation CD is called <c>install-alpha-universal-2005.1.iso</c>
352and consumes the entire surface of a 650 MB CD. You can use this Installation CD
353to install Gentoo, and you can even use it to install Gentoo without a working
354internet connection, just in case you want to bring Gentoo to another PC than
355the one you are currently installing Gentoo on :)
356</p>
357
358<table>
359<tr>
360 <th>Universal Installation CD</th>
361 <th>Pros and Cons</th>
362</tr>
363<tr>
364 <ti>+</ti>
365 <ti>
366 Contains everything you need. You can even install without a network
367 connection.
368 </ti>
369</tr>
370<tr>
371 <ti>-</ti>
372 <ti>
373 Huge download
374 </ti>
375</tr>
376</table>
377
213<body> 378</body>
379</subsection>
380<subsection>
381<title>Other CDs</title>
382<body>
214 383
215<p>
216The <e>Gentoo Alpha LiveCD</e> is a bootable CD which contain a
217self-sustained Gentoo environment. It allows you to boot Linux from the CD.
218During the boot process your hardware is detected and the appropriate drivers
219are loaded. It is maintained by Gentoo developers.
220</p> 384<p>
221 385You might find a so-called Package CD on one of our mirrors. This CD is no
386Installation CD but an additional resource that can be exploited during a
387networkless installation. It contains prebuilt packages (the so-called GRP set)
388that allows you to easily and quickly install additional applications (such as
389OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo
390installation.
222<p> 391</p>
223The <e>Gentoo Alpha LiveCD</e> is a small, no-nonsense, bootable CD which sole 392
224purpose is to boot the system, prepare the networking and continue with the 393<p>
225Gentoo installation. It does not contain any stages (or, in some cases, a 394If you intend to use the Packages CD to quickly install additional software,
226single stage1 file), source code or precompiled packages. For example the 395make sure that you use the same subarchitecture as the stage-3 tarball you use.
227alpha variant of this LiveCD can be found in the
228<path>releases/1.4_rc1/alpha</path> subdirectory and is called
229<c>gentoo-alpha-1.4rc1-test3.iso.bz2</c>.
230</p> 396</p>
231 397
232</body> 398</body>
233</subsection> 399</subsection>
234</section> 400</section>
401<!-- STOP -->
235<section> 402<section>
236<title>Download, Burn and Boot the Gentoo LiveCD</title> 403<title>Download, Burn and Boot a Gentoo Installation CD</title>
237<subsection> 404<subsection>
238<title>Downloading and Burning the LiveCDs</title> 405<title>Downloading and Burning the Installation CDs</title>
239<body> 406<body>
240 407
241<p>
242You have chosen to use a Gentoo LiveCD (if not, then you are reading the
243wrong document). We'll first start by downloading and burning the chosen
244LiveCD.
245</p> 408<p>
246 409You have chosen to use a Gentoo Installation CD. We'll first start by
410downloading and burning the chosen Installation CD. We previously discussed
411the several available Installation CDs, but where can you find them?
247<p> 412</p>
248Visit one of our <uri 413
249link="/main/en/mirrors.xml">mirrors</uri> and go to 414<p>
250<path>releases/1.4rc1/alpha</path> which is where the LiveCD(s) of your choice 415You can download any of the Installation CDs (and, if you want to, a Packages
416CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
417Installation CDs are located in the <path>releases/alpha/2005.1/installcd</path>
418directory.
419</p>
420
421<p>
251are located. Inside that directory you'll find so-called ISO-files. Those are 422Inside that directory you'll find so-called ISO-files. Those are full CD images
252full CD images which you can write on a CD-R. 423which you can write on a CD-R.
253</p> 424</p>
254 425
255<p> 426<p>
256In case you wonder if your downloaded file is corrupted or not, you can 427In case you wonder if your downloaded file is corrupted or not, you can
257check its MD5 checksum and compare it with the MD5 checksum we provide (such as 428check its MD5 checksum and compare it with the MD5 checksum we provide (such as
258<path>gentoo-alpha-1.4rc1-test3.iso.bz2.md5sum</path>). You can check the MD5 429<path>install-alpha-minimal-2005.1.iso.md5</path>). You can check the MD5
259checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 430checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
260link="http://www.md5summer.org">md5summer</uri> for Windows. 431link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
261</p>
262
263<p> 432</p>
264Once downloaded, decompress the ISO file (as it is stored in a compressed format 433
265using the Burrows-Wheeler text compression algorithm) using <c>bunzip2</c> (on
266Unix/Linux systems):
267</p> 434<p>
435Another way to check the validity of the downloaded file is to use GnuPG to
436verify the cryptographic signature that we provide (the file ending with
437<path>.asc</path>). Download the signature file and obtain the public key:
438</p>
268 439
269<pre caption="Decompressing the iso.bz2 file"> 440<pre caption="Obtaining the public key">
270# <i>bunzip2 gentoo-alpha-1.4rc1-test3.iso.bz2</i> 441$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i>
442</pre>
443
444<p>
445Now verify the signature:
446</p>
447
448<pre caption="Verify the cryptographic signature">
449$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
271</pre> 450</pre>
272 451
273<p> 452<p>
274To burn the downloaded ISO(s), you have to select raw-burning. How you 453To burn the downloaded ISO(s), you have to select raw-burning. How you
275do this is highly program-dependent. We will discuss a couple of popular 454do this is highly program-dependent. We will discuss <c>cdrecord</c> and
276tools on how to do this. 455<c>K3B</c> here; more information can be found in our <uri
456link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
277</p> 457</p>
278 458
279<ul> 459<ul>
280 <li> 460 <li>
281 With EasyCD Creator you select <c>File</c>, <c>Record CD 461 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
282 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image 462 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
283 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on 463 device path).
284 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
285 </li> 464 </li>
286 <li> 465 <li>
287 With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the
288 type of file to <c>*.*</c> and select the ISO file. Older versions of Nero
289 will tell you they don't recognize the format -- confirm here, it does
290 recognize it but doesn't know it yet :) In the next dialog, set the
291 following parameters:
292 <ul>
293 <li>Type of image: <c>Data Mode 1</c></li>
294 <li>Block size: <c>2048 bytes</c></li>
295 <li>File precursor and length of the image trailer: <c>0 bytes</c></li>
296 <li>Scrambled: <c>no</c></li>
297 <li>Swapped: <c>no</c></li>
298 </ul>
299 Now click on <c>OK</c> and then <c>Burn</c> (the CD-R)
300 </li>
301 <li>
302 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
303 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
304 by the path to the ISO file :)
305 </li>
306 <li>
307 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. The 466 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
308 under the 'Image to Burn' area, locate the ISO file. Finally click 467 you can locate your ISO file within the 'Image to Burn' area. Finally click
309 <c>Start</c>. 468 <c>Start</c>.
310 </li> 469 </li>
311</ul> 470</ul>
312 471
313</body> 472</body>
314</subsection> 473</subsection>
315<subsection> 474<subsection>
316<title>Booting the Alpha LiveCD(s)</title> 475<title>Booting the Installation CD</title>
317<body> 476<body>
318 477
319<p> 478<p>
320When your Alpha is powered on, the first thing that gets started is the 479When your Alpha is powered on, the first thing that gets started is the
321firmware. It is loosely synonymous with the BIOS software on PC systems. There 480firmware. It is loosely synonymous with the BIOS software on PC systems. There
323Manual</e>) and ARC (<e>Advanced Risc Console</e>). 482Manual</e>) and ARC (<e>Advanced Risc Console</e>).
324</p> 483</p>
325 484
326<p> 485<p>
327SRM is based on the Alpha Console Subsystem specification, which provides an 486SRM is based on the Alpha Console Subsystem specification, which provides an
328operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM 487operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
329is based on the Advanced RISC Computing (ARC) specification, which provides 488is based on the Advanced RISC Computing (ARC) specification, which provides
330an operating environment for Windows NT. 489an operating environment for Windows NT. You can find a
331</p> 490<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on
332 491using SRM over at the Alpha Linux website.
333<p> 492</p>
493
494<p>
334If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you 495If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you
335should follow <uri link="http://www.alphalinux.org/faq/x31.html">these 496should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
336instructions</uri> for switching to SRM. If your system already uses SRM, you 497instructions</uri> for switching to SRM. If your system already uses SRM, you
337are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you 498are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
338will need to choose <c>MILO</c> later on when we are talking about bootloaders. 499will need to choose <c>MILO</c> later on when we are talking about bootloaders.
339</p> 500</p>
340 501
341<p> 502<p>
342Now to boot an Alpha LiveCD, put the CD-ROM in the tray and reboot the system. 503Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
343You can use SRM to boot the LiveCD. If you cannot do that, you will have to use 504system. You can use SRM to boot the Installation CD. If you cannot do that, you
344<c>MILO</c>. If you don't have <c>MILO</c> installed already, use one of the 505will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already,
345precompiled <c>MILO</c> images available on <uri 506use one of the precompiled <c>MILO</c> images available on <uri
346link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. 507link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
347</p> 508</p>
348 509
349<pre caption="Booting a CD-ROM using SRM"> 510<pre caption="Booting a CD-ROM using SRM">
350<comment>(List available hardware drives)</comment> 511<comment>(List available hardware drives)</comment>
351&gt;&gt;&gt; <i>show device</i> 512&gt;&gt;&gt; <i>show device</i>
352dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 513dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
353<comment>(...)</comment> 514<comment>(...)</comment>
354<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 515<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
355&gt;&gt;&gt; <i>boot dkb0 -flags 0</i> 516&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
517<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment>
518&gt;&gt;&gt; <i>boot dkb -flags 1</i>
356</pre> 519</pre>
357 520
358<pre caption="Booting a CD-ROM using MILO"> 521<pre caption="Booting a CD-ROM using MILO">
359<comment>(Substitute hdb with your CD-ROM drive device)</comment> 522<comment>(Substitute hdb with your CD-ROM drive device)</comment>
360MILO&gt; <i>boot hdb:boot/vmlinuz initrd=initrd.img root=/dev/ram0 init=/linuxrc</i> 523MILO&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>
524<comment>To boot the 2.4 kernel instead of the default 2.6 kernel use:</comment>
525MILO&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>
361</pre> 526</pre>
362 527
363<p> 528<p>
364You should have a root ("#") prompt on the current console and can also switch 529You should have a root ("#") prompt on the current console and can also switch
365to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 530to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
375<subsection id="hardware"> 540<subsection id="hardware">
376<title>Extra Hardware Configuration</title> 541<title>Extra Hardware Configuration</title>
377<body> 542<body>
378 543
379<p> 544<p>
380When the Live CD boots, it tries to detect all your hardware devices and 545When the Installation CD boots, it tries to detect all your hardware devices and
381loads the appropriate kernel modules to support your hardware. In the 546loads the appropriate kernel modules to support your hardware. In the
382vast majority of cases, it does a very good job. However, in some cases (the 547vast majority of cases, it does a very good job. However, in some cases it may
383SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel 548not auto-load the kernel
384modules you need. If the PCI auto-detection missed some of your system's 549modules you need. If the PCI auto-detection missed some of your system's
385hardware, you will have to load the appropriate kernel modules manually. 550hardware, you will have to load the appropriate kernel modules manually.
386</p> 551</p>
387 552
388<p> 553<p>
422<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> 587<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
423</pre> 588</pre>
424 589
425</body> 590</body>
426</subsection> 591</subsection>
427<subsection> 592<subsection id="useraccounts">
428<title>Optional: User Accounts</title> 593<title>Optional: User Accounts</title>
429<body> 594<body>
430 595
431<p> 596<p>
432If you plan on giving other people access to your installation 597If you plan on giving other people access to your installation
450its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. 615its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
451In the next example, we create a user called &quot;john&quot;. 616In the next example, we create a user called &quot;john&quot;.
452</p> 617</p>
453 618
454<pre caption="Creating a user account"> 619<pre caption="Creating a user account">
455# <i>useradd john</i> 620# <i>useradd -m -G users john</i>
456# <i>passwd john</i> 621# <i>passwd john</i>
457New password: <comment>(Enter john's password)</comment> 622New password: <comment>(Enter john's password)</comment>
458Re-enter password: <comment>(Re-enter john's password)</comment> 623Re-enter password: <comment>(Re-enter john's password)</comment>
459</pre> 624</pre>
460 625
462You can change your user id from root to the newly created user by using 627You can change your user id from root to the newly created user by using
463<c>su</c>: 628<c>su</c>:
464</p> 629</p>
465 630
466<pre caption="Changing user id"> 631<pre caption="Changing user id">
467# <i>su john -</i> 632# <i>su - john</i>
633</pre>
634
635</body>
636</subsection>
637<subsection>
638<title>Optional: Viewing Documentation while Installing</title>
639<body>
640
641<p>
642If you want to view the Gentoo Handbook (either from-CD or online) during the
643installation, make sure you have created a user account (see <uri
644link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
645go to a new terminal and log in.
468</pre> 646</p>
647
648<p>
649If you want to view the documentation on the CD you can immediately run
650<c>lynx</c> to read it:
651</p>
652
653<pre caption="Viewing the on-CD documentation">
654# <i>lynx /mnt/cdrom/docs/html/index.html</i>
655</pre>
656
657<p>
658However, it is preferred that you use the online Gentoo Handbook as it will be
659more recent than the one provided on the CD. You can view it using <c>lynx</c>
660as well, but only after having completed the <e>Configuring your Network</e>
661chapter (otherwise you won't be able to go on the Internet to view the
662document):
663</p>
664
665<pre caption="Viewing the Online Documentation">
666# <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i>
667</pre>
668
669<p>
670You can go back to your original terminal by pressing <c>Alt-F1</c>.
671</p>
469 672
470</body> 673</body>
471</subsection> 674</subsection>
472<subsection> 675<subsection>
473<title>Optional: Starting the SSH Daemon</title> 676<title>Optional: Starting the SSH Daemon</title>
488<pre caption="Starting the SSH daemon"> 691<pre caption="Starting the SSH daemon">
489# <i>/etc/init.d/sshd start</i> 692# <i>/etc/init.d/sshd start</i>
490</pre> 693</pre>
491 694
492<p> 695<p>
493To be able to use sshd, you first need to setup your networking. Continue with 696To be able to use sshd, you first need to set up your networking. Continue with
494the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>. 697the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
495</p> 698</p>
496 699
497</body> 700</body>
498</subsection> 701</subsection>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.20