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