Fix vconsole.conf error and add makeswap.
This commit is contained in:
@@ -18,6 +18,7 @@ echo -n "$LUKS_PASS" | cryptsetup open "${PART}3" roothome
|
|||||||
|
|
||||||
mkfs.fat -F 32 "${PART}1"
|
mkfs.fat -F 32 "${PART}1"
|
||||||
mkfs.ext4 /dev/mapper/roothome
|
mkfs.ext4 /dev/mapper/roothome
|
||||||
|
mkswap "${PART}2"
|
||||||
|
|
||||||
mount /dev/mapper/roothome /mnt
|
mount /dev/mapper/roothome /mnt
|
||||||
mkdir -p /mnt/boot
|
mkdir -p /mnt/boot
|
||||||
@@ -32,10 +33,11 @@ arch-chroot /mnt /bin/bash <<EOF
|
|||||||
ln -sf /usr/share/zoneinfo/Area/Location /etc/localtime
|
ln -sf /usr/share/zoneinfo/Area/Location /etc/localtime
|
||||||
hwclock --systohc
|
hwclock --systohc
|
||||||
echo "$HOSTNAME" >> /etc/hostname
|
echo "$HOSTNAME" >> /etc/hostname
|
||||||
|
echo "KEYMAP=trq" >> /etc/vconsole.conf
|
||||||
|
|
||||||
pacman -S --noconfirm base-devel # base programs
|
pacman -S --noconfirm base-devel # base programs
|
||||||
pacman -S --noconfirm alsa-utils bluez bluez-utils bridge-utils networkmanager nvidia-open nvidia-utils pantum-universal-driver pavucontrol pipewire pipewire-alsa pipewire-jack pipewire-pulse polykit-gnome usbutils # drivers and its utils
|
pacman -S --noconfirm alsa-utils bluez bluez-utils bridge-utils networkmanager nvidia-open nvidia-utils pantum-universal-driver pavucontrol pipewire pipewire-alsa pipewire-jack pipewire-pulse polykit-gnome usbutils # drivers and its utils
|
||||||
pacman -S alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip # daily tools
|
pacman -S --noconfirm alacritty firefox eog flameshot keepassxc ly sway swaybg zip unzip # daily tools
|
||||||
|
|
||||||
pacman -S --noconfirm ufw clamav # security
|
pacman -S --noconfirm ufw clamav # security
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user