Created
May 25, 2020 12:40
-
-
Save xcodian/4e4a3945f13abecf461c5598e65cba93 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
mkfs.fat -F32 /dev/sda1 | |
mkfs.ext4 /dev/sda2 | |
mkswap /dev/sda3 | |
swapon /dev/sda3 | |
mount /dev/sda2 /mnt | |
pacstrap base linux /mnt | |
mkdir /mnt/boot/efi | |
mount /dev/sda1 /mnt/boot/efi | |
genfstab -U > /mnt/etc/fstab | |
arch-chroot /mnt | |
pacman -S grub | |
grub-install ––esp=/boot/efi | |
grub-mkconfig -O /boot/grub/grub.cfg | |
exit | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment