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

Aus wiki.archlinux.de
(Änderung 13299 von PMay (Diskussion) rückgängig gemacht.)
Zeile 32: Zeile 32:
* genfstab -p /mnt >> /mnt/etc/fstab
* genfstab -p /mnt >> /mnt/etc/fstab
* arch-chroot /mnt
* arch-chroot /mnt
== Configure system ==
Generate an [[fstab]] with the following command (if you prefer to use UUIDs or labels, add the {{ic|-U}} or {{ic|-L}} option, respectively):
# genfstab -p /mnt >> /mnt/etc/fstab
Next we [[chroot]] into our newly installed system:
# arch-chroot /mnt
* Write your hostname to {{ic|/etc/hostname}}.
* Symlink {{ic|/etc/localtime}} to {{ic|/usr/share/zoneinfo/Zone/SubZone}}. Replace {{ic|Zone}} and {{ic|Subzone}} to your liking. For example:
# ln -s /usr/share/zoneinfo/Europe/Athens /etc/localtime
* Set [https://wiki.archlinux.org/index.php/Locale#Setting_system-wide_locale locale] preferences in {{ic|/etc/locale.conf}}.
* Uncomment the selected locale in {{ic|/etc/locale.gen}} and generate it with {{ic|locale-gen}}.
* Configure {{ic|/etc/mkinitcpio.conf}} as needed (see [[mkinitcpio]]) and create an initial RAM disk with:
# mkinitcpio -p linux
* Configure the bootloader: refer back to the appropriate article from the bootloader installation section.
* Set a root password with {{ic|passwd}}.

Version vom 22. August 2012, 08:47 Uhr

BIOS

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

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

Netzwerk prüfen

Strap

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

Config

  • genfstab -p /mnt >> /mnt/etc/fstab
  • arch-chroot /mnt