<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE sections SYSTEM "/dtd/book.dtd">

<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->

<!-- $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 $ -->

<sections>

<version>9.2</version>
<date>2008-06-05</date>

<section>
<title>Hardware Requirements</title>
<subsection>
<title>Introduction</title>
<body>

<p>
Before we start, we first list what hardware requirements you need to
successfully install Gentoo on your box. 
</p>

</body>
</subsection>
<subsection>
<title>Hardware Requirements</title>
<body>

<table>
<tr>
  <th>CPU</th>
  <ti>
    Please check with the <uri
    link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri>
  </ti>
</tr>
<tr>
  <th>Memory</th>
  <ti>64 MB</ti>
</tr>
<tr>
  <th>Diskspace</th>
  <ti>1.5 GB (excluding swap space)</ti>
</tr>
<tr>
  <th>Swap space</th>
  <ti>At least 256 MB</ti>
</tr>
</table>

</body>
</subsection>
</section>

<section>
<title>The Gentoo Installation CD</title>
<subsection>
<title>Introduction</title>
<body>

<p>
The <e>Gentoo Installation CDs</e> are bootable CDs which contain a
self-sustained Gentoo environment. They allow you to boot Linux from the CD.
During the boot process your hardware is detected and the appropriate drivers
are loaded. They are maintained by Gentoo developers.
</p>

<!--
<p>
All Installation CDs allow you to boot, set up networking, initialize your
partitions and start installing Gentoo from the Internet. We currently provide
two Installation CDs which are equally suitable to install Gentoo from, as long 
as you're planning on performing an Internet-based installation using the 
latest version of the available packages.
</p>

<p>
If you wish to install Gentoo without a working Internet connection, please use
the installation instructions described in the <uri
link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. 
</p>

<p>
The two Installation CDs we currently provide are:
</p>

<ul>
  <li>
    The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which
    sole purpose is to boot the system, prepare the networking and continue
    with the Gentoo installation.
  </li>
  <li>
    The Gentoo Universal Installation CD, a bootable CD with the same abilities
    as the Minimal Installation CD. Additionally, it contains several stage3 
    tarballs (optimized for the individual subarchitectures).
  </li>
</ul>

<p>
To help you decide which Installation CD you need, we have written down the
major advantages and disadvantages of each Installation CD.
</p>
-->

</body>
</subsection>
<subsection>
<title>Gentoo's Minimal Installation CD</title>
<body>

<p>
The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and
takes up only 47 MB of diskspace. You must use this Installation CD to install
Gentoo, and you need a working Internet connection.
</p>
<!--
<table>
<tr>
  <th>Minimal Installation CD</th>
  <th>Pros and Cons</th>
</tr>
<tr>
  <th>+</th>
  <ti>Smallest download</ti>
</tr>
<tr>
  <th>-</th>
  <ti>
    Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is
    therefore not suitable for networkless installation
  </ti>
</tr>
</table>

</body>
</subsection>
<subsection>
<title>Gentoo's Universal Installation CD</title>
<body>

<p>
The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c>
and consumes about 316 MB on a CD. You can use this Installation CD to install
Gentoo, and you can even use it to install Gentoo without a working internet
connection, just in case you want to bring Gentoo to another PC than the one
you are currently installing Gentoo on :)
</p>

<table>
<tr>
  <th>Universal Installation CD</th>
  <th>Pros and Cons</th>
</tr>
<tr>
  <ti>+</ti>
  <ti>
    Contains everything you need. You can even install without a network
    connection.
  </ti>
</tr>
<tr>
  <ti>-</ti>
  <ti>
    Huge download
  </ti>
</tr>
</table>

</body>
</subsection>

<subsection>
<title>Other CDs</title>
<body>

<p>
You might find a Package CD on one of our mirrors. This CD is not an
Installation CD but an additional resource that can be exploited during a
networkless installation. It contains prebuilt packages (also known as the GRP
set) that allow you to easily and quickly install additional applications
(such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless
Gentoo installation.
</p>

<p>
If you intend to use the Packages CD to quickly install additional software,
make sure that you use the same subarchitecture as the stage3 tarball you use.
</p>
-->
</body>
</subsection>
<subsection>
<title>The Stage3 Tarball</title>
<body>

<p>
A stage3 tarball is an archive containing a minimal Gentoo environment, suitable
to continue the Gentoo installation using the instructions in this manual.
Previously, the Gentoo Handbook described the installation using one of three 
stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the 
official installation method uses the stage3 tarball. If you are interested in
performing a Gentoo installation using a stage1 or stage2 tarball, please read
the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo
Using a Stage1 or Stage2 Tarball?</uri>
</p>

</body>
</subsection>
</section>
<!-- STOP -->
<section>
<title>Download, Burn and Boot a Gentoo Installation CD</title>
<subsection>
<title>Downloading and Burning the Installation CDs</title>
<body>

<p>
You have chosen to use a Gentoo Installation CD. We'll first start by 
downloading and burning the chosen Installation CD. We previously discussed 
the several available Installation CDs, but where can you find them? 
</p>

<p>
You can download any of the Installation CDs (and, if you want to, a Packages CD
as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The
Installation CDs are located in the <path><keyval
id="release-dir"/>installcd</path> directory.
</p>

<p>
Inside that directory you'll find ISO files. Those are full CD images which you
can write on a CD-R.
</p>

<p>
In case you wonder if your downloaded file is corrupted or not, you can check
its MD5 checksum and compare it with the MD5 checksum we provide (such as
<path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum
with the <c>md5sum</c> tool under Linux/Unix or <uri
link="http://www.etree.org/md5com.html">md5sum</uri> for Windows.
</p>

<p>
Another way to check the validity of the downloaded file is to use GnuPG to
verify the cryptographic signature that we provide (the file ending with
<path>.asc</path>). Download the signature file and obtain the public key:
</p>

<pre caption="Obtaining the public key">
$ <i>gpg --keyserver subkeys.pgp.net --recv-keys 17072058</i>
</pre>

<p>
Now verify the signature:
</p>

<pre caption="Verify the cryptographic signature">
$ <i>gpg --verify &lt;signature file&gt; &lt;downloaded iso&gt;</i>
</pre>

<p>
To burn the downloaded ISO(s), you have to select raw-burning. How you
do this is highly program-dependent. We will discuss <c>cdrecord</c> and
<c>K3B</c> here; more information can be found in our <uri
link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>.
</p>

<ul>
  <li>
    With cdrecord, you simply type <c>cdrecord dev=/dev/hdc &lt;downloaded iso 
    file&gt;</c> (replace <path>/dev/hdc</path> with your CD-RW drive's 
    device path).
  </li>
  <li>
    With K3B, select <c>Tools</c> &gt; <c>Burn CD Image</c>. Then you can locate
    your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>.
  </li>
</ul>

</body>
</subsection>
<subsection>
<title>Booting the Installation CD</title>
<body>

<p>
When your Alpha is powered on, the first thing that gets started is the
firmware. It is loosely synonymous with the BIOS software on PC systems. There
are two types of firmware on Alpha systems: SRM (<e>Systems Reference 
Manual</e>) and ARC (<e>Advanced Risc Console</e>).
</p>

<p>
SRM is based on the Alpha Console Subsystem specification, which provides an
operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC
is based on the Advanced RISC Computing (ARC) specification, which provides
an operating environment for Windows NT.  You can find a 
<uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on 
using SRM over at the Alpha Linux website.
</p>

<p>
If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you
should follow <uri link="http://www.alphalinux.org/faq/x31.html">these
instructions</uri> for switching to SRM. If your system already uses SRM, you
are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you
will need to choose <c>MILO</c> later on when we are talking about bootloaders.
</p>

<p>
Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the
system. You can use SRM to boot the Installation CD. If you cannot do that, you
will have to use <c>MILO</c>.
</p>

<pre caption="Booting a CD-ROM using SRM">
<comment>(List available hardware drives)</comment>
&gt;&gt;&gt; <i>show device</i>
dkb0.0.1.4.0        DKB0       TOSHIBA CDROM
<comment>(...)</comment>
<comment>(Substitute dkb0 with your CD-ROM drive device)</comment>
&gt;&gt;&gt; <i>boot dkb0 -flags 0</i>
<comment>(If you need serial console support)</comment>
&gt;&gt;&gt; <i>boot dkb0 -flags 2</i>
</pre>

<pre caption="Booting a CD-ROM using MILO">
<comment>(Substitute sdb with your CD-ROM drive device)</comment>
MILO&gt; <i>boot sdb:/boot/gentoo_2.6 initrd=/boot/gentoo_2_6.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i>
<comment>(If you need serial console support)</comment>
MILO&gt; <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>
</pre>

<p>
You should have a root ("#") prompt on the current console and can also switch
to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you
started on by pressing Alt-F1.
</p>

<p>
Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>.
</p>

</body>
</subsection>

<subsection>
<include href="hb-install-bootconfig.xml"/>
</subsection>

</section>
</sections>
