Skip to content

Instantly share code, notes, and snippets.

@deccer
Created September 4, 2016 09:58
Show Gist options
  • Save deccer/af124d74e5d472d408be2426eee7848e to your computer and use it in GitHub Desktop.
Save deccer/af124d74e5d472d408be2426eee7848e to your computer and use it in GitHub Desktop.
- loadkeys de-latin1
- setfont Lat2-Terminus16
- cgdisk /dev/sda
- new -> default -> 32M -> ef02 -> bios -> new -> default -> default -> 8300 -> linux -> write -> yes -> quit
- mkfs.ext4 /dev/sda2
- mount /dev/sda2 /mnt
- export LANG="en_US.UTF-8"
- export LC_COLLATE="C"
- pacman -Syy
- pacstrap /mnt base base-devel git zsh vim
- genfstab -U -p /mnt >> /mnt/etc/fstab
- arch-chroot /mnt /bin/bash
- vim /etc/locale.gen
-> uncomment #en_US.UTF-8
- locale-gen
- echo LANG=en_US.UTF-8 > /etc/locale.conf
- export LANG=en_US.UTF-8
- echo KEYMAP=de-latin1-nodeadkeys >> /etc/vconsole.conf
- echo FONT=Lat2-Terminus16 >> /etc/vconsole.conf
- ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
- hwclock --systohc --utc
- echo <VM-NAME> > /etc/hostname
- vim /etc/hosts
- add hostname to both entries
- systemctl enable dhcpcd.service
- cd /boot
(in a vmware/virtualbox vm) pacman -S open-vm-tools
- mkinitcpio -p linux
- passwd
- useradd -m -g users -G audio,lp,optical,storage,video,games,power,scanner,wheel -s /bin/zsh <USERNAME>
- passwd <USERNAME>
- visudo
- pacman -S fuse grub os-prober
- grub-install --target=i386-pc --recheck /dev/sda
- grub-mkconfig -o /boot/grub/grub.cfg
- exit
- umount /mnt
- reboot
== Install yaourt (package manager for AUR)
- git clone https://aur.archlinux.org/package-query.git
- cd package-query
- makepkg -si
- cd ..
- git clone https://aur.archlinux.org/yaourt.git
- cd yaourt
- makepkg -si
- cd ..
@firiox
Copy link

firiox commented Apr 4, 2021

Must try it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment