archinstall/alt/prep-Ext4-UEFI.sh
2023-01-13 01:16:34 +01:00

32 lines
No EOL
588 B
Bash

# Vor Reboot
localectl set-keymap de-latin1
ip -c a
# rfkill unblock wifi
# iwctl
pacman -Sy
pacman -S tamsyn-font
setfont Tamsyn10x20r
timedatectl set-ntp true
fdisk /dev/vda
# /dev/vda1 300M EFI
# /dev/vda2 4G SWAP
# /dev/vda3 Rest /
mkfs.vfat /dev/vda1
mkswap /dev/vda2
swapon /dev/vda2
mkfs.ext4 /dev/vda3 -L arch
mount /dev/vda3 /mnt
mkdir /mnt/boot
mount /dev/vda1 /mnt/boot
pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git
genfstab -U /mnt >> /mnt/etc/fstab
ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf
arch-chroot /mnt