/[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.26 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.26 2005/02/14 15:51: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 10
11<version>1.21</version> 11<version>2.8</version>
12<date>2005-01-07</date> 12<date>2005-10-09</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>
51</table> 51</table>
52 52
53</body> 53</body>
54</subsection> 54</subsection>
55</section> 55</section>
56<!-- Copy/paste from the hb-install-x86-medium.xml file but no Universal LiveCD. 56<!-- Copy/paste from the hb-install-x86-medium.xml file. -->
57 Also s/x86/alpha -->
58<!-- START --> 57<!-- START -->
59<section> 58<section>
60<title>The Gentoo Installation Approaches</title> 59<title>The Gentoo Installation Approaches</title>
61<subsection> 60<subsection>
62<title>Introduction</title> 61<title>Introduction</title>
101A <e>stage1</e> is used when you want to bootstrap and build the entire system 100A <e>stage1</e> is used when you want to bootstrap and build the entire system
102from scratch. 101from scratch.
103</p> 102</p>
104 103
105<p> 104<p>
106Starting from a stage1 allows you to have total control over the 105This approach builds core system packages that are vital to your system and is
107optimization settings and optional build-time functionality that is 106used by Gentoo developers to prepare the Gentoo release media. It is a great
108initially enabled on your system. This makes <e>stage1</e> installs good for
109power users who know what they are doing. It is also a great
110installation method for those who would like to know more about the 107installation method for those who would like to learn more about the inner
111inner 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.
112</p> 115</p>
113 116
114<table> 117<table>
115<tr> 118<tr>
116 <th>Stage1</th> 119 <th>Stage1</th>
117 <th>Pros and Cons</th> 120 <th>Pros and Cons</th>
118</tr> 121</tr>
119<tr> 122<tr>
120 <th>+</th> 123 <th>+</th>
121 <ti> 124 <ti>
122 Allows you to have total control over the optimization settings and optional 125 Allows you to have total control over the installation routine, bootstrap
123 build-time functionality that is initially enabled on your system 126 sequence, etc.
124 </ti> 127 </ti>
125</tr>
126<tr> 128</tr>
127 <th>+</th>
128 <ti>Suitable for powerusers that know what they are doing</ti>
129</tr> 129<tr>
130<tr>
131 <th>+</th> 130 <th>+</th>
132 <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>
133</tr> 132</tr>
134<tr> 133<tr>
135 <th>-</th> 134 <th>-</th>
136 <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>
137</tr> 138</tr>
138<tr> 139<tr>
139 <th>-</th> 140 <th>-</th>
140 <ti> 141 <ti>
141 If you don't intend to tweak the settings, it is 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
142 </ti> 149 </ti>
143</tr> 150</tr>
144</table> 151</table>
145 152
146</body> 153</body>
153A <e>stage2</e> is used for building the entire system from a bootstrapped 160A <e>stage2</e> is used for building the entire system from a bootstrapped
154"semi-compiled" state. 161"semi-compiled" state.
155</p> 162</p>
156 163
157<p> 164<p>
158Stage2 installs allow you to skip the bootstrap process; doing this 165When you perform a stage2 installation approach, you will build all system
159is fine if you are happy with the optimization settings that we chose 166packages (core packages, including toolchain) using your specific <c>USE</c>,
160for your particular stage2 tarball. 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.
161</p> 176</p>
162 177
163<table> 178<table>
164<tr> 179<tr>
165 <th>Stage2</th> 180 <th>Stage2</th>
177 <th>+</th> 192 <th>+</th>
178 <ti>You can still tweak your settings</ti> 193 <ti>You can still tweak your settings</ti>
179</tr> 194</tr>
180<tr> 195<tr>
181 <th>-</th> 196 <th>-</th>
182 <ti>You cannot tweak as much as with a stage1</ti> 197 <ti>It's still not the fastest way to install Gentoo</ti>
183</tr> 198</tr>
184<tr> 199<tr>
185 <th>-</th> 200 <th>-</th>
186 <ti>It's still not the fastest way to install Gentoo</ti> 201 <ti>
187</tr> 202 Requires a working Internet connection during the installation
188<tr> 203 </ti>
189 <th>-</th>
190 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
191</tr> 204</tr>
192</table> 205</table>
193 206
194</body> 207</body>
195</subsection> 208</subsection>
197<title>A Stage3 Approach</title> 210<title>A Stage3 Approach</title>
198<body> 211<body>
199 212
200<p> 213<p>
201A <e>stage3</e> installation contains a basic Gentoo Linux system that has been 214A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
202built for you. You will only need to build a few packages of which we can't 215built for you. You will only need to build a few packages (such as system
203decide for you which one to choose. 216logger, networking tools, ...) before you can boot into a base Gentoo
217installation.
204</p> 218</p>
205 219
206<p> 220<p>
207Choosing to go with a stage3 allows for the fastest install of Gentoo 221Choosing to go with a stage3 allows for the fastest install of Gentoo
208Linux, but also means that your base system will have the optimization 222Linux, but also means that your base system will have the optimization
220<tr> 234<tr>
221 <th>+</th> 235 <th>+</th>
222 <ti>Fastest way to get a Gentoo base system</ti> 236 <ti>Fastest way to get a Gentoo base system</ti>
223</tr> 237</tr>
224<tr> 238<tr>
225 <th>-</th> 239 <th>+</th>
226 <ti>You cannot tweak the base system - it's built already</ti> 240 <ti>
241 You can still tweak your system
242 </ti>
227</tr> 243</tr>
228</table> 244</table>
229 245
230<p> 246<p>
231You might be interested to know that, if you decide to use different 247You might be interested to know that, if you decide to use different
232optimization settings after having installed Gentoo, you will be able to 248optimization settings after having installed Gentoo, you will be able to
233recompile your entire system with the new optimization settings. 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.
234</p> 252</p>
235 253
236</body> 254</body>
237</subsection> 255</subsection>
238</section> 256</section>
257
239<section> 258<section>
240<title>The Gentoo LiveCDs</title> 259<title>The Gentoo Installation CDs</title>
241<subsection> 260<subsection>
242<title>Introduction</title> 261<title>Introduction</title>
243<body> 262<body>
244 263
245<p> 264<p>
246The <e>Gentoo LiveCDs</e> are bootable CDs which contain a 265The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
247self-sustained Gentoo environment. They allow you to boot Linux from the CD. 266self-sustained Gentoo environment. They allow you to boot Linux from the CD.
248During the boot process your hardware is detected and the appropriate drivers 267During the boot process your hardware is detected and the appropriate drivers
249are loaded. They are maintained by Gentoo developers. 268are loaded. They are maintained by Gentoo developers.
250</p> 269</p>
251 270
252<p> 271<p>
253All LiveCDs allow you to boot, set up networking, initialize your 272All Installation CDs allow you to boot, set up networking, initialize your
254partitions and start installing Gentoo from the Internet. We currently provide 273partitions and start installing Gentoo from the Internet. We currently provide
255two LiveCDs which are equaly suitable to install Gentoo from, as long as you're 274two Installation CDs which are equaly suitable to install Gentoo from, as long
256planning on performing an Internet-based installation using the latest version 275as you're planning on performing an Internet-based installation using the
257of the available packages. 276latest version of the available packages.
258</p> 277</p>
259 278
260<p> 279<p>
261If you wish to install Gentoo without a working Internet connection, please use 280If you wish to install Gentoo without a working Internet connection, please use
262the installation instructions described in the <uri 281the installation instructions described in the <uri
263link="2004.3/index.xml">Gentoo 2004.3 Handbooks</uri>. This is currently not 282link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>.
264supported for the Alpha architecture though.
265</p>
266
267<p> 283</p>
268For the Alpha architecture, we only provide a <e>Minimal</e> LiveCD, 284
269a small, no-nonsense, bootable CD which sole purpose is to boot the
270system, prepare the networking and continue with the Gentoo installation.
271</p> 285<p>
286The two Installation CDs we currently provide are:
287</p>
272 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
273</body> 307</body>
274</subsection>
275<subsection> 308</subsection>
309<subsection>
276<title>Gentoo's Minimal LiveCD</title> 310<title>Gentoo's Minimal Installation CD</title>
277<body> 311<body>
278 312
279<p> 313<p>
280The Minimal LiveCD is called <c>install-alpha-minimal-2004.3-r1.iso</c> and 314The Minimal Installation CD is called <c>install-alpha-minimal-2005.1.iso</c>
281takes up only 54 MB of diskspace. You can use this LiveCD to install Gentoo, 315and takes up only 54 MB of diskspace. You can use this Installation CD to
282but always with a working Internet connection only. 316install Gentoo, but always with a working Internet connection only.
283</p> 317</p>
284 318
285<table> 319<table>
286<tr> 320<tr>
287 <th>Minimal LiveCD</th> 321 <th>Minimal Installation CD</th>
288 <th>Pros and Cons</th> 322 <th>Pros and Cons</th>
289</tr> 323</tr>
290<tr> 324<tr>
291 <th>+</th> 325 <th>+</th>
292 <ti>Smallest download</ti> 326 <ti>Smallest download</ti>
304 Contains no stages, no Portage snapshot, no prebuilt packages and is 338 Contains no stages, no Portage snapshot, no prebuilt packages and is
305 therefore not suitable for networkless installation 339 therefore not suitable for networkless installation
306 </ti> 340 </ti>
307</tr> 341</tr>
308</table> 342</table>
343
344</body>
345</subsection>
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
378</body>
379</subsection>
380<subsection>
381<title>Other CDs</title>
382<body>
383
384<p>
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.
391</p>
392
393<p>
394If you intend to use the Packages CD to quickly install additional software,
395make sure that you use the same subarchitecture as the stage-3 tarball you use.
396</p>
309 397
310</body> 398</body>
311</subsection> 399</subsection>
312</section> 400</section>
313<!-- STOP --> 401<!-- STOP -->
314<section> 402<section>
315<title>Download, Burn and Boot a Gentoo LiveCD</title> 403<title>Download, Burn and Boot a Gentoo Installation CD</title>
316<subsection> 404<subsection>
317<title>Downloading and Burning the LiveCDs</title> 405<title>Downloading and Burning the Installation CDs</title>
318<body> 406<body>
319 407
320<p>
321You have chosen to use a Gentoo LiveCD. We'll first start by downloading and
322burning the chosen LiveCD. We previously discussed the several available
323LiveCDs, but where can you find them?
324</p> 408<p>
325 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?
326<p> 412</p>
413
414<p>
327You can download any of the LiveCDs (and, if you want to, a Packages CD as 415You can download any of the Installation CDs (and, if you want to, a Packages
328well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The 416CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
329LiveCDs are located in the <path>releases/alpha/2004.3/livecd</path> directory. 417Installation CDs are located in the <path>releases/alpha/2005.1/installcd</path>
418directory.
330</p> 419</p>
331 420
332<p> 421<p>
333Inside that directory you'll find so-called ISO-files. Those are full CD images 422Inside that directory you'll find so-called ISO-files. Those are full CD images
334which you can write on a CD-R. 423which you can write on a CD-R.
335</p> 424</p>
336 425
337<p> 426<p>
338In 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
339check 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
340<path>install-alpha-minimal-2004.3.iso.md5</path>). You can check the MD5 checksum 429<path>install-alpha-minimal-2005.1.iso.md5</path>). You can check the MD5
341with the <c>md5sum</c> tool under Linux/Unix or <uri 430checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
342link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 431link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
343</p> 432</p>
344 433
345<p> 434<p>
346Another way to check the validity of the downloaded file is to use GnuPG to 435Another way to check the validity of the downloaded file is to use GnuPG to
369 458
370<ul> 459<ul>
371 <li> 460 <li>
372 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 461 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
373 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 462 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's
374 device path) followed by the path to the ISO file :) 463 device path).
375 </li> 464 </li>
376 <li> 465 <li>
377 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 466 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
378 you can locate your ISO file within the 'Image to Burn' area. Finally click 467 you can locate your ISO file within the 'Image to Burn' area. Finally click
379 <c>Start</c>. 468 <c>Start</c>.
381</ul> 470</ul>
382 471
383</body> 472</body>
384</subsection> 473</subsection>
385<subsection> 474<subsection>
386<title>Booting the LiveCD</title> 475<title>Booting the Installation CD</title>
387<body> 476<body>
388 477
389<p> 478<p>
390When 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
391firmware. 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
393Manual</e>) and ARC (<e>Advanced Risc Console</e>). 482Manual</e>) and ARC (<e>Advanced Risc Console</e>).
394</p> 483</p>
395 484
396<p> 485<p>
397SRM is based on the Alpha Console Subsystem specification, which provides an 486SRM is based on the Alpha Console Subsystem specification, which provides an
398operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM 487operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
399is based on the Advanced RISC Computing (ARC) specification, which provides 488is based on the Advanced RISC Computing (ARC) specification, which provides
400an operating environment for Windows NT. You can find a 489an operating environment for Windows NT. You can find a
401<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on 490<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on
402using SRM over at the Alpha Linux website. 491using SRM over at the Alpha Linux website.
403</p> 492</p>
404 493
405<p> 494<p>
406If 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
407should follow <uri link="http://www.alphalinux.org/faq/x31.html">these 496should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
408instructions</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
409are 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
410will 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.
411</p> 500</p>
412 501
413<p> 502<p>
414Now 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
415You 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
416<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,
417precompiled <c>MILO</c> images available on <uri 506use one of the precompiled <c>MILO</c> images available on <uri
418link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. 507link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>.
419</p> 508</p>
420 509
421<pre caption="Booting a CD-ROM using SRM"> 510<pre caption="Booting a CD-ROM using SRM">
422<comment>(List available hardware drives)</comment> 511<comment>(List available hardware drives)</comment>
423&gt;&gt;&gt; <i>show device</i> 512&gt;&gt;&gt; <i>show device</i>
424dkb0.0.1.4.0 DKB0 TOSHIBA CDROM 513dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
425<comment>(...)</comment> 514<comment>(...)</comment>
426<comment>(Substitute dkb0 with your CD-ROM drive device)</comment> 515<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
427&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>
428</pre> 519</pre>
429 520
430<pre caption="Booting a CD-ROM using MILO"> 521<pre caption="Booting a CD-ROM using MILO">
431<comment>(Substitute hdb with your CD-ROM drive device)</comment> 522<comment>(Substitute hdb with your CD-ROM drive device)</comment>
432MILO&gt; <i>boot hdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</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>
433</pre> 526</pre>
434 527
435<p> 528<p>
436You 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
437to 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
447<subsection id="hardware"> 540<subsection id="hardware">
448<title>Extra Hardware Configuration</title> 541<title>Extra Hardware Configuration</title>
449<body> 542<body>
450 543
451<p> 544<p>
452When 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
453loads the appropriate kernel modules to support your hardware. In the 546loads the appropriate kernel modules to support your hardware. In the
454vast 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
455SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel 548not auto-load the kernel
456modules 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
457hardware, you will have to load the appropriate kernel modules manually. 550hardware, you will have to load the appropriate kernel modules manually.
458</p> 551</p>
459 552
460<p> 553<p>

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

  ViewVC Help
Powered by ViewVC 1.1.20