Benutzer:Tuxnix: Unterschied zwischen den Versionen

Aus wiki.archlinux.de
(Entwurf)
(geleert)
Markierung: Geleert
Zeile 1: Zeile 1:
Arch Spickzettel - BIOS


{|border="0" style="font-size:14px; line-height: 16px; wide: 100%"
  |Arch Installation auf einen BIOS-Rechner: */ (unverschlüsselt)   *Lan   *Grub
|-
|(Zum Ausdrucken geeignet)
|}
&nbsp;<u>ISO-Abbild prüfen:</u><br>
<code style=font-size:12px;>md5sum archlinux-'''*'''-x86_64.iso</code><br><br>
&nbsp;<u>ISO-Abbild auf USB-Stick übertragen:</u><br>
<code style=font-size:12px;>fdisk -l</code><br>
<code style=font-size:12px;>dd bs=4M if=/pfad/archlinux-'''*'''-x86_64.iso of=/dev/sd'''x''' status=progress oflag=sync</code><br><br>
&nbsp;<u>Installation unterbrechen:</u><br>
<code style=font-size:12px;>reboot</code><br>
<code style=font-size:12px;>poweroff</code><br><br>
&nbsp;<u>Deutsche Tastaturbelegung - Die Taste '''{{Taste|Z}}''' drücken, um das '''y''' Zeichen zu erhalten:</u><br>
<code style=font-size:12px;>loadkeys de</code><br><br>
{|border="0" style="font-size:14px; line-height: 16px"
|&nbsp;<u>Partitionieren:</u>
|-
|* {{ic|fdisk -l}} - '''x''' ermitteln
|-
|* {{ic|fdisk /dev/'''x'''}} - fdisk starten
|-
|* {{taste|o}} - neue Partitionstabelle im chache
|-
|* {{taste|n}} - neue Partition anlegen
|-
|* {{taste|Enter}} - Primarpatition bestätigen
|-
|* {{taste|Enter}} - Partitionsnummer bestätigen
|-
|* {{taste|Enter}} - Ersten Sektor bestätigen
|-
|* {{taste|Enter}} - Letzten Sektor bestätigen
|-
|* {{taste|a}} - Bootsektor aktivieren
|-
|* {{taste|p}} - zur eigenen Kontrolle vor dem Speichern
|-
|* {{taste|w}} - schreiben der Partitionstabelle
|}<br>
&nbsp;<u>Formatieren:</u><br>
<code style=font-size:12px;>mkfs.ext4 -L p_arch /dev/sd'''x'''1</code><br><br>
&nbsp;<u>Mounten:</u><br>
<code style=font-size:12px;>mount -L p_arch /mnt</code><br><br>
&nbsp;<u>Installation der Basispakete:</u><br>
<code style=font-size:12px;>pacstrap /mnt base base-devel linux linux-firmware dhcpcd nano</code><br><br>
&nbsp;<u>Installation von Microcode:</u><br>
<code style=font-size:12px;>pacstrap /mnt intel-ucode</code> oder <code style=font-size:12px;>pacstrap /mnt amd-ucode</code><br><br>
&nbsp;<u>fstab erzeugen:</u><br>
<code style=font-size:12px;>genfstab -Lp /mnt > /mnt/etc/fstab</code><br><br>
&nbsp;<u>Chrooten:</u><br>
<code style=font-size:12px;>arch-chroot /mnt/</code><br><br>
&nbsp;<u>Konfiguration:</u><br>
<code style=font-size:12px;>echo '''mein-rechner''' > /etc/hostname</code><br>
<code style=font-size:12px;>echo LANG=de_DE.UTF-8 > /etc/locale.conf</code><br>
<code style=font-size:12px;>echo KEYMAP=de-latin1 > /etc/vconsole.conf</code><br>
<code style=font-size:12px;>echo FONT=lat9w-16 >> /etc/vconsole.conf</code><br>
<code style=font-size:12px;>ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime</code><br><br>
<code style=font-size:12px;>nano /etc/locale.gen</code><br>
&nbsp;<u>Und das # am Anfang folgender Zeilen entfernen:</u><br>
<code style=font-size:12px;>#de_DE.UTF-8 UTF-8</code><br>
<code style=font-size:12px;>#de_DE ISO-8859-1</code><br>
<code style=font-size:12px;>#de_DE@euro ISO-8859-15</code><br>
<code style=font-size:12px;>#en_US.UTF-8</code><br>
<code style=font-size:12px;>locale-gen</code><br><br>
&nbsp;<u>Das Root Password erstellen:</u><br>
<code style=font-size:12px;>passwd</code><br><br>
&nbsp;<u>Grub installieren:</u><br>
<code style=font-size:12px;>pacman -S grub</code><br>
<code style=font-size:12px;>grub-install /dev/'''x'''</code><br><br>
&nbsp;<u>Chrootumgebung verlassen und Partitionen lösen:</u><br>
<code style=font-size:12px;>exit</code><br>
<code style=font-size:12px;>umount /mnt</code><br><br>
&nbsp;<u>Arch Linux neu booten und anmelden:</u><br>
<code style=font-size:12px;>reboot</code><br>
<code style=font-size:12px;>'''mein-rechner''' login: root</code><br><br>
&nbsp;<u>Internetverbindung herstellen über Lan:</u><br>
<code style=font-size:12px;>ip link</code><br>
<code style=font-size:12px;>dhcpcd enp'''xxx'''</code><br><br>
&nbsp;<u>Internetverbindung prüfen:</u><br>
<code style=font-size:12px;>ping -c3 www.archlinux.de</code><br><br>
&nbsp;<u>Arch Linux Aktualisieren:</u><br>
<code style=font-size:12px;>pacman -Syu</code><br><br>
&nbsp;<u>Einen Benutzer anlegen und ggf. zu den Gruppen hinzufügen:</u><br>
<code style=font-size:12px;>useradd -m -g users -s /bin/bash '''duda'''</code><br>
<code style=font-size:12px;>passwd '''duda'''</code><br>
<code style=font-size:12px;>gpasswd -a '''duda''' wheel audio video games power</code><br><br>
&nbsp;<u>Gruppenmitgliedern von wheel Rootrechte per 'sudo' verleihen:</u><br>
<code style=font-size:12px;>EDITOR=nano visudo</code><br>
&nbsp;<u>Kommentarzeichen und Leerzeichen von dieser Zeile entfernen:</u><br>
<code style=font-size:12px;># %wheel ALL=(ALL) ALL</code><br><br>
&nbsp;<u>Notwendige Dienste installieren und aktivieren:</u><br>
<code style=font-size:12px;>pacman -S acpid avahi</code><br>
<code style=font-size:12px;>systemctl enable acpid</code> - <u>Energieverwaltung</u><br>
<code style=font-size:12px;>systemctl enable avahi-daemon</code> - <u>Netzwerk-Zuweisung</u><br>
<code style=font-size:12px;>systemctl enable systemd-timesyncd.service</code> - <u>Zeit-Synchronisation</u><br>
&nbsp;<u>Wenn das System auf einer SSD betrieben wird:</u><br>
<code style=font-size:12px;>systemctl enable fstrim.timer</code><br><br>
&nbsp;<u>Installation und Konfiguration von X:</u><br>
<code style=font-size:12px;>pacman -S xorg-server xorg-xinit</code><br>
<code style=font-size:12px;>localectl set-x11-keymap de pc105 deadgraveacute</code><br>
<code style=font-size:12px;>lspci &#124;grep VGA</code><br>
&nbsp;<u>Passend zur Grafikkarte einen freien Treiber installieren:</u><br>
<code style=font-size:12px;>pacman -S xf86-video-amdgpu</code><br>
<code style=font-size:12px;>pacman -S xf86-video-intel</code><br>
<code style=font-size:12px;>pacman -S xf86-xf86-video-nouveau</code><br><br>
&nbsp;<u>Plasma (minimal):</u><br>
<code style=font-size:12px;>pacman -S kwin plasma-desktop plasma-nm sddm</code><br>
&nbsp;<u>GNOME (minimal):</u><br>
<code style=font-size:12px;>pacman -S mutter network-manager-applet gdm</code><br>
&nbsp;<u>Xfce4 (minimal):</u><br>
<code style=font-size:12px;>pacman -S xfwm4 xfce4-session network-manager-applet lightdm</code><br><br>
&nbsp;<u>Nur einen Loginmanager aktivieren:</u><br>
<code style=font-size:12px;>systemctl enable sddm.service</code> - <u>für das Plasma Desktop</u><br>
<code style=font-size:12px;>systemctl enable gdm.service</code> - <u>für das GNOME Desktop</u><br>
<code style=font-size:12px;>systemctl enable lightdm.service</code> - <u>für das Xfce4 Desktop</u><br>
&nbsp;<u>Netzwerkmanager aktivieren:</u><br>
<code style=font-size:12px;>systemctl enable NetworkManager.service</code><br><br>
<code style=font-size:12px;>reboot</code><br>
&nbsp;<u>Und Einloggen im Desktopmanager</u>
[[en:Beginners' Guide]]
[[Kategorie:Installation]]

Version vom 15. März 2021, 21:36 Uhr