/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.30 Revision 1.48
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.30 2005/03/28 11:30:53 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.48 2009/01/26 07:51:05 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.00</version> 11<version>9.2</version>
12<date>2005-03-28</date> 12<date>2009-01-25</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>
30 30
31<table> 31<table>
32<tr> 32<tr>
33 <th>Sparc System</th> 33 <th>Sparc System</th>
34 <ti> 34 <ti>
35 Please check the <uri 35 Please check the <uri link="/proj/en/base/sparc/sunhw.xml">Gentoo
36 Linux/SPARC64 Compatibility list</uri> or the <uri
36 link="http://www.ultralinux.org/faq.html#s_2">UltraLinux FAQ</uri> 37 link="http://www.ultralinux.org/faq.html#s_2">UltraLinux FAQ</uri>
37 </ti> 38 </ti>
38</tr> 39</tr>
39<tr> 40<tr>
40 <th>CPU</th> 41 <th>CPU</th>
57</table> 58</table>
58 59
59</body> 60</body>
60</subsection> 61</subsection>
61</section> 62</section>
62<!-- Copy/Paste from hb-install-x86-medium.xml --> 63
63<!-- Warning: The part originally contains "x86" -->
64<!-- START --> 64<!-- START -->
65<section>
66<title>The Gentoo Installation Approaches</title>
67<subsection>
68<title>Introduction</title>
69<body>
70
71<p>
72Gentoo Linux can be installed using one of three <e>stage</e> tarball files.
73A stage file is a tarball (compressed archive) that contains a minimal
74environment.
75</p>
76
77<ul>
78 <li>
79 A stage1 file contains nothing more than a compiler, Portage (Gentoo's
80 software management system) and a couple of packages on which the compiler
81 or Portage depends.
82 </li>
83 <li>
84 A stage2 file contains a so-called bootstrapped system, a minimal
85 environment from which one can start building all other necessary
86 applications that make a Gentoo environment complete.
87 </li>
88 <li>
89 A stage3 file contains a prebuilt minimal system which is almost fully
90 deployable. It only lacks a few applications where you, the Gentoo user,
91 needs to choose which one you want to install.
92 </li>
93</ul>
94
95<p>
96To help you decide what stage file you want to use, we have written down the
97major advantages and disadvantages of each stage file.
98</p>
99
100</body>
101</subsection>
102<subsection>
103<title>A Stage1 Approach</title>
104<body>
105
106<p>
107A <e>stage1</e> is used when you want to bootstrap and build the entire system
108from scratch.
109</p>
110
111<p>
112Starting from a stage1 allows you to have total control over the
113optimization settings and optional build-time functionality that is
114initially enabled on your system. This makes <e>stage1</e> installs good for
115power users who know what they are doing. It is also a great
116installation method for those who would like to know more about the
117inner workings of Gentoo Linux.
118</p>
119
120<table>
121<tr>
122 <th>Stage1</th>
123 <th>Pros and Cons</th>
124</tr>
125<tr>
126 <th>+</th>
127 <ti>
128 Allows you to have total control over the optimization settings and optional
129 build-time functionality that is initially enabled on your system
130 </ti>
131</tr>
132<tr>
133 <th>+</th>
134 <ti>Suitable for powerusers that know what they are doing</ti>
135</tr>
136<tr>
137 <th>+</th>
138 <ti>Allows you to learn more about the inner workings of Gentoo</ti>
139</tr>
140<tr>
141 <th>-</th>
142 <ti>Takes a long time to finish the installation</ti>
143</tr>
144<tr>
145 <th>-</th>
146 <ti>
147 If you don't intend to tweak the settings, it is a waste of time
148 </ti>
149</tr>
150</table>
151
152</body>
153</subsection>
154<subsection>
155<title>A Stage2 Approach</title>
156<body>
157
158<p>
159A <e>stage2</e> is used for building the entire system from a bootstrapped
160"semi-compiled" state.
161</p>
162
163<p>
164Stage2 installs allow you to skip the bootstrap process; doing this
165is fine if you are happy with the optimization settings that we chose
166for your particular stage2 tarball.
167</p>
168
169<table>
170<tr>
171 <th>Stage2</th>
172 <th>Pros and Cons</th>
173</tr>
174<tr>
175 <th>+</th>
176 <ti>You don't need to bootstrap</ti>
177</tr>
178<tr>
179 <th>+</th>
180 <ti>Faster than starting with stage1</ti>
181</tr>
182<tr>
183 <th>+</th>
184 <ti>You can still tweak your settings</ti>
185</tr>
186<tr>
187 <th>-</th>
188 <ti>You cannot tweak as much as with a stage1</ti>
189</tr>
190<tr>
191 <th>-</th>
192 <ti>It's still not the fastest way to install Gentoo</ti>
193</tr>
194<tr>
195 <th>-</th>
196 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
197</tr>
198</table>
199
200</body>
201</subsection>
202<subsection>
203<title>A Stage3 Approach</title>
204<body>
205
206<p>
207A <e>stage3</e> installation contains a basic Gentoo Linux system that has been
208built for you. You will only need to build a few packages of which we can't
209decide for you which one to choose.
210</p>
211
212<p>
213Choosing to go with a stage3 allows for the fastest install of Gentoo
214Linux, but also means that your base system will have the optimization
215settings that we chose for you (which to be honest, are good settings
216and were carefully chosen to enhance performance while maintaining
217stability). Stage3 is also required if you want to install Gentoo using
218prebuilt packages or without a network connection.
219</p>
220
221<table>
222<tr>
223 <th>Stage3</th>
224 <th>Pros and Cons</th>
225</tr>
226<tr>
227 <th>+</th>
228 <ti>Fastest way to get a Gentoo base system</ti>
229</tr>
230<tr>
231 <th>-</th>
232 <ti>You cannot tweak the base system - it's built already</ti>
233</tr>
234</table>
235
236<p>
237You might be interested to know that, if you decide to use different
238optimization settings after having installed Gentoo, you will be able to
239recompile your entire system with the new optimization settings.
240</p>
241
242</body>
243</subsection>
244</section>
245<section> 65<section>
246<title>The Gentoo Installation CDs</title> 66<title>The Gentoo Installation CDs</title>
247<subsection> 67<subsection>
248<title>Introduction</title> 68<title>Introduction</title>
249<body> 69<body>
256</p> 76</p>
257 77
258<p> 78<p>
259All Installation CDs allow you to boot, set up networking, initialize your 79All Installation CDs allow you to boot, set up networking, initialize your
260partitions and start installing Gentoo from the Internet. We currently provide 80partitions and start installing Gentoo from the Internet. We currently provide
261two Installation CDs which are equaly suitable to install Gentoo from, as long 81two Installation CDs which are equally suitable to install Gentoo from, as long
262as you're planning on performing an Internet-based installation using the latest 82as you're planning on performing an Internet-based installation using the latest
263version of the available packages. 83version of the available packages.
264</p> 84</p>
265 85
266<p> 86<p>
267If you wish to install Gentoo without a working Internet connection, please use 87If you wish to install Gentoo without a working Internet connection, please use
268the installation instructions described in the <uri 88the installation instructions described in the <uri
269link="2005.0/index.xml">Gentoo 2005.0 Handbooks</uri>. 89link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
270</p> 90</p>
271 91
272<p> 92<p>
273The two Installation CDs that we currently provide are: 93The two Installation CDs that we currently provide are:
274</p> 94</p>
279 which sole purpose is to boot the system, prepare the networking and 99 which sole purpose is to boot the system, prepare the networking and
280 continue with the Gentoo installation. 100 continue with the Gentoo installation.
281 </li> 101 </li>
282 <li> 102 <li>
283 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same 103 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
284 abilities as the Minimal Installation CD. Additionally, it contains a 104 abilities as the Minimal Installation CD. Additionally, it contains
285 stage1 and several stage3 tarballs (optimized for the individual 105 several stage3 tarballs (optimized for the individual subarchitectures).
286 subarchitectures).
287 </li> 106 </li>
288</ul> 107</ul>
289 108
290<p> 109<p>
291We currently only provide Installation CDs for the sparc64 architecture. Users
292of sparc32 can use the experimental netboot images to install Gentoo from.
293More information about netbooting can be found in our <uri
294link="/doc/en/gentoo-sparc-netboot-howto.xml">Gentoo/SPARC Netboot
295HOWTO</uri>.
296</p>
297
298<p>
299To help you decide which Installation CD you need, we have written down the 110To help you decide which Installation CD you need, we have written down the
300major advantages and disadvantages of each Installation CD. 111major advantages and disadvantages of each Installation CD.
301</p> 112</p>
302 113
303</body> 114</body>
305<subsection> 116<subsection>
306<title>Gentoo's Minimal Installation CD</title> 117<title>Gentoo's Minimal Installation CD</title>
307<body> 118<body>
308 119
309<p> 120<p>
310The Minimal Installation CD is called <c>install-sparc64-minimal-2005.0.iso</c> 121The Minimal Installation CD is called <c>install-sparc64-minimal-2008.0.iso</c>
311and takes up only 130 MB of diskspace. You can use this Installation CD to 122and takes up only 44 MB of diskspace. You can use this Installation CD to
312install Gentoo, but always with a working Internet connection only. 123install Gentoo, but always with a working Internet connection only.
313</p> 124</p>
314 125
315<table> 126<table>
316<tr> 127<tr>
320<tr> 131<tr>
321 <th>+</th> 132 <th>+</th>
322 <ti>Smallest download</ti> 133 <ti>Smallest download</ti>
323</tr> 134</tr>
324<tr> 135<tr>
325 <th>+</th>
326 <ti>
327 You can do a stage1, stage2 or stage3 by getting the stage tarball off the
328 net
329 </ti>
330</tr>
331<tr>
332 <th>-</th> 136 <th>-</th>
333 <ti> 137 <ti>
334 Contains no stages, no Portage snapshot, no prebuilt packages and is 138 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
335 therefore not suitable for networkless installation 139 therefore not suitable for networkless installation
336 </ti> 140 </ti>
337</tr> 141</tr>
338</table> 142</table>
339 143
342<subsection> 146<subsection>
343<title>Gentoo's Universal Installation CD</title> 147<title>Gentoo's Universal Installation CD</title>
344<body> 148<body>
345 149
346<p> 150<p>
347The Universal Installation CD is called 151The Universal Installation CD is called
348<c>install-sparc-universal-2005.0.iso</c> and consumes the entire surface of a 152<c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this
349650 MB CD. You can use this Installation CD to install 153Installation CD to install Gentoo, and you can even use it to install Gentoo
350Gentoo, and you can even use it to install Gentoo without a working internet 154without a working internet connection.
351connection, just in case you want to bring Gentoo to another PC than the one you
352are currently installing Gentoo on :)
353</p> 155</p>
354 156
355<table> 157<table>
356<tr> 158<tr>
357 <th>Universal Installation CD</th> 159 <th>Universal Installation CD</th>
375<subsection> 177<subsection>
376<title>Other CDs</title> 178<title>Other CDs</title>
377<body> 179<body>
378 180
379<p> 181<p>
380You might find a so-called <e>Package CD</e> on one of our mirrors. This CD is 182You might find a <e>Package CD</e> on one of our mirrors. This CD is not an
381no Installation CD but an additional resource that can be exploited during a 183Installation CD but an additional resource that can be exploited during a
382networkless installation. It contains prebuilt packages (the so-called GRP set) 184networkless installation. It contains prebuilt packages (also known as the GRP
383that allows you to easily and quickly install additional applications (such as 185set) that allow you to easily and quickly install additional applications
384OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo 186(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
385installation. 187Gentoo installation.
188</p>
189
190<p>
191If you intend to use the Packages CD to quickly install additional software,
192make sure that you use the same subarchitecture as the stage3 tarball you use.
193</p>
194
195</body>
196</subsection>
197<subsection>
198<title>The Stage3 Tarball</title>
199<body>
200
201<p>
202A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
203to continue the Gentoo installation using the instructions in this manual.
204Previously, the Gentoo Handbook described the installation using one of three
205stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
206official installation method uses the stage3 tarball. If you are interested in
207performing a Gentoo installation using a stage1 or stage2 tarball, please read
208the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
209Using a Stage1 or Stage2 Tarball?</uri>
386</p> 210</p>
387 211
388</body> 212</body>
389</subsection> 213</subsection>
390</section> 214</section>
400downloading and burning the chosen Installation CD. We previously discussed 224downloading and burning the chosen Installation CD. We previously discussed
401the several available Installation CDs, but where can you find them? 225the several available Installation CDs, but where can you find them?
402</p> 226</p>
403 227
404<p> 228<p>
405You can download any of the Installation CDs (and, if you want to, a Packages 229You can download any of the Installation CDs (and, if you want to, a Packages CD
406CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The 230as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
407Installation CDs are located in the 231Installation CDs are located in the <path><keyval
408<path>releases/sparc/2005.0/installcd/sparc64</path> directory. 232id="release-dir"/>installcd</path> directory.
409</p>
410
411<p> 233</p>
234
235<p>
412Inside that directory you'll find so-called ISO-files. Those are full CD images 236Inside that directory you'll find ISO files. Those are full CD images which you
413which you can write on a CD-R. 237can write on a CD-R.
414</p> 238</p>
415 239
416<p> 240<p>
417In case you wonder if your downloaded file is corrupted or not, you can check its 241In case you wonder if your downloaded file is corrupted or not, you can check its
418MD5 checksum and compare it with the MD5 checksum we provide (such as 242MD5 checksum and compare it with the MD5 checksum we provide (such as
419<path>install-sparc64-minimal-2005.0.iso.md5</path>). You can check the MD5 243<path>install-sparc64-minimal-2008.0.iso.DIGESTS</path>). You can check the MD5
420checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 244checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
421link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. 245link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
422</p> 246</p>
423 247
424<p> 248<p>
426verify the cryptographic signature that we provide (the file ending with 250verify the cryptographic signature that we provide (the file ending with
427<path>.asc</path>). Download the signature file and obtain the public key: 251<path>.asc</path>). Download the signature file and obtain the public key:
428</p> 252</p>
429 253
430<pre caption="Obtaining the public key"> 254<pre caption="Obtaining the public key">
431$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> 255$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
432</pre> 256</pre>
433 257
434<p> 258<p>
435Now verify the signature: 259Now verify the signature:
436</p> 260</p>
451 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 275 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
452 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device 276 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
453 path). 277 path).
454 </li> 278 </li>
455 <li> 279 <li>
456 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then 280 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
457 you can locate your ISO file within the 'Image to Burn' area. Finally click 281 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
458 <c>Start</c>.
459 </li> 282 </li>
460</ul> 283</ul>
461 284
462</body> 285</body>
463</subsection> 286</subsection>
474<pre caption="Booting the Installation CD"> 297<pre caption="Booting the Installation CD">
475ok <i>boot cdrom</i> 298ok <i>boot cdrom</i>
476</pre> 299</pre>
477 300
478<p> 301<p>
479You will be greeted by the SILO boot manager (on the Installation CD). Type in 302You will be greeted by the SILO boot manager (on the Installation CD). You can
480<c>gentoo-2.4</c> (single-CPU kernel) or <c>gentoo-2.4-smp</c> 303hit Enter for more help if you want. Type in <c>gentoo</c> and press enter to
481(multi-CPU kernel) and press enter to continue booting the system. In the 304continue booting the system:
482following example we'll boot the <c>gentoo-2.4</c> kernel.
483</p> 305</p>
484 306
485<pre caption="Continue booting from the Installation CD"> 307<pre caption="Continue booting from the Installation CD">
486boot: <i>gentoo-2.4</i> 308boot: <i>gentoo</i>
487</pre> 309</pre>
488 310
489<p> 311<p>
490Once the Installation CD is booted, you will be automatically logged on to the 312Once the Installation CD is booted, you will be automatically logged on to the
491system. 313system.
492</p> 314</p>
493 315
494<p> 316<p>
495You should have a root ("#") prompt on the current console and can also switch 317You should have a root ("#") prompt on the current console. You will also find a
496to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you 318root prompt on the serial console (<path>ttyS0</path>).
497started on by pressing Alt-F1. You will also find a root prompt on the serial
498console (<path>ttyS0</path>).
499</p> 319</p>
500 320
501<p> 321<p>
502Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. 322Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
503</p> 323</p>
504 324
505</body> 325</body>
506</subsection> 326</subsection>
507<subsection id="hardware">
508<title>Extra Hardware Configuration</title>
509<body>
510 327
511<p>
512If not all hardware is supported out-of-the-box, you will need to load the
513appropriate kernel modules.
514</p>
515
516<p>
517In the next example we try to load the <c>8139too</c> module (support for
518certain kinds of network interfaces):
519</p>
520
521<pre caption="Loading kernel modules">
522# <i>modprobe 8139too</i>
523</pre>
524
525</body>
526</subsection> 328<subsection>
527<subsection id="useraccounts"> 329<include href="hb-install-bootconfig.xml"/>
528<title>Optional: User Accounts</title>
529<body>
530
531<p>
532If you plan on giving other people access to your installation
533environment or you want to chat using <c>irssi</c> without root privileges (for
534security reasons), you need to create the necessary user accounts and change
535the root password.
536</p>
537
538<p>
539To change the root password, use the <c>passwd</c> utility:
540</p>
541
542<pre caption="Changing the root password">
543# <i>passwd</i>
544New password: <comment>(Enter your new password)</comment>
545Re-enter password: <comment>(Re-enter your password)</comment>
546</pre>
547
548<p>
549To create a user account, we first enter their credentials, followed by
550its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
551In the next example, we create a user called &quot;john&quot;.
552</p>
553
554<pre caption="Creating a user account">
555# <i>useradd -m -G users john</i>
556# <i>passwd john</i>
557New password: <comment>(Enter john's password)</comment>
558Re-enter password: <comment>(Re-enter john's password)</comment>
559</pre>
560
561<p>
562You can change your user id from root to the newly created user by using
563<c>su</c>:
564</p>
565
566<pre caption="Changing user id">
567# <i>su - john</i>
568</pre>
569
570</body>
571</subsection>
572<subsection> 330</subsection>
573<title>Optional: Viewing Documentation while Installing</title>
574<body>
575 331
576<p>
577If you want to view the Gentoo Handbook (either from-CD or online) during the
578installation, make sure you have created a user account (see <uri
579link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
580go to a new terminal and log in.
581</p>
582
583<p>
584If you want to view the documentation on the CD you can immediately run
585<c>links2</c> to read it:
586</p>
587
588<pre caption="Viewing the on-CD documentation">
589# <i>links2 /mnt/cdrom/docs/html/index.html</i>
590</pre>
591
592<p>
593However, it is preferred that you use the online Gentoo Handbook as it will be
594more recent than the one provided on the CD. You can view it using <c>links2</c>
595as well, but only after having completed the <e>Configuring your Network</e>
596chapter (otherwise you won't be able to go on the Internet to view the
597document):
598</p>
599
600<pre caption="Viewing the Online Documentation">
601# <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml</i>
602</pre>
603
604<p>
605You can go back to your original terminal by pressing <c>Alt-F1</c>.
606</p>
607
608</body>
609</subsection>
610<subsection>
611<title>Optional: Starting the SSH Daemon</title>
612<body>
613
614<p>
615If you want to allow other users to access your computer during the
616Gentoo installation (perhaps because those users are going to help you
617install Gentoo, or even do it for you), you need to create a user
618account for them and perhaps even provide them with your root password
619(<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
620</p>
621
622<p>
623To fire up the SSH daemon, execute the following command:
624</p>
625
626<pre caption="Starting the SSH daemon">
627# <i>/etc/init.d/sshd start</i>
628</pre>
629
630<p>
631To be able to use sshd, you first need to set up your networking. Continue with
632the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
633</p>
634
635</body>
636</subsection>
637</section> 332</section>
638</sections> 333</sections>

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.48

  ViewVC Help
Powered by ViewVC 1.1.20