add arch chroot instructions, need to get test

This commit is contained in:
koksnuss 2019-07-15 18:28:59 +02:00
parent 93ad1bbae7
commit 37f5e2a110

View File

@ -80,3 +80,21 @@ pacstrap /mnt base
echo "generating fstab" echo "generating fstab"
s genfstab -U /mnt >> /mnt/etc/fstab s genfstab -U /mnt >> /mnt/etc/fstab
echo "chrooting into arch"
s arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
hwclock --systohc
sed -i 's/#de_DE\.UTF-8/de_DE.UTF-8/g' /etc/locale.gen
locale-gen
echo "LANG=de_DE.UTF-8" > /etc/locale.conf
echo "KEYMAP=de-latin1" > /etc/vconsole.conf
echo "motop" > /etc/hostname
echo "# Static table lookup for hostnames.\n"`
`"# See hosts(5) for details.\n"`
`"127.0.0.1 motop\n"`
`"::1 motop\n"`
`"127.0.1.1 motop.localdomain motop" > /etc/hosts
sed -i 's/FILES=()/FILES=(\/luks.key)/g' /etc/mkinitcpio.conf