| … | |
… | |
| 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/2.5 --> |
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.40 2005/11/29 14:48:47 jkt 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.8</version> |
11 | <version>9.2</version> |
| 12 | <date>2005-11-29</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> |
65 | <section> |
| 66 | <title>The Gentoo Installation CDs</title> |
66 | <title>The Gentoo Installation CDs</title> |
| 67 | <subsection> |
67 | <subsection> |
| 68 | <title>Introduction</title> |
68 | <title>Introduction</title> |
| … | |
… | |
| 76 | </p> |
76 | </p> |
| 77 | |
77 | |
| 78 | <p> |
78 | <p> |
| 79 | All Installation CDs allow you to boot, set up networking, initialize your |
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 |
80 | partitions and start installing Gentoo from the Internet. We currently provide |
| 81 | two Installation CDs which are equaly suitable to install Gentoo from, as long |
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 |
82 | as you're planning on performing an Internet-based installation using the latest |
| 83 | version of the available packages. |
83 | version of the available packages. |
| 84 | </p> |
84 | </p> |
| 85 | |
85 | |
| 86 | <p> |
86 | <p> |
| 87 | If you wish to install Gentoo without a working Internet connection, please use |
87 | If you wish to install Gentoo without a working Internet connection, please use |
| 88 | the installation instructions described in the <uri |
88 | the installation instructions described in the <uri |
| 89 | link="2005.1/index.xml">Gentoo 2005.1 Handbooks</uri>. |
89 | link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. |
| 90 | </p> |
90 | </p> |
| 91 | |
91 | |
| 92 | <p> |
92 | <p> |
| 93 | The two Installation CDs that we currently provide are: |
93 | The two Installation CDs that we currently provide are: |
| 94 | </p> |
94 | </p> |
| … | |
… | |
| 105 | several stage3 tarballs (optimized for the individual subarchitectures). |
105 | several stage3 tarballs (optimized for the individual subarchitectures). |
| 106 | </li> |
106 | </li> |
| 107 | </ul> |
107 | </ul> |
| 108 | |
108 | |
| 109 | <p> |
109 | <p> |
| 110 | We currently only provide Installation CDs for the sparc64 architecture. Users |
|
|
| 111 | of sparc32 can use the experimental netboot images to install Gentoo from. |
|
|
| 112 | More information about netbooting can be found in our <uri |
|
|
| 113 | link="/doc/en/gentoo-sparc-netboot-howto.xml">Gentoo/SPARC Netboot |
|
|
| 114 | HOWTO</uri>. |
|
|
| 115 | </p> |
|
|
| 116 | |
|
|
| 117 | <p> |
|
|
| 118 | To help you decide which Installation CD you need, we have written down the |
110 | To help you decide which Installation CD you need, we have written down the |
| 119 | major advantages and disadvantages of each Installation CD. |
111 | major advantages and disadvantages of each Installation CD. |
| 120 | </p> |
112 | </p> |
| 121 | |
113 | |
| 122 | </body> |
114 | </body> |
| … | |
… | |
| 124 | <subsection> |
116 | <subsection> |
| 125 | <title>Gentoo's Minimal Installation CD</title> |
117 | <title>Gentoo's Minimal Installation CD</title> |
| 126 | <body> |
118 | <body> |
| 127 | |
119 | |
| 128 | <p> |
120 | <p> |
| 129 | The Minimal Installation CD is called <c>install-sparc64-minimal-2005.1-r1.iso</c> |
121 | The Minimal Installation CD is called <c>install-sparc64-minimal-2008.0.iso</c> |
| 130 | and takes up only 32 MB of diskspace. You can use this Installation CD to |
122 | and takes up only 44 MB of diskspace. You can use this Installation CD to |
| 131 | install Gentoo, but always with a working Internet connection only. |
123 | install Gentoo, but always with a working Internet connection only. |
| 132 | </p> |
124 | </p> |
| 133 | |
125 | |
| 134 | <table> |
126 | <table> |
| 135 | <tr> |
127 | <tr> |
| … | |
… | |
| 155 | <title>Gentoo's Universal Installation CD</title> |
147 | <title>Gentoo's Universal Installation CD</title> |
| 156 | <body> |
148 | <body> |
| 157 | |
149 | |
| 158 | <p> |
150 | <p> |
| 159 | The Universal Installation CD is called |
151 | The Universal Installation CD is called |
| 160 | <c>install-sparc-universal-2005.1-r1.iso</c> and use 525 MB. You can use this |
152 | <c>install-sparc64-universal-2008.0.iso</c> and uses 295 MB. You can use this |
| 161 | Installation CD to install Gentoo, and you can even use it to install Gentoo |
153 | Installation CD to install Gentoo, and you can even use it to install Gentoo |
| 162 | without a working internet connection, just in case you want to bring Gentoo to |
154 | without a working internet connection. |
| 163 | another PC than the one you are currently installing Gentoo on :) |
|
|
| 164 | </p> |
155 | </p> |
| 165 | |
156 | |
| 166 | <table> |
157 | <table> |
| 167 | <tr> |
158 | <tr> |
| 168 | <th>Universal Installation CD</th> |
159 | <th>Universal Installation CD</th> |
| … | |
… | |
| 233 | downloading and burning the chosen Installation CD. We previously discussed |
224 | downloading and burning the chosen Installation CD. We previously discussed |
| 234 | the several available Installation CDs, but where can you find them? |
225 | the several available Installation CDs, but where can you find them? |
| 235 | </p> |
226 | </p> |
| 236 | |
227 | |
| 237 | <p> |
228 | <p> |
| 238 | You can download any of the Installation CDs (and, if you want to, a Packages |
229 | You can download any of the Installation CDs (and, if you want to, a Packages CD |
| 239 | CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The |
230 | as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The |
| 240 | Installation CDs are located in the |
231 | Installation CDs are located in the <path><keyval |
| 241 | <path>releases/sparc/2005.1-r1/sparc64/installcd</path> directory. |
232 | id="release-dir"/>installcd</path> directory. |
| 242 | </p> |
|
|
| 243 | |
|
|
| 244 | <p> |
233 | </p> |
|
|
234 | |
|
|
235 | <p> |
| 245 | Inside that directory you'll find ISO-files. Those are full CD images which you |
236 | Inside that directory you'll find ISO files. Those are full CD images which you |
| 246 | can write on a CD-R. |
237 | can write on a CD-R. |
| 247 | </p> |
238 | </p> |
| 248 | |
239 | |
| 249 | <p> |
240 | <p> |
| 250 | In case you wonder if your downloaded file is corrupted or not, you can check its |
241 | In case you wonder if your downloaded file is corrupted or not, you can check its |
| 251 | MD5 checksum and compare it with the MD5 checksum we provide (such as |
242 | MD5 checksum and compare it with the MD5 checksum we provide (such as |
| 252 | <path>install-sparc64-minimal-2005.1-r1.iso.md5</path>). You can check the MD5 |
243 | <path>install-sparc64-minimal-2008.0.iso.DIGESTS</path>). You can check the MD5 |
| 253 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
244 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 254 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
245 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
| 255 | </p> |
246 | </p> |
| 256 | |
247 | |
| 257 | <p> |
248 | <p> |
| … | |
… | |
| 284 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
275 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
| 285 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's device |
276 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's device |
| 286 | path). |
277 | path). |
| 287 | </li> |
278 | </li> |
| 288 | <li> |
279 | <li> |
| 289 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
280 | With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate |
| 290 | 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>. |
| 291 | <c>Start</c>. |
|
|
| 292 | </li> |
282 | </li> |
| 293 | </ul> |
283 | </ul> |
| 294 | |
284 | |
| 295 | </body> |
285 | </body> |
| 296 | </subsection> |
286 | </subsection> |
| … | |
… | |
| 307 | <pre caption="Booting the Installation CD"> |
297 | <pre caption="Booting the Installation CD"> |
| 308 | ok <i>boot cdrom</i> |
298 | ok <i>boot cdrom</i> |
| 309 | </pre> |
299 | </pre> |
| 310 | |
300 | |
| 311 | <p> |
301 | <p> |
| 312 | You will be greeted by the SILO boot manager (on the Installation CD). Type in |
302 | You will be greeted by the SILO boot manager (on the Installation CD). You can |
| 313 | <c>gentoo-2.4</c> and press enter to continue booting the |
303 | hit Enter for more help if you want. Type in <c>gentoo</c> and press enter to |
| 314 | system: |
304 | continue booting the system: |
| 315 | </p> |
305 | </p> |
| 316 | |
306 | |
| 317 | <pre caption="Continue booting from the Installation CD"> |
307 | <pre caption="Continue booting from the Installation CD"> |
| 318 | boot: <i>gentoo-2.4</i> |
308 | boot: <i>gentoo</i> |
| 319 | </pre> |
309 | </pre> |
| 320 | |
310 | |
| 321 | <p> |
311 | <p> |
| 322 | Once the Installation CD is booted, you will be automatically logged on to the |
312 | Once the Installation CD is booted, you will be automatically logged on to the |
| 323 | system. |
313 | system. |
| 324 | </p> |
314 | </p> |
| 325 | |
315 | |
| 326 | <p> |
316 | <p> |
| 327 | You should have a root ("#") prompt on the current console and can also switch |
317 | You should have a root ("#") prompt on the current console. You will also find a |
| 328 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
318 | root prompt on the serial console (<path>ttyS0</path>). |
| 329 | started on by pressing Alt-F1. You will also find a root prompt on the serial |
|
|
| 330 | console (<path>ttyS0</path>). |
|
|
| 331 | </p> |
319 | </p> |
| 332 | |
320 | |
| 333 | <p> |
321 | <p> |
| 334 | Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
322 | Continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 335 | </p> |
323 | </p> |
| 336 | |
324 | |
| 337 | </body> |
325 | </body> |
| 338 | </subsection> |
326 | </subsection> |
| 339 | <subsection id="hardware"> |
|
|
| 340 | <title>Extra Hardware Configuration</title> |
|
|
| 341 | <body> |
|
|
| 342 | |
327 | |
| 343 | <p> |
|
|
| 344 | If not all hardware is supported out-of-the-box, you will need to load the |
|
|
| 345 | appropriate kernel modules. |
|
|
| 346 | </p> |
|
|
| 347 | |
|
|
| 348 | <p> |
|
|
| 349 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 350 | certain kinds of network interfaces): |
|
|
| 351 | </p> |
|
|
| 352 | |
|
|
| 353 | <pre caption="Loading kernel modules"> |
|
|
| 354 | # <i>modprobe 8139too</i> |
|
|
| 355 | </pre> |
|
|
| 356 | |
|
|
| 357 | </body> |
|
|
| 358 | </subsection> |
328 | <subsection> |
| 359 | <subsection id="useraccounts"> |
329 | <include href="hb-install-bootconfig.xml"/> |
| 360 | <title>Optional: User Accounts</title> |
|
|
| 361 | <body> |
|
|
| 362 | |
|
|
| 363 | <p> |
|
|
| 364 | If you plan on giving other people access to your installation |
|
|
| 365 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 366 | security reasons), you need to create the necessary user accounts and change |
|
|
| 367 | the root password. |
|
|
| 368 | </p> |
|
|
| 369 | |
|
|
| 370 | <p> |
|
|
| 371 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 372 | </p> |
|
|
| 373 | |
|
|
| 374 | <pre caption="Changing the root password"> |
|
|
| 375 | # <i>passwd</i> |
|
|
| 376 | New password: <comment>(Enter your new password)</comment> |
|
|
| 377 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 378 | </pre> |
|
|
| 379 | |
|
|
| 380 | <p> |
|
|
| 381 | To create a user account, we first enter their credentials, followed by |
|
|
| 382 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 383 | In the next example, we create a user called "john". |
|
|
| 384 | </p> |
|
|
| 385 | |
|
|
| 386 | <pre caption="Creating a user account"> |
|
|
| 387 | # <i>useradd -m -G users john</i> |
|
|
| 388 | # <i>passwd john</i> |
|
|
| 389 | New password: <comment>(Enter john's password)</comment> |
|
|
| 390 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 391 | </pre> |
|
|
| 392 | |
|
|
| 393 | <p> |
|
|
| 394 | You can change your user id from root to the newly created user by using |
|
|
| 395 | <c>su</c>: |
|
|
| 396 | </p> |
|
|
| 397 | |
|
|
| 398 | <pre caption="Changing user id"> |
|
|
| 399 | # <i>su - john</i> |
|
|
| 400 | </pre> |
|
|
| 401 | |
|
|
| 402 | </body> |
|
|
| 403 | </subsection> |
|
|
| 404 | <subsection> |
330 | </subsection> |
| 405 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
| 406 | <body> |
|
|
| 407 | |
331 | |
| 408 | <p> |
|
|
| 409 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
| 410 | installation, make sure you have created a user account (see <uri |
|
|
| 411 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
| 412 | go to a new terminal and log in. |
|
|
| 413 | </p> |
|
|
| 414 | |
|
|
| 415 | <p> |
|
|
| 416 | If you want to view the documentation on the CD you can immediately run |
|
|
| 417 | <c>links2</c> to read it: |
|
|
| 418 | </p> |
|
|
| 419 | |
|
|
| 420 | <pre caption="Viewing the on-CD documentation"> |
|
|
| 421 | # <i>links2 /mnt/cdrom/docs/handbook/html/index.html</i> |
|
|
| 422 | </pre> |
|
|
| 423 | |
|
|
| 424 | <p> |
|
|
| 425 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
| 426 | more recent than the one provided on the CD. You can view it using <c>links2</c> |
|
|
| 427 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
| 428 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
| 429 | document): |
|
|
| 430 | </p> |
|
|
| 431 | |
|
|
| 432 | <pre caption="Viewing the Online Documentation"> |
|
|
| 433 | # <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml</i> |
|
|
| 434 | </pre> |
|
|
| 435 | |
|
|
| 436 | <p> |
|
|
| 437 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
| 438 | </p> |
|
|
| 439 | |
|
|
| 440 | </body> |
|
|
| 441 | </subsection> |
|
|
| 442 | <subsection> |
|
|
| 443 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 444 | <body> |
|
|
| 445 | |
|
|
| 446 | <p> |
|
|
| 447 | If you want to allow other users to access your computer during the |
|
|
| 448 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 449 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 450 | account for them and perhaps even provide them with your root password |
|
|
| 451 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 452 | </p> |
|
|
| 453 | |
|
|
| 454 | <p> |
|
|
| 455 | To fire up the SSH daemon, execute the following command: |
|
|
| 456 | </p> |
|
|
| 457 | |
|
|
| 458 | <pre caption="Starting the SSH daemon"> |
|
|
| 459 | # <i>/etc/init.d/sshd start</i> |
|
|
| 460 | </pre> |
|
|
| 461 | |
|
|
| 462 | <p> |
|
|
| 463 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
| 464 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 465 | </p> |
|
|
| 466 | |
|
|
| 467 | </body> |
|
|
| 468 | </subsection> |
|
|
| 469 | </section> |
332 | </section> |
| 470 | </sections> |
333 | </sections> |