Benutzer:PMay/T430s Setup alt: Unterschied zwischen den Versionen

Aus wiki.archlinux.de
 
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
* Fn und Strg tauschen
* Fn und Strg tauschen
* beide Virtualisierungsoptionen an -> wegen VirtualBox
* 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 ==
== Tastatur ==
Zeile 21: Zeile 26:
* mkdir /mnt/boot  
* mkdir /mnt/boot  
* mount /dev/sda1 /mnt/boot
* mount /dev/sda1 /mnt/boot
== Netzwerk prüfen ==


== Strap ==
== Strap ==
Zeile 30: Zeile 33:


== Config ==
== Config ==
* genfstab -p /mnt >> /mnt/etc/fstab
* 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 ==
* /etc/hosts
* /etc/vconsole.conf
  KEYMAP=de-latin1-nodeadkeys
== Neustart ==
* type exit or press Ctrl+D
* unmount
  umount /mnt/boot
  umount /mnt
* Neustart
  reboot
== Adduser ==
* adduser
== Xorg ==
* https://wiki.archlinux.org/index.php/Xorg
== GNOME ==
* https://wiki.archlinux.org/index.php/Gnome
* pacman -S gdm
* pacman -S xf86-video-intel
* in /etc/rc.conf unter DEAMONS dbus einfügen vor network
* 2 Stellen in /etc/inittab bearbeiten (Kommentare ändern)
* pacman -S xf86-input-synaptics
* https://wiki.archlinux.org/index.php/NetworkManager#GNOME
== MEI ausschalten ==
Da es beim Booten zu einer Race Condition beim laden zweier Watchdogs kommt
* bearbeite /etc/modprobe.d/blacklist.conf
  blacklist mei
* siehe auch
** https://bbs.archlinux.de/viewtopic.php?id=21812
** http://cateee.net/lkddb/web-lkddb/INTEL_MEI.html
** http://ubuntuforums.org/showthread.php?t=1970325
** https://bbs.archlinux.org/viewtopic.php?id=133083

Aktuelle Version vom 18. Juni 2013, 11:13 Uhr

BIOS

  • 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

  • shred -n 1 -v /dev/sda
  • fdisk /dev/sda
    • +100M für /boot
    • Rest für /
  • cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2
  • cryptsetup luksOpen /dev/sda2 cryptroot
  • mkfs.ext4 /dev/sda1
  • mkfs.ext4 /dev/mapper/cryptroot

Mount

  • mount /dev/mapper/cryptroot /mnt
  • mkdir /mnt/boot
  • mount /dev/sda1 /mnt/boot

Strap

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

Config

  • genfstab -p /mnt >> /mnt/etc/fstab
  • 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

  • /etc/hosts
  • /etc/vconsole.conf
 KEYMAP=de-latin1-nodeadkeys

Neustart

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

Adduser

  • adduser

Xorg

GNOME

MEI ausschalten

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

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