summaryrefslogtreecommitdiffstats
path: root/arch-install/arch-setup-1.sh
blob: f206b463e6691df7a6196dd3ccc53e3223da90b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/bash

echo "LOCALTIME"
rm /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Zurich /etc/localtime

echo "LOCALE"
locale-gen

echo "MKINITCPIO"
mkinitcpio -p linux

echo "NETWORK"
systemctl enable dhcpcd.service
systemctl start dhcpcd.service

echo "PACMAN"
pacman-db-upgrade

echo "GRUB"
pacman -Syu
pacman -S --noconfirm grub efibootmgr
#grub-install --target=i386-pc --recheck /dev/sda
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi --recheck

grub-mkconfig -o /boot/grub/grub.cfg

pacman -S vim