/[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.45 - (show annotations) (download) (as text)
Sat Jun 30 00:50:26 2007 UTC (7 years, 1 month ago) by nightmorph
Branch: MAIN
Changes since 1.44: +5 -6 lines
File MIME type: application/xml
updated k3b burning instructions, bug 183651

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/hb-install-sparc-medium.xml,v 1.44 2007/05/15 16:17:25 neysx Exp $ -->
8
9 <sections>
10
11 <version>8.1</version>
12 <date>2007-06-29</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 <!-- Copy/Paste from hb-install-x86-medium.xml -->
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="2007.0/index.xml">Gentoo 2007.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-2007.0.iso</c>
122 and takes up only 32 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-2007.0.iso</c> and uses 287 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-2007.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>2617</c> (if you have an FC-AL
305 machine; check the <uri
306 link="http://www.gentoo.org/proj/en/base/sparc/sunhw.xml">Hardware Compatibility
307 List</uri>) or <c>2620</c> (for everyone else) and press enter to continue
308 booting the system:
309 </p>
310
311 <pre caption="Continue booting from the Installation CD">
312 boot: <i>2620</i>
313 </pre>
314
315 <p>
316 Once the Installation CD is booted, you will be automatically logged on to the
317 system.
318 </p>
319
320 <p>
321 You should have a root ("#") prompt on the current console. You will also find a
322 root prompt on the serial console (<path>ttyS0</path>).
323 </p>
324
325 <p>
326 Continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
327 </p>
328
329 </body>
330 </subsection>
331 <subsection id="hardware">
332 <title>Extra Hardware Configuration</title>
333 <body>
334
335 <p>
336 If not all hardware is supported out-of-the-box, you will need to load the
337 appropriate kernel modules.
338 </p>
339
340 <p>
341 In the next example we try to load the <c>8139too</c> module (support for
342 certain kinds of network interfaces):
343 </p>
344
345 <pre caption="Loading kernel modules">
346 # <i>modprobe 8139too</i>
347 </pre>
348
349 </body>
350 </subsection>
351 <subsection id="useraccounts">
352 <title>Optional: User Accounts</title>
353 <body>
354
355 <p>
356 If you plan on giving other people access to your installation
357 environment or you want to chat using <c>irssi</c> without root privileges (for
358 security reasons), you need to create the necessary user accounts and change
359 the root password.
360 </p>
361
362 <p>
363 To change the root password, use the <c>passwd</c> utility:
364 </p>
365
366 <pre caption="Changing the root password">
367 # <i>passwd</i>
368 New password: <comment>(Enter your new password)</comment>
369 Re-enter password: <comment>(Re-enter your password)</comment>
370 </pre>
371
372 <p>
373 To create a user account, we first enter their credentials, followed by
374 its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
375 In the next example, we create a user called &quot;john&quot;.
376 </p>
377
378 <pre caption="Creating a user account">
379 # <i>useradd -m -G users john</i>
380 # <i>passwd john</i>
381 New password: <comment>(Enter john's password)</comment>
382 Re-enter password: <comment>(Re-enter john's password)</comment>
383 </pre>
384
385 <p>
386 You can change your user id from root to the newly created user by using
387 <c>su</c>:
388 </p>
389
390 <pre caption="Changing user id">
391 # <i>su - john</i>
392 </pre>
393
394 </body>
395 </subsection>
396 <subsection>
397 <title>Optional: Viewing Documentation while Installing</title>
398 <body>
399
400 <p>
401 If you want to view the Gentoo Handbook (either from-CD or online) during the
402 installation, make sure you have created a user account (see <uri
403 link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
404 go to a new terminal and log in.
405 </p>
406
407 <p>
408 If you want to view the documentation on the CD you can immediately run
409 <c>links</c> to read it:
410 </p>
411
412 <pre caption="Viewing the on-CD documentation">
413 # <i>links /mnt/cdrom/docs/handbook/html/index.html</i>
414 </pre>
415
416 <p>
417 However, it is preferred that you use the online Gentoo Handbook as it will be
418 more recent than the one provided on the CD. You can view it using <c>links</c>
419 as well, but only after having completed the <e>Configuring your Network</e>
420 chapter (otherwise you won't be able to go on the Internet to view the
421 document):
422 </p>
423
424 <pre caption="Viewing the Online Documentation">
425 # <i>links http://www.gentoo.org/doc/en/handbook/<keyval id="online-book"/></i>
426 </pre>
427
428 <p>
429 You can go back to your original terminal by pressing <c>Alt-F1</c>.
430 </p>
431
432 </body>
433 </subsection>
434 <subsection>
435 <title>Optional: Starting the SSH Daemon</title>
436 <body>
437
438 <p>
439 If you want to allow other users to access your computer during the
440 Gentoo installation (perhaps because those users are going to help you
441 install Gentoo, or even do it for you), you need to create a user
442 account for them and perhaps even provide them with your root password
443 (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user).
444 </p>
445
446 <p>
447 To fire up the SSH daemon, execute the following command:
448 </p>
449
450 <pre caption="Starting the SSH daemon">
451 # <i>/etc/init.d/sshd start</i>
452 </pre>
453
454 <p>
455 To be able to use sshd, you first need to set up your networking. Continue with
456 the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
457 </p>
458
459 </body>
460 </subsection>
461 </section>
462 </sections>

  ViewVC Help
Powered by ViewVC 1.1.20