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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.46 - (show annotations) (download) (as text)
Tue Apr 1 08:53:46 2008 UTC (6 years, 6 months ago) by nightmorph
Branch: MAIN
Changes since 1.45: +13 -16 lines
File MIME type: application/xml
release time. note that since this is beta1, the release dir and stage/media names have been adjusted accordingly. also, the handbooks are marked with a disclaimer=draft, so once the final is out, that will be removed and the release names adjusted. in the mean time, these are live. the beta is officially released. no, it's not april fools, but it is april 1st. :)

1 <?xml version='1.0' encoding='UTF-8'?>
2 <!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3
4 <!-- The content of this document is licensed under the CC-BY-SA license -->
5 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6
7 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/draft/hb-install-sparc-medium.xml,v 1.42 2008/03/31 21:48:59 nightmorph Exp $ -->
8
9 <sections>
10
11 <version>9.0</version>
12 <date>2008-04-01</date>
13
14 <section>
15 <title>Hardware Requirements</title>
16 <subsection>
17 <title>Introduction</title>
18 <body>
19
20 <p>
21 Before we start, we first list what hardware requirements you need to
22 successfully install Gentoo on your box.
23 </p>
24
25 </body>
26 </subsection>
27 <subsection>
28 <title>Hardware Requirements</title>
29 <body>
30
31 <table>
32 <tr>
33 <th>Sparc System</th>
34 <ti>
35 Please check the <uri link="/proj/en/base/sparc/sunhw.xml">Gentoo
36 Linux/SPARC64 Compatibility list</uri> or the <uri
37 link="http://www.ultralinux.org/faq.html#s_2">UltraLinux FAQ</uri>
38 </ti>
39 </tr>
40 <tr>
41 <th>CPU</th>
42 <ti>
43 We currently only support sparc64 CPUs
44 </ti>
45 </tr>
46 <tr>
47 <th>Memory</th>
48 <ti>64 MB</ti>
49 </tr>
50 <tr>
51 <th>Diskspace</th>
52 <ti>1.5 GB (excluding swap space)</ti>
53 </tr>
54 <tr>
55 <th>Swap space</th>
56 <ti>At least 256 MB</ti>
57 </tr>
58 </table>
59
60 </body>
61 </subsection>
62 </section>
63
64 <!-- START -->
65 <section>
66 <title>The Gentoo Installation CDs</title>
67 <subsection>
68 <title>Introduction</title>
69 <body>
70
71 <p>
72 The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
73 self-sustained Gentoo environment. They allow you to boot Linux from the CD.
74 During the boot process your hardware is detected and the appropriate drivers
75 are loaded. They are maintained by Gentoo developers.
76 </p>
77
78 <p>
79 All Installation CDs allow you to boot, set up networking, initialize your
80 partitions and start installing Gentoo from the Internet. We currently provide
81 two Installation CDs which are equally suitable to install Gentoo from, as long
82 as you're planning on performing an Internet-based installation using the latest
83 version of the available packages.
84 </p>
85
86 <p>
87 If you wish to install Gentoo without a working Internet connection, please use
88 the installation instructions described in the <uri
89 link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
90 </p>
91
92 <p>
93 The two Installation CDs that we currently provide are:
94 </p>
95
96 <ul>
97 <li>
98 The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable CD
99 which sole purpose is to boot the system, prepare the networking and
100 continue with the Gentoo installation.
101 </li>
102 <li>
103 The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
104 abilities as the Minimal Installation CD. Additionally, it contains
105 several stage3 tarballs (optimized for the individual subarchitectures).
106 </li>
107 </ul>
108
109 <p>
110 To help you decide which Installation CD you need, we have written down the
111 major advantages and disadvantages of each Installation CD.
112 </p>
113
114 </body>
115 </subsection>
116 <subsection>
117 <title>Gentoo's Minimal Installation CD</title>
118 <body>
119
120 <p>
121 The Minimal Installation CD is called <c>install-sparc64-minimal-2008.0.iso</c>
122 and takes up only 44 MB of diskspace. You can use this Installation CD to
123 install Gentoo, but always with a working Internet connection only.
124 </p>
125
126 <table>
127 <tr>
128 <th>Minimal Installation CD</th>
129 <th>Pros and Cons</th>
130 </tr>
131 <tr>
132 <th>+</th>
133 <ti>Smallest download</ti>
134 </tr>
135 <tr>
136 <th>-</th>
137 <ti>
138 Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
139 therefore not suitable for networkless installation
140 </ti>
141 </tr>
142 </table>
143
144 </body>
145 </subsection>
146 <subsection>
147 <title>Gentoo's Universal Installation CD</title>
148 <body>
149
150 <p>
151 The Universal Installation CD is called
152 <c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this
153 Installation CD to install Gentoo, and you can even use it to install Gentoo
154 without a working internet connection, just in case you want to bring Gentoo to
155 another PC than the one you are currently installing Gentoo on :)
156 </p>
157
158 <table>
159 <tr>
160 <th>Universal Installation CD</th>
161 <th>Pros and Cons</th>
162 </tr>
163 <tr>
164 <th>+</th>
165 <ti>
166 Contains everything you need. You can even install without a network
167 connection.
168 </ti>
169 </tr>
170 <tr>
171 <th>-</th>
172 <ti>Huge download</ti>
173 </tr>
174 </table>
175
176 </body>
177 </subsection>
178 <subsection>
179 <title>Other CDs</title>
180 <body>
181
182 <p>
183 You might find a <e>Package CD</e> on one of our mirrors. This CD is not an
184 Installation CD but an additional resource that can be exploited during a
185 networkless installation. It contains prebuilt packages (also known as the GRP
186 set) that allow you to easily and quickly install additional applications
187 (such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
188 Gentoo installation.
189 </p>
190
191 <p>
192 If you intend to use the Packages CD to quickly install additional software,
193 make sure that you use the same subarchitecture as the stage3 tarball you use.
194 </p>
195
196 </body>
197 </subsection>
198 <subsection>
199 <title>The Stage3 Tarball</title>
200 <body>
201
202 <p>
203 A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
204 to continue the Gentoo installation using the instructions in this manual.
205 Previously, the Gentoo Handbook described the installation using one of three
206 stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
207 official installation method uses the stage3 tarball. If you are interested in
208 performing a Gentoo installation using a stage1 or stage2 tarball, please read
209 the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
210 Using a Stage1 or Stage2 Tarball?</uri>
211 </p>
212
213 </body>
214 </subsection>
215 </section>
216 <!-- STOP -->
217 <section>
218 <title>Download, Burn and Boot a Gentoo Installation CD</title>
219 <subsection>
220 <title>Downloading and Burning the Installation CDs</title>
221 <body>
222
223 <p>
224 You have chosen to use a Gentoo Installation CD. We'll first start by
225 downloading and burning the chosen Installation CD. We previously discussed
226 the several available Installation CDs, but where can you find them?
227 </p>
228
229 <p>
230 You can download any of the Installation CDs (and, if you want to, a Packages CD
231 as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
232 Installation CDs are located in the <path><keyval
233 id="release-dir"/>installcd</path> directory.
234 </p>
235
236 <p>
237 Inside that directory you'll find ISO files. Those are full CD images which you
238 can write on a CD-R.
239 </p>
240
241 <p>
242 In case you wonder if your downloaded file is corrupted or not, you can check its
243 MD5 checksum and compare it with the MD5 checksum we provide (such as
244 <path>install-sparc64-minimal-2008.0.iso.DIGESTS</path>). You can check the MD5
245 checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
246 link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
247 </p>
248
249 <p>
250 Another way to check the validity of the downloaded file is to use GnuPG to
251 verify the cryptographic signature that we provide (the file ending with
252 <path>.asc</path>). Download the signature file and obtain the public key:
253 </p>
254
255 <pre caption="Obtaining the public key">
256 $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
257 </pre>
258
259 <p>
260 Now verify the signature:
261 </p>
262
263 <pre caption="Verify the cryptographic signature">
264 $ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
265 </pre>
266
267 <p>
268 To burn the downloaded ISO(s), you have to select raw-burning. How you
269 do this is highly program-dependent. We will discuss <c>cdrecord</c> and
270 <c>K3B</c> here; more information can be found in our <uri
271 link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
272 </p>
273
274 <ul>
275 <li>
276 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso
277 file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's device
278 path).
279 </li>
280 <li>
281 With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
282 your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
283 </li>
284 </ul>
285
286 </body>
287 </subsection>
288 <subsection>
289 <title>Booting the Installation CD</title>
290 <body>
291
292 <p>
293 Insert the Gentoo Installation CD in the CD-ROM and boot your system. During
294 startup, press Stop-A to enter OpenBootPROM (OBP). Once you are in the OBP,
295 boot from the CD-ROM:
296 </p>
297
298 <pre caption="Booting the Installation CD">
299 ok <i>boot cdrom</i>
300 </pre>
301
302 <p>
303 You will be greeted by the SILO boot manager (on the Installation CD). You can
304 hit Enter for more help if you want. Type in <c>gentoo</c> and press enter to
305 continue booting the system:
306 </p>
307
308 <pre caption="Continue booting from the Installation CD">
309 boot: <i>gentoo</i>
310 </pre>
311
312 <p>
313 Once the Installation CD is booted, you will be automatically logged on to the
314 system.
315 </p>
316
317 <p>
318 You should have a root ("#") prompt on the current console. You will also find a
319 root prompt on the serial console (<path>ttyS0</path>).
320 </p>
321
322 <p>
323 Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
324 </p>
325
326 </body>
327 </subsection>
328 <subsection id="hardware">
329 <title>Extra Hardware Configuration</title>
330 <body>
331
332 <p>
333 If not all hardware is supported out-of-the-box, you will need to load the
334 appropriate kernel modules.
335 </p>
336
337 <p>
338 In the next example we try to load the <c>8139too</c> module (support for
339 certain kinds of network interfaces):
340 </p>
341
342 <pre caption="Loading kernel modules">
343 # <i>modprobe 8139too</i>
344 </pre>
345
346 </body>
347 </subsection>
348 <subsection id="useraccounts">
349 <title>Optional: User Accounts</title>
350 <body>
351
352 <p>
353 If you plan on giving other people access to your installation
354 environment or you want to chat using <c>irssi</c> without root privileges (for
355 security reasons), you need to create the necessary user accounts and change
356 the root password.
357 </p>
358
359 <p>
360 To change the root password, use the <c>passwd</c> utility:
361 </p>
362
363 <pre caption="Changing the root password">
364 # <i>passwd</i>
365 New password: <comment>(Enter your new password)</comment>
366 Re-enter password: <comment>(Re-enter your password)</comment>
367 </pre>
368
369 <p>
370 To create a user account, we first enter their credentials, followed by
371 its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
372 In the next example, we create a user called &quot;john&quot;.
373 </p>
374
375 <pre caption="Creating a user account">
376 # <i>useradd -m -G users john</i>
377 # <i>passwd john</i>
378 New password: <comment>(Enter john's password)</comment>
379 Re-enter password: <comment>(Re-enter john's password)</comment>
380 </pre>
381
382 <p>
383 You can change your user id from root to the newly created user by using
384 <c>su</c>:
385 </p>
386
387 <pre caption="Changing user id">
388 # <i>su - john</i>
389 </pre>
390
391 </body>
392 </subsection>
393 <subsection>
394 <title>Optional: Viewing Documentation while Installing</title>
395 <body>
396
397 <p>
398 If you want to view the Gentoo Handbook (either from-CD or online) during the
399 installation, make sure you have created a user account (see <uri
400 link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
401 go to a new terminal and log in.
402 </p>
403
404 <p>
405 If you want to view the documentation on the CD you can immediately run
406 <c>links</c> to read it:
407 </p>
408
409 <pre caption="Viewing the on-CD documentation">
410 # <i>links /mnt/cdrom/docs/handbook/html/index.html</i>
411 </pre>
412
413 <p>
414 However, it is preferred that you use the online Gentoo Handbook as it will be
415 more recent than the one provided on the CD. You can view it using <c>links</c>
416 as well, but only after having completed the <e>Configuring your Network</e>
417 chapter (otherwise you won't be able to go on the Internet to view the
418 document):
419 </p>
420
421 <pre caption="Viewing the Online Documentation">
422 # <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
423 </pre>
424
425 <p>
426 You can go back to your original terminal by pressing <c>Alt-F1</c>.
427 </p>
428
429 </body>
430 </subsection>
431 <subsection>
432 <title>Optional: Starting the SSH Daemon</title>
433 <body>
434
435 <p>
436 If you want to allow other users to access your computer during the
437 Gentoo installation (perhaps because those users are going to help you
438 install Gentoo, or even do it for you), you need to create a user
439 account for them and perhaps even provide them with your root password
440 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
441 </p>
442
443 <p>
444 To fire up the SSH daemon, execute the following command:
445 </p>
446
447 <pre caption="Starting the SSH daemon">
448 # <i>/etc/init.d/sshd start</i>
449 </pre>
450
451 <p>
452 To be able to use sshd, you first need to set up your networking. Continue with
453 the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
454 </p>
455
456 </body>
457 </subsection>
458 </section>
459 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20