Installing arch linux on desktop
Posted on Tue 25 March 2014 in posts
created two partitions with gparted. One is a 180GB HDD the other is a 60GB SSD
use dd to create bootable usb drive
Select arch linux x64 install
change keyboard to dvorak
loadkeys dvorak
mount the devices
mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sdb1 /mnt/home
edit the pacman mirror list
vi /etc/pacman.d/mirrorlist
install base system
pacstrap -i /mnt base
generate fstab file
genfstab -U -p /mnt >> /mnt/etc/fstab
edit fstab to make sure it looks correct
vi /mnt/etc/fstab
chroot
arch-chroot /mnt
edit locale.gen file to uncomment the line 'en_US.UTF-8 UTF-8'
vi /etc/locale.gen
generate locale
locale-gen
create /etc/locale.conf file and export LANG
# why the hell do I do these steps!!!!!!!!!!
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
create /etc/vconsole.conf file with keymap and font vi /etc/vconsole.conf
KEYMAP=dvorak
FONT=Lat2-Terminus16
set the timezone
ln -s /usr/share/zoneinfo/US/Mountain /etc/localtime
set hw clock mode
hwclock --systohc --utc
set hostname
echo arch-desktop > /etc/hostname
setup network
systemctl enable dhcpcd.service
set root password
passwd
install syslinux
pacman -S syslinux
syslinux-install-update -i -a -m
Edit /boot/syslinux/syslinux.cfg
and change to device to /dev/sda1
exit chroot environment with exit
unmount partition
umount -R /mnt
restart with reboot
ethernet not working
kernal driver in use: r8169
kernel modules: r8169
# ran command:
dhcpcd enp5s0
installed alsa
pacman -S alsa-utils
after running rake install on dotfiles I had to run
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
this will get vundle setup so I could open vim and run
:BundleInstall