Last active
March 11, 2021 16:45
-
-
Save 3x1l3l4bs/c2042830e52d7f9887683bbfa9a0bf0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
systemctl enable sshd #make shure | |
mkfs.ext4 /dev/vda2 | |
mount /dev/vda2 /mnt | |
pacstrap /mnt base linux-hardened linux-hardened-headers arch-install-scripts | |
genfstab -U /mnt >> /mnt/etc/fstab | |
arch-chroot /mnt <<"EOT" | |
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen | |
locale-gen | |
echo "LANG=en_US.UTF-8" >> /etc/locale.conf | |
pacman -S grub efibootmgr | |
mkinitcpio -p linux | |
pacman -S grub | |
grub-install /dev/sda | |
grub-mkconfig -o /boot/grub/grub.cfg | |
EOT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment