How to install ArchLinux

— — Arch Linux Install — —

+ boot arch.iso

— — See Disks on System — —

+ fdisk -l

— — Partition Manager — —

+ cfdisk /dev/sda



+ select partition > delete all



+ swap partition should be 1/2 ram



+ new > 1G > Enter > End



 — — Make primary partition — —

+ new > primary > enter (chooses rest of the space)



+ [bootable] on root partition



* 1 swap partition, 1 boot partition



+ select swap partition > type > Enter filesystem type: 82 (marks swap)



+ exit



— — Format FileSystem  — —

+ mkfs.ext4 /dev/sda2 (root partition, not swap)



— — Mount Root Drive — —

+ mount /dev/sda2 /mnt/ (mount root drive)



— — Make Swap File— —

+ mkswap /dev/sda1 (swap partion)



+ swapon /dev/sda1 (swap partition)



— — Connect To Internet— —

+ wifi-menu



+ ping



! if no internet connection

— https://wiki.archlinux.org/index.php/netctl#troubleshooting

! netctl start wlan0-ssid (start profile)

! ip link set wlan0 down (set interface down)

! netctl start wlan0-ssid (retry)

— — Install base system to root drive— —

+ pacstrap /mnt base base-devel (installs base system, and base dependencies)



— — Configure System— —

+ arch-chroot /mnt



+ passwd (create new root password)



+ nano /etc/locale.gen



> find language > en_US > uncomment all languages youd like



+ locale-gen



— — Time Zone Configurations— —

+ cd /usr/share/zoneinfo



+ cd America

+ ln -s /usr/share/zoneinfo/America/Eastern /etc/localtime



— — Set Host Name For System — —

+ echo yourhostname > /etc/hostname



— — Installing Grub — —

+ pacman -S grub-bios



+ grub-install /dev/sda (whole partition)



+ mkinitcpi -p linux



+ + grub-mkconfig -o /boot/grub/grub.cfg



— — Generating FSTAB File — —

+ genfstab /mnt >> /mnt/etc/fstab



— — Unmount The Device — —

+ umount /mnt



+ reboot (remove installation media)



Raw text