Z
ZZs
Guest
How to install ArchLinux
## -- is just - - together like --systohc
# = root command
## = comment
## I isntall off Arch defaults being US keyborad and ethernet conection because I'm in US and I need to pull wireless firmware from the AUR, I'm also on west cost so time zone will me set to LA and user name is zzs.
##I partition drives first with gparted but u can use fdisk during install.
Boot media
# ping -c 5 google.com
##check ur internet connection fix if need use “ip link” set interface up.
## format your drives let say sda1 is ur main media and sda2 is your swap
# mkfs.ext4 /dev/sda1
# mkswap /dev/sda2 && swapon /dev/sda2
# mount /dev/sda1 /mnt
# nano /etc/pacman.d/mirrorlist ## # out all ur server mirrors that are not near you
# pacstrap /mnt base
## Heres where the install begins
# genfstab -U -p /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# nano /etc/locale.gen ## remove # en_US.UTF-8
# locale-gen
# nano /etc/hostname ## Enter your host name (Computer name)
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
# hwclock --systohc --utc
# systemctl enable dhcpcd.service
# pacman -S grub os-prober
# grub-install --target=i386-pc --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# umount -R /mnt
# reboot
# login root
# passwd ##Set root Password
## create user account and directory and add to wheel group easier for networking
# useradd -m -g users -G audio,video,scanner,log,storage,disk,sys,network,power,wheel zzs && passwd zzs
# pacman -S base-devel ## Choose all u need sudo and build capibilities
# nano /etc/sudoers ## unpound# wheel group set to have password
# su zzs login asn new user or log off and back in as new user
## install sound framework
$ sudo alsa-utils alsa-plugins
$ sudo alsamixer ## set sound unmute/volume and if ati F6 choose sound card --ati is 2nd one
$ sudo alsactl store
## Install X framework/video/touchpad mine is ati or intel
$ sudo pacman -S xorg-server xorg-server-utils xorg-xinit mesa ttf-dejavu xf86-input-synaptics xf86-vidio- ati ## where ati add ur video
$ cp /etc/skel/.xinitrc ~/.xinitrc
##Arch is installed with the X framework
## Now we need to install the DE (desktop environment) of your choice.
## I will add links to this page one how to load individual DE's here. I need a break from typing is all.
##NOTE: Remember this: Before we enable NetworkManager we must first stop and remove dhcpcd or NetworkManager wont load properly and wont work; FUBAR. To do this we #systemctl stop dhcpcd.service and or && systemctl disable dhcpcd.service but make sure all ur network driver packages are installed. Then we #systemctl enable NetworkManager && systemctl start NetworkManager.
## -- is just - - together like --systohc
# = root command
## = comment
## I isntall off Arch defaults being US keyborad and ethernet conection because I'm in US and I need to pull wireless firmware from the AUR, I'm also on west cost so time zone will me set to LA and user name is zzs.
##I partition drives first with gparted but u can use fdisk during install.
Boot media
# ping -c 5 google.com
##check ur internet connection fix if need use “ip link” set interface up.
## format your drives let say sda1 is ur main media and sda2 is your swap
# mkfs.ext4 /dev/sda1
# mkswap /dev/sda2 && swapon /dev/sda2
# mount /dev/sda1 /mnt
# nano /etc/pacman.d/mirrorlist ## # out all ur server mirrors that are not near you
# pacstrap /mnt base
## Heres where the install begins
# genfstab -U -p /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# nano /etc/locale.gen ## remove # en_US.UTF-8
# locale-gen
# nano /etc/hostname ## Enter your host name (Computer name)
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
# hwclock --systohc --utc
# systemctl enable dhcpcd.service
# pacman -S grub os-prober
# grub-install --target=i386-pc --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
# exit
# umount -R /mnt
# reboot
# login root
# passwd ##Set root Password
## create user account and directory and add to wheel group easier for networking
# useradd -m -g users -G audio,video,scanner,log,storage,disk,sys,network,power,wheel zzs && passwd zzs
# pacman -S base-devel ## Choose all u need sudo and build capibilities
# nano /etc/sudoers ## unpound# wheel group set to have password
# su zzs login asn new user or log off and back in as new user
## install sound framework
$ sudo alsa-utils alsa-plugins
$ sudo alsamixer ## set sound unmute/volume and if ati F6 choose sound card --ati is 2nd one
$ sudo alsactl store
## Install X framework/video/touchpad mine is ati or intel
$ sudo pacman -S xorg-server xorg-server-utils xorg-xinit mesa ttf-dejavu xf86-input-synaptics xf86-vidio- ati ## where ati add ur video
$ cp /etc/skel/.xinitrc ~/.xinitrc
##Arch is installed with the X framework
## Now we need to install the DE (desktop environment) of your choice.
## I will add links to this page one how to load individual DE's here. I need a break from typing is all.
##NOTE: Remember this: Before we enable NetworkManager we must first stop and remove dhcpcd or NetworkManager wont load properly and wont work; FUBAR. To do this we #systemctl stop dhcpcd.service and or && systemctl disable dhcpcd.service but make sure all ur network driver packages are installed. Then we #systemctl enable NetworkManager && systemctl start NetworkManager.
Last edited: