Installing Arch Linux


Installing Arch Linux


  • Installation
    • Create 3 Partitions
      • System Partition Ext4
      • Swap Partition
      • Home Partition Ext4
    • Installation Process
      • mkdir /mnt/home
      • mount /dev/sda1 /mnt
      • mount /dev/sda3 /mnt/home
      • pacstrap -i /mnt /base
      • genfstab -U -p /mnt >> /mnt/etc/fstab
      • arch-chroot /mnt
      • nano /etc/locale.gen | en_US... = Uncomment
      • echo LANG = en_US.UTF-8 >> /etc/locale.conf
      • export LANG = en_US.UTF-8
      • cd /usr/share/zoneinfo
      • ln -s /usr/share/zoneinfo/County/City /etc/localtime
      • hwclock --systohc --utc
      • systemctl enable dhcpdcd@eth0.service
      • pacman -S wirless_tools wpa_supplicant wpa_actiond dialog
      • nano /etc/pacman.conf | uncomment #[multilib]
      • pacman -Sy
      • useradd -m -g users -G wheel, storage, power -s /bin/bash username
      • passwd username
      • pacman -S sudo
      • EDITOR=nano visudo | uncomment #%wheel ALL=(ALL) ALL
      • pacman -S grub-bios
      • grup-install --target=1386-pc --recheck /dev/sda
      • cp /usr/share/locale/en/\@qout/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
      • grub-mkconfig -o /boot/grub/grub.cfg
      • umount /mnt/home
      • umount /mnt
      • reboot
    • First Login
      • login as root
      • passwd | set root password
      • hostnamectl set-hostname pcname
      • dhcpdcd | connect to internet
      • pacman -S alsa-utils
      • exit
      • login as user
      • alsa-mixer | rise up sound volume
      • sudo pacman -S xorg-server xorg-xinit xorg-server-utils mesa ttf-dejavu samba snbclient networkmanager networkmanager-vpnc  networkmanager-pptp networkmanager-openconnect network-manager-applet gvfs gvfs-snb sshfs
      • sudo systemctl enable NetworkManager
      • sudo pacman -S xfce4 xfce4-goodies gamin
      • cp /etc/skel/.xinitrc ~
      • nano ~/.xinitrc (uncomment the startxfce4 line)
      • startx

Comments

Popular Posts