blob: b9bcd1c37ced910a80716378182bda30c46e6281 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#! /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
cat > /etc/systemd/network/10-wired.network << EOF
[Match]
Name=enp0s*
[Network]
DHCP=yes
EOF
systemctl enable systemd-networkd
systemctl start systemd-networkd
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
systemctl enable systemd-resolved
systemctl start systemd-resolved
resolvectl status
echo " !!! set your root password !!!"
|