From 37f5e2a1108daaa31acdd24c2143d49348bf25c1 Mon Sep 17 00:00:00 2001 From: koksnuss Date: Mon, 15 Jul 2019 18:28:59 +0200 Subject: [PATCH] add arch chroot instructions, need to get test --- install.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/install.sh b/install.sh index d34743e..e38a856 100755 --- a/install.sh +++ b/install.sh @@ -80,3 +80,21 @@ pacstrap /mnt base echo "generating 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 +