{"id":8208,"date":"2023-09-23T08:00:46","date_gmt":"2023-09-23T06:00:46","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=8208"},"modified":"2023-09-23T08:00:49","modified_gmt":"2023-09-23T06:00:49","slug":"gentoo-die-hochschule-unter-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/23\/gentoo-die-hochschule-unter-linux\/","title":{"rendered":"Gentoo &#8211; die Hochschule unter Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Gentoo ist eine der \u00e4ltesten Linux-Distributionen, sie wurde immer wieder tot gesagt, hat aber ihre eigene eingeschwei\u00dfte Linux-Gemeinde. Gentoo ist extrem anpassbar, Sie installieren nur, was Sie wollen und wie Sie es wollen. Sie wollen kein Systemd, lassen Sie es weg &#8211; so geht dies mit Gentoo.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Gentoo ist aber nicht wirklich f\u00fcr Linux-Einsteiger gedacht &#8211; selbst Arch-Linux-User (<em>nicht Manjaro oder dergleichen<\/em>), richtige Arch-User k\u00f6nnte man gegen Gentoo-User als Linux-Kindergarten bezeichnen. Wir sehen uns hier die Installation dieser Linux-Distribution etwas n\u00e4her an.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Gentoo installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Es gibt von Gentoo eine\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/gentoo.de\/downloads\/\" target=\"_blank\">Live-DVD<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1024x576.jpg\" alt=\"\" class=\"wp-image-8209\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Zur Installation von Gentoo sollten Sie eine Internet-Verbindung zum Router via Netzwerkkabel haben.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Diese ist allerdings nicht zur Installation gedacht, sie dient nur zur Pr\u00e4sentation, wie Gentoo aussieht. Das Deutsche Handbuch zur Installation finden Sie\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de\" target=\"_blank\">hier<\/a>. Das Medium zur Installation\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.gentoo.org\/downloads\/\" target=\"_blank\">hier<\/a>. Sie laden die &#8222;<strong>Minimal Installation CD<\/strong>&#8220; herunter &#8211; nur noch 64 Bit. Das heruntergeladene Image brennen Sie bootf\u00e4hig auf eine CD oder kopieren dieses etwa mit der Software\u00a0Etcher\u00a0auf einen USB-Stick und starten den Rechner davon:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-1024x576.jpg\" alt=\"\" class=\"wp-image-8210\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sie landen im Bootmen\u00fc, sollte es Probleme bei der Installation geben &#8211; passen Sie die Boot-Optionen wie in folgendem Artikel beschrieben an\u00a0<a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/wenn-linux-nicht-startet-sich-nicht-installieren-laesst\/\" data-type=\"post\" data-id=\"1927\" target=\"_blank\" rel=\"noreferrer noopener\">Wenn Linux nicht startet, sich nicht installieren l\u00e4sst<\/a>\u00a0&#8211; eine Beschreibung der m\u00f6glichen Boot-Optionen finden Sie\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Kernel_Auswahlm.C3.B6glichkeiten\" target=\"_blank\">hier<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-1024x576.jpg\" alt=\"\" class=\"wp-image-8211\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sie landen recht schnell bei der Auswahl des Tastaturlayouts, warten Sie nicht lange &#8211; tippen Sie die\u00a0<strong><kbd>12<\/kbd><\/strong>\u00a0f\u00fcr Deutsch ein und best\u00e4tigen mit <kbd>Eingabe<\/kbd>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-1024x576.jpg\" alt=\"\" class=\"wp-image-8212\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nun, wir sind im Live-System angelangt &#8211; dies zeigt uns der rote Shell-Prompt. Mehr Grafik brauchen wir uns die n\u00e4chste Zeit nicht erwarten. Hier haben wir schon\u00a0root-Rechte, das Passwort sollten wir jedoch schon zu Beginn \u00e4ndern:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Geben Sie ein sicheres Passwort ein, best\u00e4tigen mit <kbd>Eingabe<\/kbd> und wiederholen dies.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-1024x576.jpg\" alt=\"\" class=\"wp-image-8213\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-4.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt sollten wir zus\u00e4tzlich einen normalen Benutzer anlegen &#8211; nicht jeder hat einen zweiten Computer und die Anleitung zur Installation am Smartphone lesen ist nicht wirklich lustig &#8211; vor allem m\u00fcssen Sie zur Installation das Smartphone sicherlich zwei bis dreimal aufladen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>useradd -m -G users robert<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Fall habe ich den normalen Benutzer &#8222;<strong>robert<\/strong>&#8220; erstellt, jetzt legen wir f\u00fcr diesen das Passwort fest:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd robert<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-1024x576.jpg\" alt=\"\" class=\"wp-image-8214\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-5.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir mit\u00a0<strong><kbd>Alt+F2<\/kbd><\/strong>\u00a0auf das zweite virtuelle Terminal wechseln und dort mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>su - robert<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">auf den normalen Benutzer wechseln:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-1024x576.jpg\" alt=\"\" class=\"wp-image-8215\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-6.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir mit dem Webbrowser &#8222;<strong>links<\/strong>&#8220; die Dokumentation zur Installation \u00f6ffnen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>links https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/de<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-1024x576.jpg\" alt=\"\" class=\"wp-image-8216\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-7.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit\u00a0<strong><kbd>Alt+F1<\/kbd><\/strong>\u00a0und\u00a0<strong><kbd>Alt+F2<\/kbd><\/strong>\u00a0wechseln Sie jetzt zwischen Installation und Handbuch hin und her. Haben Sie kein Netzwerkkabel, k\u00f6nnen Sie es auch mit WLAN versuchen &#8211; dies m\u00fcssen Sie allerdings manuell einrichten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ip a<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ermitteln Sie erst einmal den Namen der Netzwerkkarten &#8211; schl\u00e4gt dies fehl, m\u00fcssen Sie erst einmal das richtige Kernel-Modul laden &#8211; mehr dazu im&nbsp;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Ermitteln_der_Interface-Namen\" target=\"_blank\" rel=\"noreferrer noopener\">Handbuch<\/a>. Im Screenshot sehen Sie nur normale Netzwerkkarten &#8211; jetzt richten wir die WLAN-Karte ein: &#8211; dies gelingt \u00fcber das Handbuch mit&nbsp;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Networking\/Wireless\/de\" target=\"_blank\" rel=\"noreferrer noopener\">wpa_supplicant<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fdisk<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">lassen Sie sich jetzt die vorhandene Partitionierung anzeigen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-1024x576.jpg\" alt=\"\" class=\"wp-image-8217\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-9.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Genauere Informationen erhalten wir, indem wir die gew\u00fcnschte Festplatte mit angeben &#8211; nach meinem Beispiel etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fdisk \/dev\/vda<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend dr\u00fccken Sie die Taste &#8222;<strong><kbd>p<\/kbd><\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-1024x576.jpg\" alt=\"\" class=\"wp-image-8218\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-10.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit &#8222;<strong><kbd>g<\/kbd><\/strong>&#8220; k\u00f6nnen wir jetzt die komplette Festplatte l\u00f6schen und eine GPT-Partitionstabelle anlegen. Mit &#8222;<strong><kbd>d<\/kbd><\/strong>&#8220; k\u00f6nnen wir einzelne Partitionen l\u00f6schen &#8211; anschlie\u00dfend werden Sie gefragt, welche. Nun, ich habe die komplette Platte gel\u00f6scht &#8211;\u00a0<strong><em>Wichtig<\/em><\/strong>\u00a0&#8211; nutzen Sie GPT nur, wenn Sie auch UEFI nutzen.:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-1024x576.jpg\" alt=\"\" class=\"wp-image-8219\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-11.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Nun, ich will erst einmal eine SWAP-Partition erstellen &#8211; nutzen Sie einen UEFI-Rechner, m\u00fcssen Sie auch eine solche Partition anlegen. Da ich hier in einer VM arbeite, brauche ich eine solche nicht. Ich dr\u00fccke &#8222;<strong><kbd>n<\/kbd><\/strong>&#8220; um eine Partition anzulegen, best\u00e4tige mit <kbd>Eingabe<\/kbd> &#8211; das System fragt nun &#8222;<strong><kbd>1<\/kbd><\/strong>&#8222;, Sie best\u00e4tigen, ebenfalls den Sektor &#8211; jetzt geben Sie die Gr\u00f6\u00dfe an, mit &#8222;<strong><code>+1G<\/code><\/strong>&#8220; wird diese Partition 1 Gigabyte gro\u00df:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-1024x576.jpg\" alt=\"\" class=\"wp-image-8220\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-12.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Nachfrage nach der Signatur best\u00e4tigen wir durch &#8222;<kbd>n<\/kbd>&#8222;, jetzt geben wir das Dateisystem an &#8211; wir w\u00e4hlen die Partition aus, mit &#8222;<strong><kbd>t<\/kbd><\/strong>&#8220; und &#8222;<strong><kbd>1<\/kbd><\/strong>&#8222;. Mit &#8222;<strong><kbd>L<\/kbd><\/strong>&#8220; k\u00f6nnen wir uns jetzt alle Typen anzeigen lassen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-1024x576.jpg\" alt=\"\" class=\"wp-image-8221\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-13.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">&#8222;<strong>19<\/strong>&#8220; ist SWAP, wir beenden die Ausgabe mit &#8222;<strong><kbd>q<\/kbd><\/strong>&#8220; und geben &#8222;<strong><code>19<\/code><\/strong>&#8220; ein. Dasselbe jetzt mit der Systempartition &#8222;<strong>\/<\/strong>&#8220; &#8211; wir geben &#8222;<strong><kbd>n<\/kbd><\/strong>&#8220; ein, best\u00e4tigen mit &#8222;<strong><kbd>2<\/kbd><\/strong>&#8220; f\u00fcr die zweite Partition, best\u00e4tigen den ersten zu nutzenden Sektor und geben anschlie\u00dfend die Gr\u00f6\u00dfe der zu erstellenden Partition an &#8211; dies wiederholen Sie, wenn gew\u00fcnscht f\u00fcr eine extra Home-Partition. Mit &#8222;<strong><kbd>p<\/kbd><\/strong>&#8220; lassen wir uns die Aufteilung der Festplatte jetzt anzeigen &#8211; in meinem Fall habe ich eine SWAP- und eine System-Partition:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-1024x576.jpg\" alt=\"\" class=\"wp-image-8222\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-14.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Dieses Setup best\u00e4tigen wir mit &#8222;<strong><kbd>w<\/kbd><\/strong>&#8222;. Die Software beendet sich automatisch. Wir haben die Festplatte jetzt aufgeteilt, aber nicht formatiert &#8211; eine UEFI-Partition partitionieren wir mit &#8222;Fat32&#8220; &#8211; im Beispiel nennt sich diese &#8222;<em>\/dev\/sda1<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkfs.vfat -F 32 \/dev\/sda1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt aktiviere ich die SWAP-Partition &#8211; &#8222;<em>\/dev\/vda1<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkswap \/dev\/vda1\nswapon \/dev\/vda1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend formatiere ich meine System-Partition &#8211; &#8222;<em>\/dev\/vda2<\/em>&#8220; mit\u00a0<strong>EXT4<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkfs.ext4 \/dev\/vda2<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-1024x576.jpg\" alt=\"\" class=\"wp-image-8223\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-15.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir weiter gehen, wir h\u00e4ngen die root-Partition ein. Bei mir nennt sich die root-Partition &#8222;<em>\/dev\/vda2<\/em>&#8220; &#8211; diese gilt es unter &#8222;<em>\/mnt\/gentoo<\/em>&#8220; einh\u00e4ngen &#8211; dazu erstellen wir f\u00fcr jede Partition erst einmal das passende Verzeichnis. F\u00fcr meine &#8222;<em>\/dev\/vda2<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p \/mnt\/gentoo\/vda2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dies wiederholen Sie mit allen erstellten Partitionen &#8211; au\u00dfer &#8222;<strong>SWAP<\/strong>&#8222;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Und anschlie\u00dfend werden alle Partitionen eingehangen &#8211; in meinem Beispiel eben nur &#8222;<em>vda2<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount \/dev\/vda2 \/mnt\/gentoo<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir kontrollieren die Uhrzeit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-1024x576.jpg\" alt=\"\" class=\"wp-image-8224\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-16.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In meinem Beispiel stimmt die Uhrzeit nicht &#8211; ich gebe diese darum manuell ein, sp\u00e4ter soll das System die Uhrzeit automatisch synchronisieren. Die Syntax funktioniert so:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date MMDDhhmmYYYY<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr &#8222;<strong>MonatTagStundeMinuteJahr<\/strong>&#8220; &#8211; in meinem Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>date 052101412023<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-1024x576.jpg\" alt=\"\" class=\"wp-image-8225\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-17.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt kommen wir der eigentlichen Installation etwas n\u00e4her &#8211; wir m\u00fcssen jetzt entscheiden, wollen wir Multilib (<em>32 und 64 Bit<\/em>) oder No-Multilib (<em>64 Bit<\/em>), ich pfeife auf Multilib. Wir wechseln als Erstes in unser Mount-Verzeichnis:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/mnt\/gentoo\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt finden wir unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.gentoo.org\/downloads\/#other-arches\" target=\"_blank\">https:\/\/www.gentoo.org\/downloads\/#other-arches<\/a>, \u2063 die sogenannten Stages:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"693\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18-1024x693.jpg\" alt=\"\" class=\"wp-image-8226\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18-1024x693.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18-300x203.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18-150x102.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18-768x520.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-18.jpg 1251w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Eine Stage ist nichts anderes als eine Variante, 32 und oder 64 Bit, mit oder ohne Systemd, geh\u00e4rteter Kernel oder nicht, &#8230; Ich w\u00e4hle &#8222;<strong>Desktop Profile | systemd<\/strong>&#8220; und brauche den Download-Link. In unserem eingeh\u00e4ngten Systemverzeichnis laden wir jetzt mit &#8222;<strong><code>wget<\/code><\/strong>&#8220; das gew\u00fcnschte Stage herunter &#8211; in meinem Fall:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/bouncer.gentoo.org\/fetch\/root\/all\/releases\/amd64\/autobuilds\/20230514T164657Z\/stage3-amd64-desktop-systemd-20230514T164657Z.tar.xz<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Einfacher funktioniert dies nat\u00fcrlich mit &#8222;<kbd>links<\/kbd>&#8220; &#8211; dieser wird im Verzeichnis mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>links https:\/\/www.gentoo.org\/downloads\/mirrors\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">gestartet. Hier w\u00e4hlen Sie zu Beginn einen nahen Server, und nutzen Sie die &#8222;<em>Snapshots<\/em>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-1024x576.jpg\" alt=\"\" class=\"wp-image-8227\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-19.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit &#8222;<strong><kbd>d<\/kbd><\/strong>&#8220; laden Sie das aktive Archiv herunter. Einfacher ist es ehrlich gesagt mit &#8222;<strong><code>wget<\/code><\/strong>&#8222;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-1024x576.jpg\" alt=\"\" class=\"wp-image-8228\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-20.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend wird das komprimierte Archiv entpackt:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun geht es an die Optionen f\u00fcr den Compiler &#8211; hierzu sollten Sie etwas Ahnung haben &#8211; mit den Optionen l\u00e4sst sich das System optimieren, es funktioniert auch so, aber besser ist das System nat\u00fcrlich optimiert &#8211; mehr dazu&nbsp;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Compiler-Optionen_konfigurieren\" target=\"_blank\" rel=\"noreferrer noopener\">hier<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt passen wir noch einige Dateien an &#8211; wir kopieren die DNS-Einstellungen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp --dereference \/etc\/resolv.conf \/mnt\/gentoo\/etc\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir h\u00e4ngen alle Dateisysteme ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount --types proc \/proc \/mnt\/gentoo\/proc\nmount --rbind \/sys \/mnt\/gentoo\/sys\nmount --make-rslave \/mnt\/gentoo\/sys\nmount --rbind \/dev \/mnt\/gentoo\/dev\nmount --make-rslave \/mnt\/gentoo\/dev\nmount --bind \/run \/mnt\/gentoo\/run\nmount --make-slave \/mnt\/gentoo\/run<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt steigen wir in die eingerichtete Gentoo-Umgebung ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chroot \/mnt\/gentoo \/bin\/bash\nsource \/etc\/profile\nexport PS1=\"(chroot) ${PS1}\"<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-1024x576.jpg\" alt=\"\" class=\"wp-image-8229\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-21.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir h\u00e4ngen die Boot-Partition ein &#8211; in meinem Beispiel &#8222;<em>\/dev\/vda2<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount \/dev\/vda2 \/boot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt synchronisieren wir das System mit dem Spiegelserver:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge-webrsync<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend kommen wir wirklich langsam zum Installieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>eselect profile list | less<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-1024x576.jpg\" alt=\"\" class=\"wp-image-8230\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-22.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Profile dienen dazu unsere Installation direkt anzupassen, hier finden Sie etwa unter anderem auch Desktop-Profile &#8211; vor jedem Profil finden Sie eine Nummer, die gew\u00fcnschte Nummer merken Sie sich, beenden Sie &#8222;<em><code>less<\/code><\/em>&#8220; mit einem &#8222;<strong><kbd>q<\/kbd><\/strong>&#8220; &#8211; in meinem Beispiel nutze ich die &#8222;<strong>10<\/strong>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>eselect profile set 10<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt aktualisieren wir die Einstellungen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask --verbose --update --deep --newuse @world<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Best\u00e4tigen Sie die Nachfrage mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt wird das bisher konfigurierte System erst einmal kompiliert, Sie brauchen nicht einzugreifen &#8211; einfach nur abwarten. Jeden Schritt erhalten Sie einen Stand am Fortschritt, in meinem Beispiel sind 57 Schritte n\u00f6tig, bei mir in der VM dauerte es etwa eine Stunde.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Um das System weiter zu optimieren, k\u00f6nnen Sie die USE-Flags anpassen, mehr dazu unter\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#USE_Variable_konfigurieren\" target=\"_blank\">USE-Flags<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt passen wir die Zeitzone an &#8211; f\u00fcr Europa und Wien:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"Europe\/Vienna\" &gt; \/etc\/timezone<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir konfigurieren das Paket &#8222;<strong>timezone-data<\/strong>&#8220; (<em>systemd<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -sf ..\/usr\/share\/zoneinfo\/Europe\/Brussels \/etc\/localtime<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt passen wir die Sprache an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano -w \/etc\/locale.gen<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier entfernen wir das Doppelkreuz vor der Deutschen und Englischen Sprache:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-1024x576.jpg\" alt=\"\" class=\"wp-image-8231\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-23.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Speichern mit\u00a0<strong><kbd>Strg+o<\/kbd><\/strong>, best\u00e4tigen mit\u00a0<strong><kbd>Eingabe<\/kbd><\/strong>, Editor schlie\u00dfen mit\u00a0<strong><kbd>Strg+x<\/kbd><\/strong>. Anschlie\u00dfend f\u00fchren wir folgenden Befehl aus:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>locale-gen<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt installieren wir essenzielle Firmware:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask sys-kernel\/linux-firmware<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Der Kernel ist wieder so eine eigene Geschichte &#8211; siehe\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Kernel_konfigurieren_und_Kompilieren\" target=\"_blank\">hier<\/a>. Ich nutze hier einfach den Distributionskernel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask sys-kernel\/gentoo-kernel<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">wird best\u00e4tigt. Nach der Installation des Kernels haben wir jedoch noch kein laufendes System, unser System kennt die Partitionen noch nicht &#8211; wir m\u00fcssen unsere &#8222;<em>\/etc\/fstab<\/em>&#8220; erstellen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/fstab<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hierzu finden wir\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/09\/die-datei-fstab-eine-der-wichtigsten-dateien-unter-linux\/\" data-type=\"post\" data-id=\"1790\" target=\"_blank\">hier<\/a>\u00a0die passende Anleitung. Mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>blkid<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">ermitteln Sie die UUIDs der Parttitionen und passen die Datei an, f\u00fcr meinen Test in der VM lasse ich die UUIDs weg:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-1024x576.jpg\" alt=\"\" class=\"wp-image-8232\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-24.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mehr zu den Dateisystemen in der &#8222;fstab&#8220; finden Sie unter&nbsp;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Dateisystem-Information\" target=\"_blank\" rel=\"noreferrer noopener\">Gentoo-Dateisystem<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt passen wir den Hostnamen an &#8211; in meinem Beispiel nenne ich den Rechner einfach &#8222;<strong>robert-gentoo<\/strong>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hostnamectl hostname robert-gentoo<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Oder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo robert-gentoo &gt; \/etc\/hostname<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt installieren wir den DHCP-Daemon:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask net-misc\/dhcpcd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Best\u00e4tigt wir mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Wir aktivieren Systemd:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable --now dhcpcd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Besonders wichtig ist die &#8222;<strong>hosts<\/strong>&#8222;-Datei, kontrollieren Sie &#8211; ob folgende beide Eintr\u00e4ge nicht auskommentiert sind:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-1024x576.jpg\" alt=\"\" class=\"wp-image-8233\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gentoo-25.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wir haben im Live-System ein root-Passwort gesetzt, jedoch noch nicht im installierten System:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>passwd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dasselbe mit dem normalen Benutzer:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>useradd -m -G users robert\npasswd robert<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt bearbeiten wir noch Systemd &#8211; es gilt entsprechende Nachfragen zu beantworten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd-firstboot --prompt --setup-machine-id\nsystemctl preset-all --preset-mode=enable-only\nsystemctl preset-all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt aktivieren wir die Zeitsynchronisation:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable systemd-timesyncd.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Es gilt die passenden Dateisystem-Werkzeuge zu installieren, f\u00fcr EXT4:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask sys-fs\/e2fsprogs<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr BTRFS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask sys-fs\/btrsf-progs<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Weitere finden Sie unter&nbsp;<a href=\"https:\/\/wiki.gentoo.org\/wiki\/Handbook:AMD64\/Full\/Installation\/de#Dateisystemwerkzeuge\" target=\"_blank\" rel=\"noreferrer noopener\">Gentoo-Dateisystem-Werkzeuge<\/a>&nbsp;&#8211; Sie m\u00fcssen nur die installieren, die Sie auch brauchen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wichtig nat\u00fcrlich f\u00fcr WLAN:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask net-wireless\/iw net-wireless\/wpa_supplicant<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Das Wichtigste &#8211; GRUB &#8211; der Bootloader &#8211; f\u00fcr BIOS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>emerge --ask --verbose sys-boot\/grub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr UEFI:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo 'GRUB_PLATFORMS=\"efi-64\"' &gt;&gt; \/etc\/portage\/make.conf\nemerge --ask sys-boot\/grub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt wird der Bootloader auf die Platte geschrieben &#8211; in meinem Fall &#8222;<em>\/vda<\/em>&#8220; &#8211; f\u00fcr BIOS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub-install \/dev\/vda<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr UEFI:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub-install --target=x86_64-efi --efi-directory=\/boot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In diesem Fall bin ich draufgekommen &#8211; ich habe eine&nbsp;<strong>GPT<\/strong>-Partitionstabelle erstellt, diese kommt nur mit UEFI &#8211; also einem &#8222;<em>\/boot<\/em>&#8222;-Verzeichnis klar. Mein System wird also wahrscheinlich nicht starten &#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wir konfigurieren GRUB:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub-mkconfig -o \/boot\/grub\/grub.cfg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt k\u00f6nnen wir alles aush\u00e4ngen und den Rechner neu starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exit\numount -l \/mnt\/gentoo\/dev{\/shm,\/pts,}\numount -R \/mnt\/gentoo\nreboot<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Dies war die minimal konfigurierte Installation von Gentoo &#8211; meine Installation startet nicht, da ich eine GPT-Partitionstabelle angelegt habe und keine &#8222;<em>\/boot<\/em>&#8222;-Partition.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"8208\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"8208\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Gentoo ist eine der \u00e4ltesten Linux-Distributionen, sie wurde immer wieder tot gesagt, hat aber ihre eigene eingeschwei\u00dfte Linux-Gemeinde. Gentoo ist extrem anpassbar, Sie installieren nur, was Sie wollen und wie Sie es wollen. Sie wollen kein Systemd, lassen Sie es weg &#8211; so geht dies mit Gentoo. Gentoo ist aber nicht wirklich f\u00fcr Linux-Einsteiger gedacht [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8226,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[618],"tags":[619],"class_list":["post-8208","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-distributionen","tag-distributionen"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=8208"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8208\/revisions"}],"predecessor-version":[{"id":8234,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/8208\/revisions\/8234"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/8226"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=8208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=8208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=8208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}