/[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.3 Revision 1.21
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-sparc-medium.xml,v 1.3 2004/04/15 07:06:36 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-medium.xml,v 1.21 2004/11/09 13:01:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>1.20</version>
12<date>November 4, 2004</date>
13
10<section> 14<section>
11<title>Hardware Requirements</title> 15<title>Hardware Requirements</title>
12<subsection> 16<subsection>
13<title>Introduction</title> 17<title>Introduction</title>
14<body> 18<body>
105power users who know what they are doing. It is also a great 109power users who know what they are doing. It is also a great
106installation method for those who would like to know more about the 110installation method for those who would like to know more about the
107inner workings of Gentoo Linux. 111inner workings of Gentoo Linux.
108</p> 112</p>
109 113
114<p>
115A <e>stage1</e> installation can only be performed when you have a working
116Internet connection.
117</p>
118
110<table> 119<table>
111<tr> 120<tr>
112 <th>Stage1</th> 121 <th>Stage1</th>
113 <th>Pros and Cons</th> 122 <th>Pros and Cons</th>
114</tr> 123</tr>
133</tr> 142</tr>
134<tr> 143<tr>
135 <th>-</th> 144 <th>-</th>
136 <ti> 145 <ti>
137 If you don't intend to tweak the settings, it is probably a waste of time 146 If you don't intend to tweak the settings, it is probably a waste of time
147 </ti>
148</tr>
149<tr>
150 <th>-</th>
151 <ti>
152 Not suitable for networkless installations
138 </ti> 153 </ti>
139</tr> 154</tr>
140</table> 155</table>
141 156
142<p> 157<p>
143<e>Stage2</e> installs allow you to skip the bootstrap process and doing this 158<e>Stage2</e> installs allow you to skip the bootstrap process and doing this
144is fine if you are happy with the optimization settings that we chose 159is fine if you are happy with the optimization settings that we chose
145for your particular <e>stage2</e> tarball. 160for your particular <e>stage2</e> tarball.
146</p> 161</p>
147 162
163<p>
164A <e>stage2</e> installation can only be performed when you have a working
165Internet connection.
166</p>
167
148<table> 168<table>
149<tr> 169<tr>
150 <th>Stage2</th> 170 <th>Stage2</th>
151 <th>Pros and Cons</th> 171 <th>Pros and Cons</th>
152</tr> 172</tr>
171 <ti>It's not the fastest way to install Gentoo</ti> 191 <ti>It's not the fastest way to install Gentoo</ti>
172</tr> 192</tr>
173<tr> 193<tr>
174 <th>-</th> 194 <th>-</th>
175 <ti>You have to accept the optimizations we chose for the bootstrap</ti> 195 <ti>You have to accept the optimizations we chose for the bootstrap</ti>
196</tr>
197<tr>
198 <th>-</th>
199 <ti>
200 Not suitable for networkless installations
201 </ti>
176</tr> 202</tr>
177</table> 203</table>
178 204
179<p> 205<p>
180Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo 206Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo
181Linux, but also means that your base system will have the optimization 207Linux, but also means that your base system will have the optimization
182settings that we chose for you (which to be honest, are good settings 208settings that we chose for you (which to be honest, are good settings
183and were carefully chosen to enhance performance while maintaining 209and were carefully chosen to enhance performance while maintaining
184stability). <e>stage3</e> is also required if you want to install Gentoo using 210stability). <e>stage3</e> is also required if you want to install Gentoo using
185prebuilt packages. 211prebuilt packages or without a network connection.
186</p> 212</p>
187 213
188<table> 214<table>
189<tr> 215<tr>
190 <th>Stage3</th> 216 <th>Stage3</th>
191 <th>Pros and Cons</th> 217 <th>Pros and Cons</th>
192</tr> 218</tr>
193<tr> 219<tr>
194 <th>+</th> 220 <th>+</th>
195 <ti>Fastest way to get a Gentoo base system</ti> 221 <ti>Fastest way to get a Gentoo base system</ti>
222</tr>
223<tr>
224 <th>+</th>
225 <ti>Suitable for networkless installations</ti>
196</tr> 226</tr>
197<tr> 227<tr>
198 <th>-</th> 228 <th>-</th>
199 <ti>You cannot tweak the base system - it's built already</ti> 229 <ti>You cannot tweak the base system - it's built already</ti>
200</tr> 230</tr>
228During the boot process your hardware is detected and the appropriate drivers 258During the boot process your hardware is detected and the appropriate drivers
229are loaded. They are maintained by Gentoo developers. 259are loaded. They are maintained by Gentoo developers.
230</p> 260</p>
231 261
232<p> 262<p>
233All LiveCDs allow you to boot, setup networking, initialize your 263All LiveCDs allow you to boot, set up networking, initialize your
234partitions and start installing Gentoo from the Internet. However, some 264partitions and start installing Gentoo from the Internet. However, some
235LiveCDs also contain all necessary source code so you are able to install 265LiveCDs also contain all necessary source code so you are able to install
236Gentoo without a working network configuration. 266Gentoo without a working network configuration.
237</p> 267</p>
238 268
250This is a small, no-nonsense, bootable CD which sole purpose is to boot the 280This is a small, no-nonsense, bootable CD which sole purpose is to boot the
251system, prepare the networking and continue with the Gentoo installation. It 281system, prepare the networking and continue with the Gentoo installation. It
252does not contain any stages (or, in some cases, a single stage1 file), 282does not contain any stages (or, in some cases, a single stage1 file),
253source code or precompiled packages. For example the sparc64 variant of this 283source code or precompiled packages. For example the sparc64 variant of this
254LiveCD can be found in the <path>sparc64/</path> subdirectory and is called 284LiveCD can be found in the <path>sparc64/</path> subdirectory and is called
255<c>install-sparc64-minimal-2004.0.iso</c>. 285<c>install-sparc64-minimal-2004.1.iso</c>.
256</p> 286</p>
257 287
258<table> 288<table>
259<tr> 289<tr>
260 <th>Minimal LiveCD</th> 290 <th>Minimal LiveCD</th>
276 </ti> 306 </ti>
277</tr> 307</tr>
278<tr> 308<tr>
279 <th>-</th> 309 <th>-</th>
280 <ti> 310 <ti>
281 Contains no stages, no portage snapshot, no GRP packages and therefore not 311 Contains no stages, no Portage snapshot, no GRP packages and therefore not
282 suitable for networkless installation 312 suitable for networkless installation
283 </ti> 313 </ti>
284</tr> 314</tr>
285</table> 315</table>
286 316
292 322
293<p> 323<p>
294Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without 324Gentoo's Universal LiveCD is a bootable CD suitable to install Gentoo without
295networking. It contains a stage1 and stage3 tarballs (optimized for the 325networking. It contains a stage1 and stage3 tarballs (optimized for the
296sparc architecture). For example the sparc64 variant of this CD is called 326sparc architecture). For example the sparc64 variant of this CD is called
297<c>install-sparc64-universal-2004.0.iso</c> and can be found in the 327<c>install-sparc64-universal-2004.1.iso</c> and can be found in the
298<path>sparc64/</path> subdirectory. 328<path>sparc64/</path> subdirectory.
299</p> 329</p>
300 330
301<p> 331<p>
302If you take a closer look into the directories you will see 332If you take a closer look into the directories you will see
304bootable) only contains precompiled packages and can be used to install software 334bootable) only contains precompiled packages and can be used to install software
305after a succesfull Gentoo Installation. To install Gentoo, you only 335after a succesfull Gentoo Installation. To install Gentoo, you only
306need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME 336need the Universal LiveCD, but if you want OpenOffice.org, Mozilla, KDE, GNOME
307etc. without having to compile every single one of them, you need the Packages 337etc. without having to compile every single one of them, you need the Packages
308CD too. Such a Packages CD for sparc64 is called 338CD too. Such a Packages CD for sparc64 is called
309<c>packages-sparc64-2004.0.iso</c>. 339<c>packages-sparc64-2004.1.iso</c>.
340</p>
341
342<p>
343You only need the Packages CD if you want to perform a stage3 with GRP
344installation.
310</p> 345</p>
311 346
312<table> 347<table>
313<tr> 348<tr>
314 <th>Universal LiveCD with Packages CD</th> 349 <th>Universal LiveCD with Packages CD</th>
354</p> 389</p>
355 390
356<p> 391<p>
357Visit one of our <uri 392Visit one of our <uri
358link="/main/en/mirrors.xml">mirrors</uri> and go to 393link="/main/en/mirrors.xml">mirrors</uri> and go to
359<path>releases/sparc/2004.0/livecd/sparc64</path> where the LiveCD(s) of 394<path>releases/sparc/2004.1/livecd</path> where the LiveCD(s) of
360your choice are located. Inside that directory you'll find so-called ISO-files. 395your choice are located. Inside the subdirectories <path>sparc32/</path> and
396<path>sparc64/</path> you'll find so-called ISO-files.
361Those are full CD images which you can write on a CD-R. 397Those are full CD images which you can write on a CD-R.
362</p> 398</p>
363 399
364<p> 400<p>
365In case you wonder if your downloaded file is corrupted or not, you can 401In case you wonder if your downloaded file is corrupted or not, you can
366check its MD5 checksum and compare it with the MD5 checksum we provide (such as 402check its MD5 checksum and compare it with the MD5 checksum we provide (such as
367<path>install-sparc64-minimal-2004.0.iso.md5</path>). You can check the MD5 403<path>install-sparc64-minimal-2004.1.iso.md5</path>). You can check the MD5
368checksum with the <c>md5sum</c> tool under Linux/Unix or <uri 404checksum with the <c>md5sum</c> tool under Linux/Unix or <uri
369link="http://www.md5summer.org">md5summer</uri> for Windows. 405link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
406</p>
407
370</p> 408<p>
409Another way to check the validity of the downloaded file is to use GnuPG to
410verify the cryptographic signature that we provide (the file ending with
411<path>.asc</path>). Download the signature file and obtain the public key:
412</p>
413
414<pre caption="Obtaining the public key">
415$ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i>
416</pre>
417
418<p>
419Now verify the signature:
420</p>
421
422<pre caption="Verify the cryptographic signature">
423$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
424</pre>
371 425
372<p> 426<p>
373To burn the downloaded ISO(s), you have to select raw-burning. How you 427To burn the downloaded ISO(s), you have to select raw-burning. How you
374do this is highly program-dependent. We will discuss a couple of popular 428do this is highly program-dependent. We will discuss <c>cdrecord</c> and
375tools on how to do this. 429<c>K3B</c> here; more information can be found in our <uri
430link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
376</p> 431</p>
377 432
378<ul> 433<ul>
379 <li>
380 With EasyCD Creator you select <c>File</c>, <c>Record CD
381 from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image
382 file</c>. Then locate the ISO file and click <c>Open</c>. When you click on
383 <c>Start recording</c> the ISO image will be burned correctly onto the CD-R.
384 </li>
385 <li>
386 With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the
387 type of file to <c>*.*</c> and select the ISO file. Older versions of Nero
388 will tell you they don't recognize the format -- confirm here, it does
389 recognize it but doesn't know it yet :) In the next dialog, set the
390 following parameters:
391 <ul>
392 <li>Type of image: <c>Data Mode 1</c></li>
393 <li>Block size: <c>2048 bytes</c></li>
394 <li>File precursor and length of the image trailer: <c>0 bytes</c></li>
395 <li>Scrambled: <c>no</c></li>
396 <li>Swapped: <c>no</c></li>
397 </ul>
398 Now click on <c>OK</c> and then <c>Burn</c> (the CD-R)
399 </li>
400 <li> 434 <li>
401 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace 435 With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace
402 <path>/dev/hdc</path> with your CD-RW drive's device path) followed 436 <path>/dev/hdc</path> with your CD-RW drive's device path) followed
403 by the path to the ISO file :) 437 by the path to the ISO file :)
404 </li> 438 </li>
405 <li> 439 <li>
406 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. The 440 With K3B, select <c>Tools</c> &gt; <c>CD</c> &gt; <c>Burn Image</c>. Then
407 under the 'Image to Burn' area, locate the ISO file. Finally click 441 you can locate your ISO file within the 'Image to Burn' area. Finally click
408 <c>Start</c>. 442 <c>Start</c>.
409 </li> 443 </li>
410</ul> 444</ul>
411 445
412</body> 446</body>
425ok <i>boot cdrom</i> 459ok <i>boot cdrom</i>
426</pre> 460</pre>
427 461
428<p> 462<p>
429You will be greeted by the SILO boot manager (on the LiveCD). Type in 463You will be greeted by the SILO boot manager (on the LiveCD). Type in
430<c>gentoo</c> (single-CPU kernel) or <c>smp</c> (multi-CPU kernel) and press 464<c>gentoo-2.4</c> (single-CPU kernel) or <c>gentoo-2.4-smp</c>
431enter to continue booting the system. In the following example we'll boot the 465(multi-CPU kernel) and press enter to continue booting the system. In the
432<c>gentoo</c> kernel. 466following example we'll boot the <c>gentoo-2.4</c> kernel.
433</p> 467</p>
434 468
435<pre caption="Continue booting from the LiveCD"> 469<pre caption="Continue booting from the LiveCD">
436boot: <i>gentoo</i> 470boot: <i>gentoo-2.4</i>
437</pre> 471</pre>
438 472
439<p> 473<p>
440Once the LiveCD is booted, you will be greeted by a login prompt. Log on as 474Once the LiveCD is booted, you will be greeted by a login prompt. Log on as
441<c>root</c>. There is no password, so when you are asked for one, press Enter. 475<c>root</c>. There is no password, so when you are asked for one, press Enter.
504<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> 538<comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i>
505</pre> 539</pre>
506 540
507</body> 541</body>
508</subsection> 542</subsection>
509<subsection> 543<subsection id="useraccounts">
510<title>Optional: User Accounts</title> 544<title>Optional: User Accounts</title>
511<body> 545<body>
512 546
513<p> 547<p>
514If you plan on giving other people access to your installation 548If you plan on giving other people access to your installation
526New password: <comment>(Enter your new password)</comment> 560New password: <comment>(Enter your new password)</comment>
527Re-enter password: <comment>(Re-enter your password)</comment> 561Re-enter password: <comment>(Re-enter your password)</comment>
528</pre> 562</pre>
529 563
530<p> 564<p>
531To create a user account, we first enter his/her credentials, followed by 565To create a user account, we first enter their credentials, followed by
532its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. 566its password. We use <c>useradd</c> and <c>passwd</c> for these tasks.
533In the next example, we create a user called &quot;john&quot;. 567In the next example, we create a user called &quot;john&quot;.
534</p> 568</p>
535 569
536<pre caption="Creating a user account"> 570<pre caption="Creating a user account">
537# <i>useradd john</i> 571# <i>useradd -m -G users john</i>
538# <i>passwd john</i> 572# <i>passwd john</i>
539New password: <comment>(Enter john's password)</comment> 573New password: <comment>(Enter john's password)</comment>
540Re-enter password: <comment>(Re-enter john's password)</comment> 574Re-enter password: <comment>(Re-enter john's password)</comment>
541</pre> 575</pre>
542 576
544You can change your user id from root to the newly created user by using 578You can change your user id from root to the newly created user by using
545<c>su</c>: 579<c>su</c>:
546</p> 580</p>
547 581
548<pre caption="Changing user id"> 582<pre caption="Changing user id">
549# <i>su john -</i> 583# <i>su - john</i>
584</pre>
585
586</body>
587</subsection>
588<subsection>
589<title>Optional: Viewing Documentation while Installing</title>
590<body>
591
592<p>
593If you want to view the Gentoo Handbook (either from-CD or online) during the
594installation, make sure you have created a user account (see <uri
595link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to
596go to a new terminal and log in.
550</pre> 597</p>
598
599<p>
600If you want to view the documentation on the CD you can immediately run
601<c>links2</c> to read it:
602</p>
603
604<pre caption="Viewing the on-CD documentation">
605# <i>links2 /mnt/cdrom/docs/html/index.html</i>
606</pre>
607
608<p>
609However, it is preferred that you use the online Gentoo Handbook as it will be
610more recent than the one provided on the CD. You can view it using <c>links2</c>
611as well, but only after having completed the <e>Configuring your Network</e>
612chapter (otherwise you won't be able to go on the Internet to view the
613document):
614</p>
615
616<pre caption="Viewing the Online Documentation">
617# <i>links2 http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml</i>
618</pre>
619
620<p>
621You can go back to your original terminal by pressing <c>Alt-F1</c>.
622</p>
551 623
552</body> 624</body>
553</subsection> 625</subsection>
554<subsection> 626<subsection>
555<title>Optional: Starting the SSH Daemon</title> 627<title>Optional: Starting the SSH Daemon</title>
570<pre caption="Starting the SSH daemon"> 642<pre caption="Starting the SSH daemon">
571# <i>/etc/init.d/sshd start</i> 643# <i>/etc/init.d/sshd start</i>
572</pre> 644</pre>
573 645
574<p> 646<p>
575To be able to use sshd, you first need to setup your networking. Continue with 647To be able to use sshd, you first need to set up your networking. Continue with
576the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>. 648the chapter on <uri link="?part=1&amp;chap=3">Configuring your Network</uri>.
577</p> 649</p>
578 650
579</body> 651</body>
580</subsection> 652</subsection>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.20