notiz:archlinux-installieren
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| notiz:archlinux-installieren [2020/07/27 12:53] – [Archlinux installieren (EFISTUB, Luks, Gnome, Hibernate)] clerie | notiz:archlinux-installieren [2026/01/10 22:06] (aktuell) – [Locale] clerie | ||
|---|---|---|---|
| Zeile 13: | Zeile 13: | ||
| * lv 100%FREE home | * lv 100%FREE home | ||
| + | <code bash> | ||
| mkfs.fat -F 32 -n EFI / | mkfs.fat -F 32 -n EFI / | ||
| - | cryptsetup luksFormat -c aes-xts-plain64 | + | cryptsetup luksFormat --type luks2 --cipher |
| cryptsetup luksOpen / | cryptsetup luksOpen / | ||
| Zeile 36: | Zeile 37: | ||
| mkfs.ext4 -L home / | mkfs.ext4 -L home / | ||
| + | </ | ||
| ===== Partitionen mounten ===== | ===== Partitionen mounten ===== | ||
| + | <code bash> | ||
| mount / | mount / | ||
| Zeile 48: | Zeile 51: | ||
| mount / | mount / | ||
| + | </ | ||
| ===== Grundinstallation ===== | ===== Grundinstallation ===== | ||
| Zeile 55: | Zeile 59: | ||
| Spiegelserver auswählen | Spiegelserver auswählen | ||
| + | <code bash> | ||
| reflector -c Germany > / | reflector -c Germany > / | ||
| + | </ | ||
| ==== Bootstrapping ==== | ==== Bootstrapping ==== | ||
| + | <code bash> | ||
| pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware nano | pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware nano | ||
| pacman --root /mnt -S dhcpcd bash-completion intel-ucode wpa_supplicant efibootmgr sudo openssh tmux | pacman --root /mnt -S dhcpcd bash-completion intel-ucode wpa_supplicant efibootmgr sudo openssh tmux | ||
| + | </ | ||
| ==== fstab bauen ===== | ==== fstab bauen ===== | ||
| - | genfstag | + | <code bash> |
| + | genfstab | ||
| + | </ | ||
| ===== chrooten ===== | ===== chrooten ===== | ||
| + | <code bash> | ||
| arch-chroot /mnt | arch-chroot /mnt | ||
| + | </ | ||
| ==== Hostname ==== | ==== Hostname ==== | ||
| + | <code bash> | ||
| echo krypton > / | echo krypton > / | ||
| + | </ | ||
| ==== Locale ==== | ==== Locale ==== | ||
| + | <code bash> | ||
| nano / | nano / | ||
| - | echo LANG=en_GB.UFT-8 > / | + | echo LANG=en_GB.UTF-8 > / |
| locale-gen | locale-gen | ||
| Zeile 86: | Zeile 101: | ||
| ln -sf / | ln -sf / | ||
| + | </ | ||
| ==== Network ==== | ==== Network ==== | ||
| Zeile 106: | Zeile 122: | ||
| </ | </ | ||
| + | <code bash> | ||
| mkinitcpio -p linux | mkinitcpio -p linux | ||
| + | </ | ||
| ==== EFI Boot ==== | ==== EFI Boot ==== | ||
| + | <code bash> | ||
| efibootmgr -c -d / | efibootmgr -c -d / | ||
| efibootmgr -c -d / | efibootmgr -c -d / | ||
| + | </ | ||
| === Psst! Kleines Skript === | === Psst! Kleines Skript === | ||
| Zeile 134: | Zeile 154: | ||
| ==== (optional) Grub ==== | ==== (optional) Grub ==== | ||
| + | <code bash> | ||
| pacman -S grub | pacman -S grub | ||
| grub-install --target=x86_64-efi --efi-directory=/ | grub-install --target=x86_64-efi --efi-directory=/ | ||
| + | </ | ||
| <code - / | <code - / | ||
| ... | ... | ||
| - | GRUB_CMDLINE_LINUX_DEFAULT=" | + | GRUB_CMDLINE_LINUX_DEFAULT=" |
| .... | .... | ||
| </ | </ | ||
| + | <code bash> | ||
| grub-mkconfig -o / | grub-mkconfig -o / | ||
| + | </ | ||
| ===== Abschließen ===== | ===== Abschließen ===== | ||
| + | <code bash> | ||
| passwd | passwd | ||
| Zeile 155: | Zeile 180: | ||
| reboot | reboot | ||
| + | </ | ||
| ===== Einrichten ===== | ===== Einrichten ===== | ||
| Zeile 160: | Zeile 186: | ||
| ==== Temporärers Netzwerk ==== | ==== Temporärers Netzwerk ==== | ||
| + | <code bash> | ||
| dhcpcd enp0s31f6 | dhcpcd enp0s31f6 | ||
| + | </ | ||
| ==== Benutzer ==== | ==== Benutzer ==== | ||
| + | <code bash> | ||
| useradd -m -s /bin/bash clerie | useradd -m -s /bin/bash clerie | ||
| Zeile 169: | Zeile 198: | ||
| EDITOR=nano visudo | EDITOR=nano visudo | ||
| + | </ | ||
| <code - visudo> | <code - visudo> | ||
| Zeile 176: | Zeile 206: | ||
| </ | </ | ||
| + | <code bash> | ||
| usermod -a -G wheel clerie | usermod -a -G wheel clerie | ||
| + | </ | ||
| ==== SSD Trim ==== | ==== SSD Trim ==== | ||
| + | <code bash> | ||
| systemctl enable --now fstrim.timer | systemctl enable --now fstrim.timer | ||
| + | </ | ||
| ==== Gnome installieren ==== | ==== Gnome installieren ==== | ||
| + | <code bash> | ||
| pacman -S gnome | pacman -S gnome | ||
| oder | oder | ||
| - | pacman -S cheese eog evince file-roller gdm gedit gnome-backgrounds gnome-calculator gnome-characters gnome-color-manager gnome-control-center gnome-disk-utility gnome-font-viewer gnome-keyring gnome-menus gnome-screenshot gnome-session gnome-settings-daemon gnome-shell gnome-shell-extension | + | pacman -S cheese eog evince file-roller gdm gedit gnome-backgrounds gnome-calculator gnome-characters gnome-color-manager gnome-control-center gnome-disk-utility gnome-font-viewer gnome-keyring gnome-menus gnome-screenshot gnome-session gnome-settings-daemon gnome-shell gnome-shell-extensions |
| systemctl enable gdm | systemctl enable gdm | ||
| systemctl enable NetworkManager.service | systemctl enable NetworkManager.service | ||
| + | </ | ||
| ==== Bluetooth ==== | ==== Bluetooth ==== | ||
| + | <code bash> | ||
| pacman -S bluez bluez-utils | pacman -S bluez bluez-utils | ||
| systemctl enable blutooth.service | systemctl enable blutooth.service | ||
| + | </ | ||
| ===== Rebooten ===== | ===== Rebooten ===== | ||
| + | <code bash> | ||
| reboot | reboot | ||
| + | </ | ||
| ===== Siehe auch ===== | ===== Siehe auch ===== | ||
notiz/archlinux-installieren.1595847236.txt.gz · Zuletzt geändert: von clerie
