root@archiso ~ # iw dev
root@archiso ~ # ip link set <interface> up
root@archiso ~ # wifi-menu <interface>
root@archiso ~ # fdisk -l
root@archiso ~ # mount /dev/sda1 /mnt
root@archiso ~ # mkdir /mnt/home
root@archiso ~ # mount /dev/sda3 /mnt/home
root@archiso ~ # pacstrap -i /mnt base
root@archiso ~ # genfstab -U -p /mnt >> /mnt/etc/fstab
root@archiso ~ # arch-chroot /mnt
sh 4.2# nano /etc/locale.gen
uncomment en_US.UTF-8 UTF-8
ctrl-o, ctrl-X
sh 4.2# echo LANG=en_US.UTF-8 > /etc/locale.conf
sh 4.2# export LANG=en_US.UTF-8
sh 4.2# cd /usr/share/zoneinfo
sh 4.2# pwd
sh 4.2# ls
sh 4.2# cd America
sh 4.2# ls
sh 4.2# ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
sh 4.2# hwclock --systohc --utc
sh 4.2# systemctl enable dhcpcd@eth0.service
sh 4.2# pacman -S wireless_tools wpa_supplicant wpa_actiond dialog
sh 4.2# nano /etc/pacman.conf
uncomment [multilib]
uncomment Include = /etc/pacman.d/mirrorlist
ctrl-o, ctrl-x
sh 4.2# pacman -Sy
sh 4.2# useradd -m -g users -G wheel,storage,power -s /bin/bash <user>
sh 4.2# passwd <user>
sh 4.2# pacman -S sudo
sh 4.2# EDITOR=nano visudo
uncomment %wheel ALL=(ALL) ALL
ctrl o, ctrl-x
sh 4.2# pacman -S grub-bios
sh 4.2# grub-install --target=i386-pc --recheck /dev/sda
sh 4.2# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
sh 4.2# grub-mkconfig -o /boot/grub.cfg
sh 4.2# exit
root@archiso ~ # umount /mnt/home
root@archiso ~ # umount /mnt
root@archiso ~ # reboot
root@localhost ~ # passwd
root@localhost ~ # exit
root@localhost ~ # hostnamectl set-hostname archpc
root@localhost ~ # exit
root@archpc ~ # dhcpcd
user@archpc ~ $ sudo pacman -S alsa-utils
user@archpc ~ $ alsamixer
user@archpc ~ $ sudo pacman -S xorg-server xorg-xinit xorg-server-utils mesa ttf-dejavu samba smbclient networkmanager networkmanager-vpnc networkmanager-pptp networkmanager-openconnect network-manager-applet gvfs-smb sshfs
user@archpc ~ $ lspci -k | grep -A 2 -i "VGA"
user@archpc ~ $ sudo pacman -S xf86-video-intel
user@archpc ~ $ sudo pacman -S nvidia
user@archpc ~ $ sudo systemctl enable NetworkManager
user@archpc ~ $ sudo reboot
user@archpc ~ $ sudo pacman -S gnome gnome-extra gnome-tweak-tool
user@archpc ~ $ sudo pacman -S gdm
user@archpc ~ $ sudo systemctl enable gdm
No comments:
Post a Comment