Benutzer:PMay/T430s Setup

Aus wiki.archlinux.de

BIOS Settings

  • Zeit auf lokale Zeit minus 2 Stunden
  • Fn und Strg tauschen
  • beide Virtualisierungsoptionen an -> wegen VirtualBox

Booten und Netzwerk prüfen

  • vor dem Booten Ethernet-Kabel anschließen
  • nach dem Booten etwas warten und dann Netzwerkzugriff prüfen
 ping heise.de

Tastatur

  • loadkeys de-latin1-nodeadkeys

Festplatte

 fdisk /dev/sda
  • +100M für /boot (/dev/sda1)
  • +13G für Swap (/dev/sda2)
  • Rest für / (/dev/sda3)
  • Partitionstyp anpassen (code 82 für Swap, 83 (Default) für Linux)
 mkfs.ext4 /dev/sda1
 mkfs.ext4 /dev/sda3
 mkswap /dev/sda2
 swapon /dev/sda2
 mount /dev/sda3 /mnt
 mkdir /mnt/boot 
 mount /dev/sda1 /mnt/boot

Strap

 nano /etc/pacman.d/mirrorlist
 pacstrap /mnt base
 pacstrap /mnt base-devel
 pacstrap /mnt syslinux

Config

 genfstab -p /mnt >> /mnt/etc/fstab
  • /mnt/etc/fstab prüfen
  • Only the root (/) partition needs 1 for the last field. Everything else should have either 2 or 0 (see fstab#Field definitions).
 arch-chroot /mnt
  • Write your hostname to /etc/hostname.
  • Symlink /etc/localtime to /usr/share/zoneinfo/Zone/SubZone. Replace Zone and Subzone to your liking. For example:
 ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
  • Set locale preferences in /etc/locale.conf.
 # siehe auch: http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3
 LANG="en_US.UTF-8"
 LC_TIME="de_DE.UTF-8"
  • Uncomment the selected locale in /etc/locale.gen and generate it with locale-gen.
  • Configure /etc/mkinitcpio.conf as needed (see mkinitcpio) and create an initial RAM disk with:
 MODULES="ext4"
 HOOKS="base udev autodetect pata scsi sata usb encrypt filesystems usbinput fsck"
    • create
 mkinitcpio -p linux
  • Configure the bootloader: refer back to the appropriate article from the bootloader installation section.
    • Konfigurationsdatei /boot/syslinux/syslinux.cfg ist selbsterklärend
 APPEND cryptdevice=/dev/sda2:cryptroot root=/dev/mapper/cryptroot ro
    • Install Syslinux
 syslinux-install_update -i -a -m
  • Set a root password with passwd.

Mehr

 KEYMAP=de-latin1-nodeadkeys

Neustart

  • type exit or press Ctrl+D
  • unmount
 umount /mnt/boot
 umount /mnt
  • Neustart
 reboot

Netzwerk nach Neustart wieder aktivieren

systemctl start dhcpcd@interface_name.service
  • You can use the command ip link to discover the names of your interfaces. --> enp0s25

Adduser

Gnome

systemd

 # entweder
 systemctl enable gdm.service
 #oder
 systemctl enable slim.service
 # und
 systemctl enable NetworkManager

etc.

MEI ausschalten

Da es beim Booten zu einer Race Condition beim laden zweier Watchdogs kommt

  • bearbeite /etc/modprobe.d/blacklist.conf
 blacklist mei