Skip to content

Instantly share code, notes, and snippets.

@spceaza
Last active September 15, 2020 13:13
Show Gist options
  • Save spceaza/ac3ba26819bc2261b923c0e75464807b to your computer and use it in GitHub Desktop.
Save spceaza/ac3ba26819bc2261b923c0e75464807b to your computer and use it in GitHub Desktop.
timedatectl set-timezone America/Bogota
echo "es_CO.UTF-8 UTF-8" > /etc/locale.gen
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
echo "ja_JP.EUC-JP EUC-JP" >> /etc/locale.gen
echo "ja_JP.UTF-8 UTF-8" >> /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
echo "desktop" > /etc/hostname
echo "127.0.0.1 localhost" > /etc/hosts
echo "::1 localhost" >> /etc/hosts
echo "127.0.1.1 desktop" >> /etc/hosts
passwd
pacman -S grub efibootmgr
mkdir /boot/efi
mount /dev/sdc1 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S xorg extra/nvidia community/cuda
useradd -m cesandovalp
passwd cesandovalp
EDITOR=nano visudo
loadkeys es
ping -c 3 8.8.8.8
fdisk -l
pacman -Syy
pacman -S reflector
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
reflector -c "US" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
mount /dev/sdc5 /mnt
pacstrap /mnt base linux linux-firmware vim nano git
genfstab -U /mnt
git config --global user.email ""
git config --global user.name ""
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment