summaryrefslogtreecommitdiffstats
path: root/arch-install/arch-setup-1.sh
blob: 80baf046a429a41e7f8bf34216c96dbdb792fd36 (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
#! /bin/bash

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

echo "LOCALE"
locale-gen

echo "PACMAN"
pacman-db-upgrade
pacman -Syu
pacman -S --noconfirm grub efibootmgr mkinitcpio linux linux-firmware vim

echo "MKINITCPIO"
mkinitcpio -p linux

echo "GRUB"
#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

echo " !!! set your root password !!!"