| 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.41 2006/02/27 00:55:35 fox2mike Exp $ -->
|
| 8 |
|
| 9 |
<sections>
|
| 10 |
|
| 11 |
<version>7.0</version>
|
| 12 |
<date>2006-08-30</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 |
<!-- Warning: The part originally contains "x86" -->
|
| 65 |
<!-- START -->
|
| 66 |
<section>
|
| 67 |
<title>The Gentoo Installation CDs</title>
|
| 68 |
<subsection>
|
| 69 |
<title>Introduction</title>
|
| 70 |
<body>
|
| 71 |
|
| 72 |
<p>
|
| 73 |
The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
|
| 74 |
self-sustained Gentoo environment. They allow you to boot Linux from the CD.
|
| 75 |
During the boot process your hardware is detected and the appropriate drivers
|
| 76 |
are loaded. They are maintained by Gentoo developers.
|
| 77 |
</p>
|
| 78 |
|
| 79 |
<p>
|
| 80 |
All Installation CDs allow you to boot, set up networking, initialize your
|
| 81 |
partitions and start installing Gentoo from the Internet. We currently provide
|
| 82 |
two Installation CDs which are equaly suitable to install Gentoo from, as long
|
| 83 |
as you're planning on performing an Internet-based installation using the latest
|
| 84 |
version of the available packages.
|
| 85 |
</p>
|
| 86 |
|
| 87 |
<p>
|
| 88 |
If you wish to install Gentoo without a working Internet connection, please use
|
| 89 |
the installation instructions described in the <uri
|
| 90 |
link="2006.1/index.xml">Gentoo 2006.1 Handbooks</uri>.
|
| 91 |
</p>
|
| 92 |
|
| 93 |
<p>
|
| 94 |
The two Installation CDs that we currently provide are:
|
| 95 |
</p>
|
| 96 |
|
| 97 |
<ul>
|
| 98 |
<li>
|
| 99 |
The Gentoo <e>Minimal</e> Installation CD, a small, no-nonsense, bootable CD
|
| 100 |
which sole purpose is to boot the system, prepare the networking and
|
| 101 |
continue with the Gentoo installation.
|
| 102 |
</li>
|
| 103 |
<li>
|
| 104 |
The Gentoo <e>Universal</e> Installation CD, a bootable CD with the same
|
| 105 |
abilities as the Minimal Installation CD. Additionally, it contains
|
| 106 |
several stage3 tarballs (optimized for the individual subarchitectures).
|
| 107 |
</li>
|
| 108 |
</ul>
|
| 109 |
|
| 110 |
<p>
|
| 111 |
We currently only provide Installation CDs for the sparc64 architecture. Users
|
| 112 |
of sparc32 can use the experimental netboot images to install Gentoo from.
|
| 113 |
More information about netbooting can be found in our <uri
|
| 114 |
link="/doc/en/gentoo-sparc-netboot-howto.xml">Gentoo/SPARC Netboot
|
| 115 |
HOWTO</uri>.
|
| 116 |
</p>
|
| 117 |
|
| 118 |
<p>
|
| 119 |
To help you decide which Installation CD you need, we have written down the
|
| 120 |
major advantages and disadvantages of each Installation CD.
|
| 121 |
</p>
|
| 122 |
|
| 123 |
</body>
|
| 124 |
</subsection>
|
| 125 |
<subsection>
|
| 126 |
<title>Gentoo's Minimal Installation CD</title>
|
| 127 |
<body>
|
| 128 |
|
| 129 |
<p>
|
| 130 |
The Minimal Installation CD is called <c>install-sparc64-minimal-2006.1.iso</c>
|
| 131 |
and takes up only 32 MB of diskspace. You can use this Installation CD to
|
| 132 |
install Gentoo, but always with a working Internet connection only.
|
| 133 |
</p>
|
| 134 |
|
| 135 |
<table>
|
| 136 |
<tr>
|
| 137 |
<th>Minimal Installation CD</th>
|
| 138 |
<th>Pros and Cons</th>
|
| 139 |
</tr>
|
| 140 |
<tr>
|
| 141 |
<th>+</th>
|
| 142 |
<ti>Smallest download</ti>
|
| 143 |
</tr>
|
| 144 |
<tr>
|
| 145 |
<th>-</th>
|
| 146 |
<ti>
|
| 147 |
Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
|
| 148 |
therefore not suitable for networkless installation
|
| 149 |
</ti>
|
| 150 |
</tr>
|
| 151 |
</table>
|
| 152 |
|
| 153 |
</body>
|
| 154 |
</subsection>
|
| 155 |
<subsection>
|
| 156 |
<title>Gentoo's Universal Installation CD</title>
|
| 157 |
<body>
|
| 158 |
|
| 159 |
<p>
|
| 160 |
The Universal Installation CD is called
|
| 161 |
<c>install-sparc64-universal-2006.1.iso</c> and uses 287 MB. You can use this
|
| 162 |
Installation CD to install Gentoo, and you can even use it to install Gentoo
|
| 163 |
without a working internet connection, just in case you want to bring Gentoo to
|
| 164 |
another PC than the one you 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/2006.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-2006.1.iso.DIGESTS</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 subkeys.pgp.net --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</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</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>links</c> to read it:
|
| 419 |
</p>
|
| 420 |
|
| 421 |
<pre caption="Viewing the on-CD documentation">
|
| 422 |
# <i>links /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>links</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>links 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>
|