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