| 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-alpha-medium.xml,v 1.58 2012/06/29 15:57:32 swift Exp $ -->
|
| 8 |
|
| 9 |
<sections>
|
| 10 |
|
| 11 |
<version>17</version>
|
| 12 |
<date>2012-11-12</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>CPU</th>
|
| 34 |
<ti>
|
| 35 |
Please check with the <uri
|
| 36 |
link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri>
|
| 37 |
</ti>
|
| 38 |
</tr>
|
| 39 |
<tr>
|
| 40 |
<th>Memory</th>
|
| 41 |
<ti>64 MB</ti>
|
| 42 |
</tr>
|
| 43 |
<tr>
|
| 44 |
<th>Diskspace</th>
|
| 45 |
<ti>1.5 GB (excluding swap space)</ti>
|
| 46 |
</tr>
|
| 47 |
<tr>
|
| 48 |
<th>Swap space</th>
|
| 49 |
<ti>At least 256 MB</ti>
|
| 50 |
</tr>
|
| 51 |
</table>
|
| 52 |
|
| 53 |
</body>
|
| 54 |
</subsection>
|
| 55 |
</section>
|
| 56 |
|
| 57 |
<section>
|
| 58 |
<title>The Gentoo Installation CD</title>
|
| 59 |
<subsection>
|
| 60 |
<title>Introduction</title>
|
| 61 |
<body>
|
| 62 |
|
| 63 |
<p>
|
| 64 |
The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
|
| 65 |
self-sustained Gentoo environment. They allow you to boot Linux from the CD.
|
| 66 |
During the boot process your hardware is detected and the appropriate drivers
|
| 67 |
are loaded. They are maintained by Gentoo developers.
|
| 68 |
</p>
|
| 69 |
|
| 70 |
<p>
|
| 71 |
All Installation CDs allow you to boot, set up networking, initialize your
|
| 72 |
partitions and start installing Gentoo from the Internet.
|
| 73 |
</p>
|
| 74 |
|
| 75 |
<!--
|
| 76 |
<impo>
|
| 77 |
If you wish to install Gentoo without a working Internet connection, please use
|
| 78 |
the installation instructions described in the <uri
|
| 79 |
link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>.
|
| 80 |
</impo>
|
| 81 |
|
| 82 |
<p>
|
| 83 |
The two Installation CDs we currently provide are:
|
| 84 |
</p>
|
| 85 |
|
| 86 |
<ul>
|
| 87 |
<li>
|
| 88 |
The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which
|
| 89 |
sole purpose is to boot the system, prepare the networking and continue
|
| 90 |
with the Gentoo installation.
|
| 91 |
</li>
|
| 92 |
<li>
|
| 93 |
The Gentoo Universal Installation CD, a bootable CD with the same abilities
|
| 94 |
as the Minimal Installation CD. Additionally, it contains several stage3
|
| 95 |
tarballs (optimized for the individual subarchitectures).
|
| 96 |
</li>
|
| 97 |
</ul>
|
| 98 |
|
| 99 |
<p>
|
| 100 |
To help you decide which Installation CD you need, we have written down the
|
| 101 |
major advantages and disadvantages of each Installation CD.
|
| 102 |
</p>
|
| 103 |
-->
|
| 104 |
|
| 105 |
</body>
|
| 106 |
</subsection>
|
| 107 |
<subsection>
|
| 108 |
<title>Gentoo Minimal Installation CD</title>
|
| 109 |
<body>
|
| 110 |
|
| 111 |
<p>
|
| 112 |
The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
|
| 113 |
takes up around <keyval id="min-cd-size"/> MB of diskspace. You can use this
|
| 114 |
Installation CD to install Gentoo, but <e>only</e> with a working Internet
|
| 115 |
connection.
|
| 116 |
</p>
|
| 117 |
<!--
|
| 118 |
<table>
|
| 119 |
<tr>
|
| 120 |
<th>Minimal Installation CD</th>
|
| 121 |
<th>Pros and Cons</th>
|
| 122 |
</tr>
|
| 123 |
<tr>
|
| 124 |
<th>+</th>
|
| 125 |
<ti>Smallest download</ti>
|
| 126 |
</tr>
|
| 127 |
<tr>
|
| 128 |
<th>-</th>
|
| 129 |
<ti>
|
| 130 |
Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
|
| 131 |
therefore not suitable for networkless installation
|
| 132 |
</ti>
|
| 133 |
</tr>
|
| 134 |
</table>
|
| 135 |
|
| 136 |
</body>
|
| 137 |
</subsection>
|
| 138 |
<subsection>
|
| 139 |
<title>Gentoo's Universal Installation CD</title>
|
| 140 |
<body>
|
| 141 |
|
| 142 |
<p>
|
| 143 |
The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c>
|
| 144 |
and consumes about 316 MB on a CD. You can use this Installation CD to install
|
| 145 |
Gentoo, and you can even use it to install Gentoo without a working internet
|
| 146 |
connection.
|
| 147 |
</p>
|
| 148 |
|
| 149 |
<table>
|
| 150 |
<tr>
|
| 151 |
<th>Universal Installation CD</th>
|
| 152 |
<th>Pros and Cons</th>
|
| 153 |
</tr>
|
| 154 |
<tr>
|
| 155 |
<ti>+</ti>
|
| 156 |
<ti>
|
| 157 |
Contains everything you need. You can even install without a network
|
| 158 |
connection.
|
| 159 |
</ti>
|
| 160 |
</tr>
|
| 161 |
<tr>
|
| 162 |
<ti>-</ti>
|
| 163 |
<ti>
|
| 164 |
Huge download
|
| 165 |
</ti>
|
| 166 |
</tr>
|
| 167 |
</table>
|
| 168 |
|
| 169 |
</body>
|
| 170 |
</subsection>
|
| 171 |
|
| 172 |
<subsection>
|
| 173 |
<title>Other CDs</title>
|
| 174 |
<body>
|
| 175 |
|
| 176 |
<p>
|
| 177 |
You might find a Package CD on one of our mirrors. This CD is not an
|
| 178 |
Installation CD but an additional resource that can be exploited during a
|
| 179 |
networkless installation. It contains prebuilt packages (also known as the GRP
|
| 180 |
set) that allow you to easily and quickly install additional applications
|
| 181 |
(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
|
| 182 |
Gentoo installation.
|
| 183 |
</p>
|
| 184 |
|
| 185 |
<p>
|
| 186 |
If you intend to use the Packages CD to quickly install additional software,
|
| 187 |
make sure that you use the same subarchitecture as the stage3 tarball you use.
|
| 188 |
</p>
|
| 189 |
-->
|
| 190 |
</body>
|
| 191 |
</subsection>
|
| 192 |
<subsection>
|
| 193 |
<title>The Stage3 Tarball</title>
|
| 194 |
<body>
|
| 195 |
|
| 196 |
<p>
|
| 197 |
A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
|
| 198 |
to continue the Gentoo installation using the instructions in this manual.
|
| 199 |
Previously, the Gentoo Handbook described the installation using one of three
|
| 200 |
stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the
|
| 201 |
official installation method uses the stage3 tarball. If you are interested in
|
| 202 |
performing a Gentoo installation using a stage1 or stage2 tarball, please read
|
| 203 |
the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
|
| 204 |
Using a Stage1 or Stage2 Tarball?</uri>
|
| 205 |
</p>
|
| 206 |
|
| 207 |
<p>
|
| 208 |
Stage3 tarballs can be downloaded from <path><keyval
|
| 209 |
id="release-dir"/>current-stage3/</path> on any of the <uri
|
| 210 |
link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided
|
| 211 |
on the LiveCD.
|
| 212 |
</p>
|
| 213 |
|
| 214 |
</body>
|
| 215 |
</subsection>
|
| 216 |
</section>
|
| 217 |
<!-- STOP -->
|
| 218 |
<section>
|
| 219 |
<title>Download, Burn and Boot a Gentoo Installation CD</title>
|
| 220 |
<subsection>
|
| 221 |
<title>Downloading and Burning the Installation CDs</title>
|
| 222 |
<body>
|
| 223 |
|
| 224 |
<p>
|
| 225 |
You have chosen to use a Gentoo Installation CD. We'll first start by
|
| 226 |
downloading and burning the chosen Installation CD. We previously discussed
|
| 227 |
the several available Installation CDs, but where can you find them?
|
| 228 |
</p>
|
| 229 |
|
| 230 |
<p>
|
| 231 |
You can download any of the Installation CDs from one of our <uri
|
| 232 |
link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in
|
| 233 |
the <path><keyval id="release-dir"/>current-iso/</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
|
| 243 |
its SHA-2 checksum and compare it with the SHA-2 checksum we provide (such as
|
| 244 |
<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the SHA-2 checksum
|
| 245 |
with the <c>sha512sum</c> tool under Linux/Unix or <uri
|
| 246 |
link="http://www.krylack.com/file-checksum-tool/">File Checksum Tool</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 keys whose
|
| 253 |
key ids can be found on the <uri link="/proj/en/releng/index.xml">release
|
| 254 |
engineering project site</uri>.
|
| 255 |
</p>
|
| 256 |
|
| 257 |
<pre caption="Obtaining the public key">
|
| 258 |
<comment>(... Substitute the key ids with those mentioned on the release engineering site ...)</comment>
|
| 259 |
$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i>
|
| 260 |
</pre>
|
| 261 |
|
| 262 |
<p>
|
| 263 |
Now verify the signature:
|
| 264 |
</p>
|
| 265 |
|
| 266 |
<pre caption="Verify the files">
|
| 267 |
<comment>(Verify the cryptographic signature)</comment>
|
| 268 |
$ <i>gpg --verify <downloaded iso.DIGESTS.asc></i>
|
| 269 |
<comment>(Verify the checksum)</comment>
|
| 270 |
$ <i>sha1sum -c <downloaded iso.DIGESTS.asc></i>
|
| 271 |
</pre>
|
| 272 |
|
| 273 |
<p>
|
| 274 |
To burn the downloaded ISO(s), you have to select raw-burning. How you
|
| 275 |
do this is highly program-dependent. We will discuss <c>cdrecord</c> and
|
| 276 |
<c>K3B</c> here; more information can be found in our <uri
|
| 277 |
link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
|
| 278 |
</p>
|
| 279 |
|
| 280 |
<ul>
|
| 281 |
<li>
|
| 282 |
With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso
|
| 283 |
file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's
|
| 284 |
device path).
|
| 285 |
</li>
|
| 286 |
<li>
|
| 287 |
With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate
|
| 288 |
your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
|
| 289 |
</li>
|
| 290 |
</ul>
|
| 291 |
|
| 292 |
</body>
|
| 293 |
</subsection>
|
| 294 |
<subsection>
|
| 295 |
<title>Booting the Installation CD</title>
|
| 296 |
<body>
|
| 297 |
|
| 298 |
<p>
|
| 299 |
When your Alpha is powered on, the first thing that gets started is the
|
| 300 |
firmware. It is loosely synonymous with the BIOS software on PC systems. There
|
| 301 |
are two types of firmware on Alpha systems: SRM (<e>Systems Reference
|
| 302 |
Manual</e>) and ARC (<e>Advanced Risc Console</e>).
|
| 303 |
</p>
|
| 304 |
|
| 305 |
<p>
|
| 306 |
SRM is based on the Alpha Console Subsystem specification, which provides an
|
| 307 |
operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
|
| 308 |
is based on the Advanced RISC Computing (ARC) specification, which provides
|
| 309 |
an operating environment for Windows NT. You can find a
|
| 310 |
<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on
|
| 311 |
using SRM over at the Alpha Linux website.
|
| 312 |
</p>
|
| 313 |
|
| 314 |
<p>
|
| 315 |
If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you
|
| 316 |
should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
|
| 317 |
instructions</uri> for switching to SRM. If your system already uses SRM, you
|
| 318 |
are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
|
| 319 |
will need to choose <c>MILO</c> later on when we are talking about bootloaders.
|
| 320 |
</p>
|
| 321 |
|
| 322 |
<p>
|
| 323 |
Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
|
| 324 |
system. You can use SRM to boot the Installation CD. If you cannot do that, you
|
| 325 |
will have to use <c>MILO</c>.
|
| 326 |
</p>
|
| 327 |
|
| 328 |
<pre caption="Booting a CD-ROM using SRM">
|
| 329 |
<comment>(List available hardware drives)</comment>
|
| 330 |
>>> <i>show device</i>
|
| 331 |
dkb0.0.1.4.0 DKB0 TOSHIBA CDROM
|
| 332 |
<comment>(...)</comment>
|
| 333 |
<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
|
| 334 |
>>> <i>boot dkb0 -flags 0</i>
|
| 335 |
<comment>(This flag will use serial port ttyS0 as the default console)</comment>
|
| 336 |
>>> <i>boot dkb0 -flags 2</i>
|
| 337 |
</pre>
|
| 338 |
|
| 339 |
<pre caption="Booting a CD-ROM using MILO">
|
| 340 |
<comment>(Substitute sdb with your CD-ROM drive device)</comment>
|
| 341 |
MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i>
|
| 342 |
<comment>(Using serial port ttyS0 as the default console)</comment>
|
| 343 |
MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i>
|
| 344 |
</pre>
|
| 345 |
|
| 346 |
<p>
|
| 347 |
You should have a root ("#") prompt on the current console and can also switch
|
| 348 |
to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
|
| 349 |
started on by pressing Alt-F1.
|
| 350 |
</p>
|
| 351 |
|
| 352 |
<p>
|
| 353 |
Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
|
| 354 |
</p>
|
| 355 |
|
| 356 |
</body>
|
| 357 |
</subsection>
|
| 358 |
|
| 359 |
<subsection>
|
| 360 |
<include href="hb-install-bootconfig.xml"/>
|
| 361 |
</subsection>
|
| 362 |
|
| 363 |
</section>
|
| 364 |
</sections>
|