Install/de/Stage3

From Funtoo
< Install‎ | de
Revision as of 20:33, January 30, 2015 by Jubalh (talk | contribs) (started)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


   Note

This is a template that is used as part of the Installation instructions which covers: the process of installing the Stage3 tarball. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Setzen des Datums

   Important

Falls das Datum oder die Zeit falsch sein sollte kann das dazu fuehren das Portage die Quelldateien nicht richtig herunterladen kann. Das liegt daran das einige Quelldatien ueber HTTPS heruntergeladen werden, welches SSL Zertifikate verwendent. Und diese werden mit einem Ablaufdatum versehen. Wenn das Datum aber nah genug am tatsaechlichen Datum ist kann dieser Schritt trotzdem funktionieren.

Jetzt ist es an der Zeit zu ueberpruefen ob das Datum richtigerweise auf UTC gesetzt ist. Man benutzt den date Befehl um das zu zu tun.

root # date
Fri Jul 15 19:47:18 UTC 2011

Falls das Datum korrigiert werden muss kann dies auf folgende Weise getan werden date MMDDhhmmYYYY. Das untere Beispiel setzt das Datum auf den 16. Juli 2001 20:00 Uhr UTC:

root # date 071620002011
Fri Jul 16 20:00:00 UTC 2011

Nachdem die Systemuhr gesetzt ist sollte man diese Zeit auf die Hardware-Uhr kopieren, damit die Zeit nach dem naechsten neustart bestehen bleibt:

root # hwclock --systohc

Installation des stage 3 Tarballs

Nachdem die Dateisysteme erstellt wurden und die Uhrzeit gesetzt ist, ist der naechste Schritt das herunterladen des Stage 3 Archivs. Dabei handelt es sich um eine vorkompilierstes System das als Startpunkt fuer Funtoo Linux benutzt wird.

Um die richtige build Version zu installieren gehe zu [[Subarches}}. Subarches sind Builds von Funtoo Linux die auf eine bestimme CPU angepasst wurden um maximale Performance zu erzielen. Es koennen somit die optimalen Befehlssaetze der CPU genutzt werden.

Die Subarches Seite listet alle optimierten Versionen von Funtoo Linux. Suche die auf deine CPU passende heraus, und klicke auf ihren Namen in der ersten Spalte (Beispiel: corei<\code> ). Von dieser Seite kann nun das Stage 3 Archiv heruntergeladen werden.

Fuer die meisten Subarches gibt es mehre verfuegbare Stage 3 Archive zur Auswahl. Der naechste Abschnitt wird dir erklaeren wie du die passende auswaehlst.

Welche Build Version?

Falls du nicht sicher bist nimm funtoo-current.

Funtoo Linux hat verschiedene 'builds':

BuildDescription
funtoo-currentDer meistgewaehlte build fuer Funtoo Linux. Wird hauefig aktualisiert und von Desktop Benutzern bevorzugt.
funtoo-stableHat weniger haeufige Aktualisierungen und setzt auf vertrauenswuerdige und stabile Versionen eines Pakets.

Welche Variante?

Falls du nicht sicher bist nimm (None).

Besides our "regular" stage3's listed with a variant of (None), the following variant builds are available:

VariantDescription
(None)The "standard" version of Funtoo Linux
pure64A 64-bit build that drops multilib (32-bit compatibility) support. Can be ideal for server systems.
hardenedIncludes PIE/SSP toolchain for enhanced security. PIE does require the use of PaX in the kernel, while SSP works with any kernel, and provides enhanced security in user-space to avoid stack-based exploits.

Download des Stage3 Archivs

Once you have found the stage3 that you would like to download, use wget to download the Stage 3 tarball you have chosen to use as the basis for your new Funtoo Linux system. It should be saved to the /mnt/funtoo directory as follows:

root # cd /mnt/funtoo
root # wget http://build.funtoo.org/funtoo-current/x86-64bit/generic_64/stage3-latest.tar.xz

Note that 64-bit systems can run 32-bit or 64-bit stages, but 32-bit systems can only run 32-bit stages. Make sure that you select a Stage 3 build that is appropriate for your CPU. If you are not certain, it is a safe bet to choose the generic_64 or generic_32 stage. Consult the Subarches page for more information.

Once the stage is downloaded, extract the contents with the following command, substituting in the actual name of your stage 3 tarball:

root # tar xpf stage3-latest.tar.xz
   Important

It is very important to use tar's "p" option when extracting the Stage 3 tarball - it tells tar to preserve any permissions and ownership that exist within the archive. Without this option, your Funtoo Linux filesystem permissions will be incorrect.